Dear Martin,
My scenario: I use an Intel NUC that provides data collection from systems using SignalK. I use your awesome software to monitor the NUC. Since the NUC runs most of the time without me being logged on, I start HwInfo (v7.7x) using task scheduler set to trigger at startup, whether a user is logged on or not. This gets HwInfo going, but obviously not visible to a user when they log on. My solution was to launch HwInfo from within the Powershell script that does that also does the sensor data collection from Shared Memory and sends it to Influx. All is good.
When upgrading HwInfo to version 8.x, HwInfo can no longer be started. The script captures the following error.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PS>TerminatingError(Start-Process): "This command cannot be run due to the error: An error occurred trying to start process 'C:\program files\hwinfo64\HWiNFO64.exe' with working directory 'C:\program files\hwinfo64\'. This operation requires an interactive window station."
Start-Process: C:\Users\ktimm\Documents\Scripts\HwInfo.ps1:472
Line |
472 | Start-Process $hwinfo -Verb RunAs -WorkingDirectory $hwinfoWkDir
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have tried launching with both HwInfo64.exe and HwInfo64Launcher.exe. HwInfo also fails to start if launched from the task scheduler (at startup, no user logged on), the error information just isn’t as robust.
Any thoughts? I’m guessing this has something to do with the new OSD support? If so, can the new OSD capability be made optional? If it is possible, would you consider making HwInfo able to run as a service?
Grateful for your support! Thank you.
Ken
My scenario: I use an Intel NUC that provides data collection from systems using SignalK. I use your awesome software to monitor the NUC. Since the NUC runs most of the time without me being logged on, I start HwInfo (v7.7x) using task scheduler set to trigger at startup, whether a user is logged on or not. This gets HwInfo going, but obviously not visible to a user when they log on. My solution was to launch HwInfo from within the Powershell script that does that also does the sensor data collection from Shared Memory and sends it to Influx. All is good.
When upgrading HwInfo to version 8.x, HwInfo can no longer be started. The script captures the following error.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PS>TerminatingError(Start-Process): "This command cannot be run due to the error: An error occurred trying to start process 'C:\program files\hwinfo64\HWiNFO64.exe' with working directory 'C:\program files\hwinfo64\'. This operation requires an interactive window station."
Start-Process: C:\Users\ktimm\Documents\Scripts\HwInfo.ps1:472
Line |
472 | Start-Process $hwinfo -Verb RunAs -WorkingDirectory $hwinfoWkDir
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have tried launching with both HwInfo64.exe and HwInfo64Launcher.exe. HwInfo also fails to start if launched from the task scheduler (at startup, no user logged on), the error information just isn’t as robust.
Any thoughts? I’m guessing this has something to do with the new OSD support? If so, can the new OSD capability be made optional? If it is possible, would you consider making HwInfo able to run as a service?
Grateful for your support! Thank you.
Ken