schneigu Posted February 6, 2005 Share Posted February 6, 2005 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 Link to comment Share on other sites More sharing options...
DaGbyte Posted February 9, 2005 Share Posted February 9, 2005 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 More sharing options...
Jaque Posted June 8, 2005 Share Posted June 8, 2005 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. 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