Problem with WMI in WinPE - null: Invalid Syntax Error

  • Thread starter Thread starter Aaron Wright
  • Start date Start date
A

Aaron Wright

I have a test network set up with WDS installed on Windows 2003
server. PXE booting works fine, and I can map network drives without
a problem. The problem I'm having is with a custom VBS script. I
created the WinPE boot image per the instructions in the "Create a
Custom Windows PE Image" section of the WAIK help file. I did add the
WinPE-Scripting-Package, and cscript.exe is there and works. The
problem I have is with this line in any VBS script:

Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")

I get this error: "(null): Invalid syntax" I actually put just that
single line into a vbs file by itself and tried to run it, and got the
same error.

This is particularly frustrating because it was working up until a
couple of days ago, but I have no idea what I may have changed to
break it. I've tried restarting the server and the client computer.
I've re-made the WinPE boot image several times. I'm stuck. What
could be causing the "null: Invalid syntax" error?

Thank you for your time!
Aaron
 
Aaron Wright said:

Sorry Aaron, I don't have a resolution for you. Just FYI bump doesn't do
anything on a Usenet newsgroup (which is what this is).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

WINPE Language packs 3
Winpe 2.0, hta & wmi 2
dual booting windows xp and winpe off same hard disk. 1
WinPE 2.0 with Dell GX620 1
WinPE, RIS and WMI 4
WINPE RIPREPed Image 1
WinPE 2005 & PXE 10
Force PXE next boot 2

Back
Top