Jump to content

WinPE2005 with WMI support


kRUSty

Recommended Posts

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


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 want

2. Rebuild the optional components into a seperate dir

3. 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 Regards

Tha Sausage Eater

Link to comment
Share on other sites

From the Docs...

Adding WMI Support to Windows PE

You 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 PE

Use 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...