Run SHOUTcast as a Windows Service

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.

Installation:

  1. Install SHOUTcast server as normal to the C:\Program Files\SHOUTcast directory
  2. Copy instsrv.exe to your C:\WINDOWS\system32 directory
  3. Copy SRVANY.EXE to C:\Program Files\SHOUTcast 
  4. From command prompt, run this command – INSTSRV SHOUTcast "C:\Program Files\SHOUTcast\srvany.exe"
  5. Run the Registry Editor (REGEDT32.EXE)
  6. Under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SHOUTcast: create a ‘Parameters‘ key (folder)
  7. Under the this key, create a REG_SZ string value called Application and add in this data C:\Program Files\SHOUTcast\sc_serv.exe
  8. Configure the SHOUTcast .ini file C:\Program Files\SHOUTcast\sc_serv.ini
  9. 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
  10. 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.

Computers and Internet Uncategorized

2 Comments Leave a comment

  1. Thanks much for the good information.

    Modified registry key under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SHOUTcast\Parameters\Application. Added config file to load when sc_serv.exe is started.

    Example: C:\Program Files\Shoutcast\sc_serv.exe sc_serv_public.conf

    Correct config file for my server is started automatically.
    Didn’t use sc_serv.ini.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: