# Striim 3.10.1 documentation

##### Running the Forwarding Agent as a service in Windows

This requires Windows PowerShell 5.0 or later.

1. Follow the instructions in Running the Forwarding Agent as a process, but do not start the agent.

2. Start Windows PowerShell as administrator and run the script Agent\conf\windowsAgent\setupWindowsAgent.ps1. Note that if you are in the windowsAgent directory, to run the script you must include the path: .\setupWindowsAgent.ps1.

The message Error in OpenSCManager is of no concern if the script completes successfully.

3. Start the Striim Agent service manually, or reboot to verify that it starts automatically.

To uninstall the service, stop it, then run this batch file:

Agent/conf/windowsAgent/yajsw_agent/bat/uninstallService.bat