0
0
I made a program with a message box that writes to the registry at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and it writes this:
Value Name: Program
Value Data: C:\Users\Noah\Documents\Visual Studio 2015\Projects\Program\Program\bin\Debug\Program.exe
The program runs when I restart but it needs to run as administrator. Can I write to the registry to make it do this?