BobDi Posted April 15, 2020 Posted April 15, 2020 I've been using a downloaded autoit script which examines the registry to detemine if a reboot is required. It isn't always consistent with Windows 10 popups that advise users that a reboot is pending. As many of these scripts do it checks for the usual registry values but it seems to miss out on this one: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired A value dword exists in this key: db76e394-a497-49b2-b8d2-c939064ce93d with a vlue of 1 I appreciate that this value will be different depending on what updates have inititated the reboot. How can I use autoit to determine if *any* values exist in this registry key apart from the default?
Subz Posted April 15, 2020 Posted April 15, 2020 (edited) Are you using HKLM64 for 64 bit systems (assuming your script is compiled as 32-bit) Also if you wish to check all values, you could use RegEnumVal to enumerate all values under this key. Edited April 15, 2020 by Subz
BobDi Posted April 15, 2020 Author Posted April 15, 2020 Thank you Subz for the quick pointer to RegEnumVal. That sorted it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now