REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\shell_test] "DisplayName"="shell for testing (Cygwin)" "ObjectName"="LocalSystem" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\shell_test\Parameters] "Application"="f:\cygwin\bin\bash.exe" ; The Idea of this service is to start a shell with the same rights as a daemon would ; have. This allows us to start daemons manually, and do more testing, check debug ; output, etc. ; Install the service via: ; instsrv shell_test %windir%\System32\srvany.exe