Windows 11 agent service will not start #831
Replies: 3 comments 1 reply
-
|
The agent reads configuration from both environment variables and command-line flags. When running as a Windows service, the service manager passes command-line arguments via the BinaryPathName. To debug why the service won't start:
sc.exe qc PulseAgentLook at the BINARY_PATH_NAME - it should include
sc.exe stop PulseAgent 2>$null
& "C:\path\to\pulse-agent.exe" --url "http://..." --token "..." --enable-hostIf this works from command line but the service doesn't, the issue is likely the service configuration.
(Get-Service PulseAgent).BinaryPathNameIf you ran the install script, which install method did you use? Running from PowerShell directly or piping from web ( |
Beta Was this translation helpful? Give feedback.
-
|
Follow-up: v5 (release candidate 5.0.0-rc.1) has a unified # Download from releases
Invoke-WebRequest -Uri https://github.com/rcourtman/Pulse/releases/download/v5.0.0-rc.1/pulse-agent-windows-amd64.exe -OutFile pulse-agent.exe |
Beta Was this translation helpful? Give feedback.
-
|
The agent version mismatch (v4.33.1 vs v4.36.2) is not an issue - the agent you download is determined by what is bundled with your Pulse release. When you installed Pulse, it included v4.33.1 as the agent binary. The agent has auto-update built in, which you can see in the logs: The actual issue is the service failing to start. Looking at your logs:
Try this:
sc.exe delete PulseAgent
sc.exe create PulseAgent binPath="\"C:\Program Files\Pulse\pulse-agent.exe\" service --url http://X.X.X.X:7655 --token YOUR_TOKEN --enable-host" start=auto
sc.exe start PulseAgent
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot get the Pulse agent service to start on a Windows 11 desktop. I've only seen one other post that discusses this but it did not solve my issue. I'm including the installation output and checks below:
The service runs just fine and reports back to the server with no issues when I run it from the command prompt.
Is there something I'm missing? It looks like it should start just fine. I've also created a schedule task to test running this as SYSTEM, which also works just fine.
Beta Was this translation helpful? Give feedback.
All reactions