Hello, I have a program that I want to start with the Windows but it needs TI privileges to run. I tried adding the program to the startup registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run And changing the permissions of the key to system but then no program on the key would run. How do I do this? Any help will be greatly appreciated. Thannks. .
This is how I would do it Download PowerRun Create a script like this (Replace "PROGRAM.EXE" with your program) Code: @echo off WHOAMI /USER | FINDSTR "S-1-5-18" >nul || "%~dp0PowerRun_x64.exe" /SW:0 PROGRAM.EXE Put the script and PowerRun in your program's folder Create a shortcut of the script in Startup folder %AppData%\Microsoft\Windows\Start Menu\Programs\Startup or %AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\Startup
You understood exactly what was I trying to accomplish and your solution worked perfectly. Thank you freddy, your help is highly appreciated.