To create a new scheme (switch IP addresses) on Windows without stopping and starting Tor, you need to open a connection to the Tor control port to issue a NEWNYM signal.
Here is a batch file that will achieve this. You also need to download netcat for Windows and put nc.exe in the same folder as this batch file.
I downloaded the Tor Browser Bundle package for Windows, so you will need to put this batch file in the root folder of the browser package.
@echo off REM Read control auth cookie into variable set /p auth_cookie=<Browser\TorBrowser\Data\Tor\control_auth_cookie REM Create file with control commands echo AUTHENTICATE "%auth_cookie%"> commands.txt echo SIGNAL NEWNYM>> commands.txt echo QUIT>> commands.txt REM Connect to control port and issue commands nc localhost 9151 < commands.txt REM Delete commands file del /Q commands.txt
I tested this on Windows, and after running the batch file, my scheme changed, and each time I had a new IP address.
When you run it, you will see the following output:
C:\Users\user\Desktop\Tor Browser>control.bat 250 OK <-- in response to AUTHENTICATE 250 OK <-- in response to SIGNAL NEWNYM 250 closing connection
There is no simple single-line interface, you need to connect to the control port and issue this signal. This is what the browser does when you press the new authentication button.
Here is the directory structure for the Tor Browser package, nc and the batch file for creating a new scheme.

source share