Problem with WMI in WinPE - null: Invalid Syntax Error

Posted: 04-16-2007, 10:03 PM
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

Reply With Quote

Responses to "Problem with WMI in WinPE - null: Invalid Syntax Error"

Aaron Wright
Guest
Posts: n/a
 
Re: Problem with WMI in WinPE - null: Invalid Syntax Error
Posted: 04-17-2007, 08:34 PM
Bump

Reply With Quote
Rock
Guest
Posts: n/a
 
Re: Problem with WMI in WinPE - null: Invalid Syntax Error
Posted: 04-18-2007, 07:09 AM
"Aaron Wright" <wright546@gmail.com> wrote
> Bump
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).

--
Rock [MS-MVP User/Shell]

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid Syntax Error in Users and Groups MMC Porfus Windows XP Embedded 2 01-23-2008 12:23 AM
"Invalid use of Null" error when parsing WMI. NightBreakA Windows XP WMI 0 02-10-2006 06:07 PM
Invalid Syntax Error Tootie Windows XP Accessibility 1 02-17-2004 09:42 PM
Invalid Syntax Error Grt Windows XP Performance & Maintenance 0 02-10-2004 06:56 AM
"invalid syntax error" in IE 6 alfred tan Windows XP New Users 1 09-06-2003 10:21 AM