You can run SHOUTcast as a Windows Service, so that you can log off on your server and still run SHOUTcast. This is done with a utility called SRVANY.EXE. This utility runs as it’s own service and when it starts it starts SHOUTcast with it. Pretty simple stuff really, so here goes.
- Install SHOUTcast server as normal to the C:\Program Files\SHOUTcast directory
- Copy instsrv.exe to your C:\WINDOWS\system32 directory
- Copy SRVANY.EXE to C:\Program Files\SHOUTcast
- From command prompt, run this command – INSTSRV SHOUTcast “C:\Program Files\SHOUTcast\srvany.exe”
- Run the Registry Editor (REGEDT32.EXE)
- Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SHOUTcast: create a ‘Parameters‘ key (folder)
- Under the this key, create a REG_SZ string value called Application and add in this data C:\Program Files\SHOUTcast\sc_serv.exe
- Configure the SHOUTcast .ini file C:\Program Files\SHOUTcast\sc_serv.ini
- Close Regedit, then open the services console in administrative tools, or start, run, services.msc, confirm it is set to start Automatically and the logon account is LocalSystem. Then click the Allow Service to Interact with Desktop
- Start the service, check in Task Manager, you will see sc_serv.exe in there, and if you stop the service then sc_serv.exe will disappear.
Update April, 2020 – Or you can just run the below PowerShell script:
An example sc_serv.conf file?