Jump to content

Recommended Posts

Posted

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?

 

 

Posted (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 by Subz

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...