MSFN Forum: Problem with WMI in WinPE - null: Invalid Syntax Error - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem with WMI in WinPE - null: Invalid Syntax Error Rate Topic: -----

#1 User is offline   wright546 

  • Group: Members
  • Posts: 1
  • Joined: 17-April 07

Posted 17 April 2007 - 06:45 AM

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


#2 User is offline   Br4tt3 

  • World famous sausage eater...
  • PipPipPipPip
  • Group: Members
  • Posts: 566
  • Joined: 20-April 04

Posted 19 April 2007 - 01:39 AM

Hi!

I have actually had problem with PE and WMI, but that was on prior versions of PE, not the new vista PE. Then I fixed it by redoing the whole PE image, but that I can see that u have already done. The only thing I can think of is to run some kind of WMI tool included or downloaded that will work normally within PE. For example, there were both wbemtest.exe in previous versions of PE(xp/2003). Starting this app might just give u a clue if WMI is totally f***ed up or just some wiered thing....

good luck to you....

#3 User is offline   Jazkal 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 592
  • Joined: 16-January 04

Posted 19 April 2007 - 06:59 AM

Here is a possible thread that might help:

http://www.msfn.org/...showtopic=93468

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy