Opened 5 years ago

Last modified 2 years ago

#18111 new enhancement

Add ability to run Tor as Windows service

Reported by: xvilka Owned by: erinn
Priority: Medium Milestone:
Component: Applications/Tor Browser Version: Tor: unspecified
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Now, when Vidalia is not available anymore, what do you think about including simple *.bat file, that add Tor.exe as Windows service to autostart?

command inside this bat file should be

sc.exe create <new_service_name> binPath= "<path_to_the_service_executable>"


But this will require to build Tor.exe with special main function:

VOID WINAPI ServiceMain(

_In_ DWORD dwArgc,
_In_ LPTSTR *lpszArgv



Or it could be a simplest wrapper running Tor.exe

So people wouldn't need to run it every time from console. After running this script Tor will be added as a service and will be started automatically on reboot.

This bug inspired by personal experience, after killing Vidalia and a questions in the internet:

Child Tickets

Change History (1)

comment:1 Changed 2 years ago by gk

Component: Applications/Tor bundles/installationApplications/Tor Browser

Moving to Tor Browser.

Note: See TracTickets for help on using tickets.