Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Windows 7 activation

- - - - -

  • Please log in to reply
2 replies to this topic

#1
sudhi164

sudhi164

    Newbie

  • Member
  • 25 posts
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
Regards,
Sudhir


How to remove advertisement from MSFN

#2
allen2

allen2

    Not really Newbie

  • Member
  • PipPipPipPipPipPipPip
  • 1,812 posts
Does your C# self elevate before try to activate ?
If not, check this example.

#3
sudhi164

sudhi164

    Newbie

  • Member
  • 25 posts
yes, i am running in elevated privilages.
Regards,
Sudhir




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN