Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #18111

Closed (moved)
Open
Opened Jan 20, 2016 by Trac@tracbot

Add ability to run Tor as Windows service

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>"

See http://stackoverflow.com/questions/3582108/create-windows-service-from-executable

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

VOID WINAPI ServiceMain( In DWORD dwArgc, In LPTSTR *lpszArgv );

See https://msdn.microsoft.com/en-us/library/windows/desktop/ms685138%28v=vs.85%29.aspx

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:

http://tor.stackexchange.com/questions/6496/tor-expert-bundle-on-windows-no-installation-instructions

http://tor.stackexchange.com/questions/6198/is-the-latest-tor-0-2-5-10-expert-bundle-broken/6199#6199

Trac:
Username: xvilka

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#18111