2

What i have done:

  1. Downloaded the tor expert bundle zip file
  2. extracted the zip file toC:\tor\
  3. Add the C:\tor\Tor to the Path system environment variable
  4. Added C:\tor\Tor\tor.exe to the LOCAL SERVICE group with the Full Control privileges
  5. Add C:\tor\ directroy to the SERVICE group with the Full Control privileges
  6. Created the torrc file in C:\tor\Data\Tor\torrc
  7. Created the C:\tor\Data\DataDir directory
  8. Used tor --service install -options -f C:\tor\Data\Tor\torrc to make tor service

The contents of the torrc file

DataDirectory C:\tor\Data\DatadDir
ControlPort 9051
HashedControlPassword 16:09...

What i get

PS C:\Windows\system32> tor --service install -options -f C:\tor\Data\Tor\torrc
Running on a Post-Win2K OS, so we'll assume that the LocalService account exists.
Done with CreateService.
Service installed successfully
Service failed to start : An exception occurred in the service when handling the control request.

This is what i get when trying to manually start the service.

error_1064

I tried the tor-win32 zip file from https://dist.torproject.org/torbrowser/7.5.1/ and the same error displayed again. Anyway when i run the command tor --service install the service is installed and started successfully. So i guess there is a problem with the torrc file.

  • 2
    Did you resolve the issue? – Kamil Jul 9 '18 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.