That was it. Thanks. I tried to unblock them with a right-click, like the website said. I didn't see "unblock" anywhere in the menu, so I assumed it wasn't needed.
I've updated my internal documentation to include the unblock-file command in the steps for setting up new systems. Thanks again!
Jaime Kikpole
Director of Technology Ichabod Crane Central School District (518) 758-7575, x5425
On Fri, Mar 28, 2025 at 9:12 AM Beck, Zak <zak.beck@accenture.com> wrote:
Hi
No problems on Server 2022 here.
Can you try
Start -> Run -> powershell.exe
Unblock-File "c:\program files\xymon\xymonclient.ps1"
And try again?
Thanks
Zak
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
Accenture means Accenture (UK) Limited (registered number 4757301), registered in England and Wales with registered address at 30 Fenchurch Street, London EC3M 3BD.
*From:* Jaime Kikpole via Xymon <xymon@xymon.com> *Sent:* 28 March 2025 12:59 *To:* Xymon mailinglist <xymon@xymon.com> *Cc:* Jaime Kikpole <jkikpole@ichabodcrane.org> *Subject:* [External] [Xymon] Windows PowerShell client not starting
*External email. Inspect before opening any links or attachments.*
I'm setting up 4 new VMs running Windows Server 2022 Datacenter. Using the same technique that I've used to set up the PowerShell version of the Xymon client over the last few years, I copied the files into C:\Program Files\Xymon\ and then run ".\xymonclient.ps1 install" and ".\xymonclient.ps1 run". For the first time in my experience, this isn't working.
Is using the PowerShell client still recommended for monitoring Windows systems? Is it compatible with Windows Server 2022?
Here is the text I get when I try to start the service from a PowerShell window run as an administrator.
PS C:\Program Files\Xymon> .\xymonclient.ps1 start
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Program Files\Xymon\xymonclient.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
start-service : Failed to start service 'XymonPSClient (XymonPSClient)'.
At C:\Program Files\Xymon\xymonclient.ps1:4139 char:60
... $xymonsvcname).Status -ne "Running") { start-service $xymonsvcname }
~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
ServiceCommandException
- FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
PS C:\Program Files\Xymon>
Any ideas?
*Jaime Kikpole*
*Director of Technology* *Ichabod Crane Central School District* (518) 758-7575, x5425