Pre-requisites:
- srvany.exe (from rktools)
- instsrv.exe
Copy srvany.exe and instsrv.exe from to c:\windows\system32 >> Run: CMD [as Administrator] >> “instsrv APP_NAME c:\windows\system32\srvany.exe” , press Enter >> Run: Regedit >> browse to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\APP_NAME >> Add Key “Parameters” >> Add string value “Application” = [Path_To_Application].exe (If application is not an executable, bat a batch file, set the value to “C:\Windows\system32\cmd.exe /k full_path_to_batch_file.bat” >> Create local user account >> Run: services.msc >> right-click APP_NAME service, Properties >> Log On tab, Enter local user account & password that has been created prior >> OK
Categories: