Jump to content

WMI couln't be started


schneigu

Recommended Posts

Hi all,

I have problems using WMI on WinPE 2004. I have added WMI support with the /WMI switch.

- In WinPE, If I try the wbemtest.exe and try to connect to the root/default namespace I'm getting an error:

"Number: 0x80080005

Facility: Windows

Description: Server execution failed"

- The same is if I try to start the winmgmt service with "net start winmgmt". I'm getting "the service could not be started"

- The VBS example from the WinPE help file is also not listen any objects etc.

Question:

- did anybody have similar problems?

- Is anybody using WMI without problems, if yes, did he something special?

- Any idea?

thanks

GuS

Link to comment
Share on other sites


Did you add the optional components and run the batch file it creates? Read the docs, but just supplying the /wmi param is not enough. When you launch the VBS script, it creates files that need to be copied to your installation. PM me if you need further clarification.

-DaG

Link to comment
Share on other sites

  • 3 months later...

Hi, I just did some testing with Windows PE 2005 and I had the same problem when using the /WMI and /PNP parameter. When I only used the /WMI parameter everything went OK. On my system one file call amdk8.sys could not be copied during the call of oemmint.exe in the file mkimg.cmd resulting in an ERRORLEVEL 1. Because of this ERRORLEVEL 1 the part "Copy the WMI repository" was skipped. This made WMI fail!!!

I now changed the lines below in the file mkimg.cmd

if NOT ERRORLEVEL 1 (

if /i "%WMISUPPORT%"=="yes" (

to

SET ERRORLEVEL=0

if NOT ERRORLEVEL 1 (

if /i "%WMISUPPORT%"=="yes" (

I think it might be the same with Windows PE 2004.

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