February 6, 200521 yr 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: 0x80080005Facility: WindowsDescription: 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?thanksGuS
February 9, 200521 yr 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
June 8, 200521 yr 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.cmdif NOT ERRORLEVEL 1 ( if /i "%WMISUPPORT%"=="yes" (toSET ERRORLEVEL=0if NOT ERRORLEVEL 1 ( if /i "%WMISUPPORT%"=="yes" (I think it might be the same with Windows PE 2004.
Create an account or sign in to comment