HKLM Registry Query (Integer)
Use the HKLM registry query AMP to query a specific key in registry. This service queries the registry key under the registry path specified in service parameters and convert the result to an integer which can be monitored. This service is supported only on HKEY_LOCAL_MACHINE, although other registry hives might work.
Example:
Registry Key: DbgJITDebugLaunchSetting
Registry Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
Output: Integer value
For more information, refer to www.microsoft.com.
Manufacturer Information
Service Type |
AMP |
Powershell cmdlet |
Get-ItemProperty-Path |
Supported Systems/Application |
Windows Workstation Windows Server |
MSP N-central Information
Known Limitations |
Only Windows |
Max. Instances Per Device |
100 |
Supported Device Class |
Workstation - Windows Laptop - Windows |
Notification Profile |
N/A |
Monitored By |
Local Agent |
Troubleshooting
Issue |
Recommendation |
Misconfigured | Check if Powershell 2.0 is installed and the registry key is available. |
CBS Reboot Pending Failed status |
CBS returns true if a new windows component has been added or removed. This key is useful to check if windows has been altered. |
Windows Update Reboot Required Failed status |
This status is failed when a Windows update was installed or moved and requires a reboot. |
File Rename Pending (Reboot) Failed status | The Pending File rename operation is modified when a new application is installed or updated. This key might or might not indicate that a reboot is required, however it indicates changes on the file system due to application or Windows changes. |
Metrics 1
WMI Class
|
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing |
Registery Property | Supported Values | Calculations/ Threshold Mapping |
Default Thresholds |
CBS Reboot Pending | True False |
N/A | Normal – If not true
Failed – If true |
Metrics 2
WMI Class
|
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired |
Registery Property | Supported Values | Calculations/ Threshold Mapping |
Default Thresholds |
Windows Update Reboot Required | True False |
N/A | Normal – If not true
Failed – If true |
Metrics 3
WMI Class
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" -Name PendingFileRenameOperations |
Registery Property | Supported Values | Calculations/ Threshold Mapping |
Default Thresholds |
File Rename Pending | True False |
N/A | Normal – If not true
Failed – If true |
Pending File Rename Operations | N/A | N/A | Off |