kRUSty Posted November 25, 2005 Share Posted November 25, 2005 Hello.I've to create WinPE sources with WMI support. It were very easy to do it with makeimg.But the task is to add WMI to an allready created image.How can I do that?I've allready created the directory \i386\system32\WBEM\ and its subdirectories with all files.But it don't works. I think I've to add some registry information to activate WMI.Know someone more?Thanks in forward.kRUSty Link to comment Share on other sites More sharing options...
Br4tt3 Posted November 28, 2005 Share Posted November 28, 2005 lo there krusty tha clown.. mkimg.cmd would rebuild ur image directory (where u store ur image folders & files) prior to the building of an .iso file. I would recommed u to do the following:1. Rebuild the PE image using mkimg.cmd with tha options u want2. Rebuild the optional components into a seperate dir3. Merge the files and folders of the two above mentioned steps, replacing already existing files.. YES!4. Add any of ur own custom settings / scripts / customizations...5. Build an .iso of ur WinPE build and check it in a Virtual Machine...Simply put, do the work from scratch..Best RegardsTha Sausage Eater Link to comment Share on other sites More sharing options...
ChrisBaksa Posted November 28, 2005 Share Posted November 28, 2005 From the Docs...Adding WMI Support to Windows PEYou can add support for Windows Management Instrumentation (WMI) to Windows PE. By using the /WMI option with the mkimg command, you can build a Windows PE image that contains the WMI classes and providers installed by the Wbemoc.inf. With these classes and providers, you can create automated diagnostic procedures to use in the deployment of Windows to new hardware.To use Windows Script Host (WSH) scripts with WMI scripting interfaces, add WSH support to your Windows PE image by running the BuildOptionalComponents.vbs script with the /WSH option. For details, see Adding Scripting Support to Windows PE.For information about using WMI, search http://msdn.microsoft.com for WMI.To add WMI support to Windows PEUse the mkimg command with the /wmi option to create your Windows PE image. For example: Mkimg.cmd source_directory winpe_image [image_name] [/WMI] Link to comment Share on other sites More sharing options...
gadget Posted November 28, 2005 Share Posted November 28, 2005 Does the Wbemoc.inf file represent what wmi classes are in pe as wmi in pe is rather basic. If I can increase wmi funtionality it would make my life much easier... 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