Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # IT:AD:InstallUtil # <callout type="Navigation" class="small"> * [[../|(UP)]] {{indexmenu>.#2|nsort tsort}} </callout> ## Process ## #### Install a Windows Service Process #### installutil yourproject.exe Note that with a little work, one can pass arguments to the Service installer, as we do with the [[IT/#XActLib/]]'s InstallerBase InstallUtil.exe MyService.exe /AccountType=User /UserName=CORP\SomeOne /Password=Passw0rd1 /StartupType=Automatic #### Uninstall a Windows service Process #### installutil /u yourproject.exe If you have no *.exe, but the service is still listed (possibly a hung/failed install process), then sc delete [servicename] If you get an `OpenService FAILED 5:` error: Try one of the following two options: 1) Use the command Net Stop "service name" to stop the service. 2) Type 'regedit' in start->run and then delete the appropriate key in the registry under HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services. ## Reference ## * [http://msdn.microsoft.com/en-us/library/sd8zc8ha(v=vs.80).aspx](http://msdn.microsoft.com/en-us/library/sd8zc8ha(v=vs.80).aspx) /home/skysigal/public_html/data/pages/it/ad/installutil/home.txt Last modified: 2023/11/04 03:25by 127.0.0.1