Click here to Skip to main content
15,905,233 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a program with admin Permission (UAC) and also done Registry entry using following Code



C#
 Registry.SetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows
\\CurrentVersion\\Run", "SyncData-TPSS", Application.ExecutablePath.ToString());



to start Program at Startup. But because of UAC it is not starting at windows Stratup. I can't remove UAC.


IF I remove UAC and access Registry values then it is throwing Exception Access Denied

Any idea to do this ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900