hey I'm trying to launch an app on the startup I have always done it just fine by using this code :
RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
if (rkApp.GetValue("Folder Locker") == null)
{
rkApp.SetValue("Folder Locker", Application.ExecutablePath.ToString());
}
But now when I do this:
requestedExecutionLevel level="requireAdministrator" uiAccess="false"
to start as administrator the app doesn't start on the start up I need help I hope it would be a small problem and not a big deal.