These instructions are from here
http://trac.edgewall.org/wiki/TracOnWindowsStandalone
and worked well for me
Instructions also valid for 0.11 (see #7496)
* download the Windows Server 2003 Resource Kit at Microsoft
* run "InstSrv <servicename> c:\path\to\resourcekit\SrvAny.exe",
where you insert your own service name (without angle brackets, e.g.
tracd) and the full path to the SrvAny.exe.
* open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
\<servicename> in RegEdit
* create subkey *Parameters*, below which you will create 2 string
values:
* create string value *Application* with the full path to
python.exe
* create string value *AppParameters* with the set of desired
tracd parameters, e.g. "c:\Python25\Scripts\tracd-script.py --port
8080 c:\path\to\trac" (without the quotes)
* open the Services tool (somewhere in the administrative tools in
the Windows control panel) and start your service
(tested with trac 0.11.2 on Windows XP)
You can also use FireDaemon lite. No need to open the registry,
FireDaemon? GUI allows you to add parameters to your service command
line. (tested with trac 0.11.2 on Windows Vista)