Custom Inventory Field to check reboot required from Windows Update
I have found that in the registry the following will have a value if a reboot is pending due to a Windows update:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update - RebootRequired
I created the following Custom Inventory Rule to get the value of it of it, however it does not seem to be running. I even manually added that value and it still is not taking.
This is the rule I have configured:
What is wrong with the above? And how can I fix this?