brenix Posted November 23, 2009 Share Posted November 23, 2009 Hey there,I frequently run a re-install of WMI through the C:\windows\inf\wbemoc.inf file for various computers.Each time I re-install, Windows prompts for the installation disk.Is there anyway to modify this inf file so it can point to a source directory, for example C:\i386??I've searched everywhere and have also tried modifying the inf, but still can't find a solution.. Anyone? Link to comment Share on other sites More sharing options...
MrJinje Posted November 23, 2009 Share Posted November 23, 2009 (edited) Assuming the files are at C:\I386, the syntax is to place the SourcePath to "C:\". It will then find the I386 directory. Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]"SourcePath"="C:\\"We use a Group Policy to push the I386 from our network, but if that doesn't work for you, you'll have to copy I386 to each machine.I used to have a snip that allowed me to script a INF installation via some dll hook or other convoluted process. If I find it I will post back, that script combined with PSTools or similar, would allow you to re-install all machines from a single batch file. Edited November 23, 2009 by MrJinje Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now