Auto-connect Brook on Windows Startup

Updated at: 2026-09-21

Brook is a cross-platform, programmable network proxy and VPN tool.

Auto-connect Brook Windows Client on Startup

  1. First, successfully connect using the Brook Windows client once, then disconnect and exit the client.

  2. Create a Windows service; open PowerShell with administrator privileges.

    sc.exe create Brook binPath= "C:\Program Files\WindowsApps\com.txthinking.brook_2027.1.1.3_x64__65brnzw383g36\app.exe" start= delayed-auto
    
    • The service name must be Brook.
    • Replace com.txthinking.brook_2027.1.1.3_x64__65brnzw383g36 with the actual path.
    • The spaces in the command above are not typos.
  3. Start the service.

    sc.exe start Brook
    
  4. Query the service status.

    sc.exe query Brook
    

Test it by visiting https://www.txthinking.com/ip.html to see if the IP address has changed.

Restart the system and visit https://www.txthinking.com/ip.html again to check if the IP address has changed.

Note: Windows system time is often incorrect; if the time is wrong after a restart, you need to synchronize it.

Stop the Service

sc.exe stop Brook

Delete the Service

Stop the service before deleting it.

sc.exe delete Brook

Using the GUI Client Again

You must stop the service mentioned above before opening the GUI client.

If you need to switch nodes or perform other actions, you will need to use the Brook GUI client again.