MSFN Forum: VBScript XP activation error: - MSFN Forum

Jump to content



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

VBScript XP activation error: SET ME = CONFOUNDED Rate Topic: -----

#1 User is offline   moktar 

  • Group: Members
  • Posts: 4
  • Joined: 17-February 07

Posted 01 May 2008 - 04:09 PM

for each Obj in GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2").InstancesOf ("win32_WindowsProductActivation")
if Obj.ActivationRequired <> 0 then Obj.ActivateOnline()
next


I'm pretty darn sure it's not the script. I've tried multiple variations, installed Windows Scripting Host 5.6, checked my namespace, SetProxy, fully updated SP2 copy of WinXP, etc, etc, and yet every time I try to call the ActivateOnline method, I get:

SWbemObjectEx: Invalid operation
Code: 80041016

The machine I'm working on right now is already activated, but I've tried this many times on the systems that I haven't activated yet. I've seen a handful of people with this problem but zero fixes.

Can anybody help me?

EDIT:


Nevermind. The system I was testing against wouldn't go cleanly through online activation, I got annoyed with the script and did it manually and had to call in.

ARGH.

This post has been edited by moktar: 01 May 2008 - 04:19 PM



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