OneCoolCoder
New member
- Joined
- Nov 7, 2010
- Messages
- 2
- Programming Experience
- 5-10
Hello all,
I have one program that I need to include in the HKLM\Software\Microsoft\Windows\CurrentVersion\Run in order for it to run at startup. I tested it in Windows XP and works fine, and some boxes of Windows Vista and Windows 7 as well. But When I test it in Windows 7 Starter or Home Premium, the program pops up an error Message stating that because of the .net security policy I can't write to the registry.
How can I automate the processs of lowering .net security policy or applying the registry key addition as the Administrator (using Windows UAC or something like that)?
I have one program that I need to include in the HKLM\Software\Microsoft\Windows\CurrentVersion\Run in order for it to run at startup. I tested it in Windows XP and works fine, and some boxes of Windows Vista and Windows 7 as well. But When I test it in Windows 7 Starter or Home Premium, the program pops up an error Message stating that because of the .net security policy I can't write to the registry.
How can I automate the processs of lowering .net security policy or applying the registry key addition as the Administrator (using Windows UAC or something like that)?