My experience of using tor on a windows machine is not good (see this). I have successfully used tor as a relay on my Linux virtual machine (just to test how it works) and it worked fine. So, I know how to edit the torrc file to set up a relay.
I recently tried to set up the relay on my host windows machine. So, I added the following lines to my torrc file.
ORPort 3195 Exitpolicy reject *:* Nickname testrelay3195 ContactInfo firstname.lastname@example.org
But, I am getting an error pop-up. There is also no(0) entry in the log file to debug the problem.
Tor exited during startup. This might be due to an error in your torrc file, a bug in Tor or another program on your system, or faulty hardware. Until you fix the underlying problem and restart Tor, Tor Browser will not start.
If I remove the lines, Tor starts normally.
Any idea, what is going on?