MSFN Forum: Windows 7 activation - MSFN Forum

Jump to content


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

Windows 7 activation Rate Topic: -----

#1 User is offline   sudhi164 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 18-March 09

Posted 03 September 2012 - 12:06 AM

Hi,

I am trying to write an utility in C# for activation windows 7 OS. when i send the commands through this utility to activate the OS, i get the return value as 5 (access denied). Please let me knwo how to activate the OS through Utility.


Regards,

Sudhir


#2 User is offline   allen2 

  • Not really Newbie
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,737
  • Joined: 13-January 06

Posted 03 September 2012 - 12:44 AM

Does your C# self elevate before try to activate ?
If not, check this example.

#3 User is offline   sudhi164 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 18-March 09

Posted 03 September 2012 - 03:31 AM

yes, i am running in elevated privilages.

Share this topic:


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

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



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