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!
Add comment