What i have done:
- Downloaded the tor expert bundle zip file
- extracted the zip file to
C:\tor\
- Add the
C:\tor\Tor
to thePath
system environment variable - Added
C:\tor\Tor\tor.exe
to theLOCAL SERVICE
group with theFull Control
privileges - Add
C:\tor\
directroy to theSERVICE
group with theFull Control
privileges - Created the
torrc
file inC:\tor\Data\Tor\torrc
- Created the
C:\tor\Data\DataDir
directory - 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.
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.
torrc
file, please - without passwords, cookies e.t.c... It's impossible to guess it all by the data you provided