How to turn off UAC using c#?
-
I want to turn off vista UAC(User Account Control) using c#. How can i do that? Thanks a lot.
-
I want to turn off vista UAC(User Account Control) using c#. How can i do that? Thanks a lot.
You probably shouldn't, but, all the UAC stuff is saved in the registry. You can alter those keys (you'll need to invoke UAC via app.mainifest first to be able to access them) from C#. Google for Registry UAC Vista and you should be able to find out which keys they are.
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) -
I want to turn off vista UAC(User Account Control) using c#. How can i do that? Thanks a lot.
Not sure if from a security standpoint that this is a good idea. Any reason why you must do this?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham