sudhi164 Posted September 3, 2012 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
allen2 Posted September 3, 2012 Posted September 3, 2012 Does your C# self elevate before try to activate ?If not, check this example.
sudhi164 Posted September 3, 2012 Author Posted September 3, 2012 yes, i am running in elevated privilages.
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