Hi! I've run into an issue with the Windows Update Sensor on Windows Server 2022. I get the following error in PRTG: Couldn't retrieve OS information. Resultset was empty. I've setup this server last week and never got the sensor working. When i look at the sensor logs i get following output:
Running script: Get-CimInstance Win32_OperatingSystem | Select-Object Caption, InstallDate 2023-01-16 03:12:28,060 [DEBUG] - GetOSDetails Exception: Couldn't retrieve OS information. Resultset was empty. 2023-01-16 03:12:28,060 [DEBUG] - GetOSDetails ExceptionTrace: at LastWindowsUpdateSensor.Program.GetOSDetails(Runspace runspace) 2023-01-16 03:12:28,060 [DEBUG] - Exception Message: Couldn't retrieve OS information. Resultset was empty. 2023-01-16 03:12:28,060 [DEBUG] - Exception Stack: at LastWindowsUpdateSensor.Program.GetOSDetails(Runspace runspace) at LastWindowsUpdateSensor.Program.Main(String[] args) But when I run "Get-CimInstance Win32_OperatingSystem | Select-Object Caption, InstallDate" on the target machine, I get the following output: Caption InstallDate ------- ----------- Microsoft Windows Server 2022 Datacenter 13.01.2023 22:25:23
Can anyone help?
Thanks!
Article Comments
Hi No, both devices are in a workgroup. I've created a custom admin user on the target device with permission to Remote into a PowerShell Session.
Jan, 2023 - Permalink
Did you enable the option "Negotiate authentication" in the sensor settings?
You will also need to make some configurations on the probe and target device, more details about this can be found in Point 2.2 of the following article: https://helpdesk.paessler.com/en/support/solutions/articles/76000042368-facing-issues-with-the-windows-updates-status-powershell-sensor-can-you-help-me
Kind regards,
Sasa Ignjatovic, Tech Support Team
Jan, 2023 - Permalink
Yes, i did that and as far as I can see, the login works fine. It's jutst that it can't read out the OS Information.
Jan, 2023 - Permalink
I would suggest that you open a support ticket regarding this issue.
Kind regards,
Sasa Ignjatovic, Tech Support Team
Jan, 2023 - Permalink
Hello,
Are the Probe, running the sensor, and the target device in the same domain?
Do you use a domain admin for the credentials?
Kind regards,
Sasa Ignjatovic, Tech Support Team
Jan, 2023 - Permalink