sudhi164 Posted September 3, 2012 Share Posted September 3, 2012 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 Link to comment Share on other sites More sharing options...
allen2 Posted September 3, 2012 Share Posted September 3, 2012 Does your C# self elevate before try to activate ?If not, check this example. Link to comment Share on other sites More sharing options...
sudhi164 Posted September 3, 2012 Author Share Posted September 3, 2012 yes, i am running in elevated privilages. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now