QuasselCore As A Service (Windows)

Instructions for settting up Quasel as a service can be found here:

Note that since the core is running on a different user, your configuration folder will be at C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\

If you already have a configuration setup that you want to migrate, copy the contents of %APPDATA%\\ (aka C:\Users\<Username>\AppData\Roaming\\) to the NetworkService's configuration folder.

Windows 7

There were a few changes needed to setup the service in step 3. Specifically, the argument bin in sc create changed to binPath, and required the .exe tacked onto the end.

sc create QuasselCore binPath= "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" DisplayName= "QuasselCore" obj= "NT AUTHORITY\NETWORK SERVICE" 
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters
reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v Application /t REG_SZ /d "C:\Program Files (x86)\Quassel\quasselcore.exe" 

Adding Parameters onto QuasselCore.exe

Say you wanted to run the service on a different port like: quasselcore.exe -p 4241. We need to add another registry value according to the srvany readme.

reg add HKLM\SYSTEM\CurrentControlSet\Services\QuasselCore\Parameters /v AppParameters /t REG_SZ /d "-p 4241" 

Have The Service Run Automatically

Run services.exe. Find the QuasselCore. Right click it and click properties. Then set the Startup Type to Automatic.

Where is the QuasselCore Database/ConfigDir now located?

The config directory for the QuasselCore when run under the Network Service user account will be located at: