<@U02S4G3PDD1> ```SELECT COUNT(*) AS passed FROM...
# windows
h
@Avik Sengupta
Copy code
SELECT
  COUNT(*) AS passed
FROM
  registry
WHERE
  key = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU'
  AND name = 'NoAutoUpdate'
  AND data = '0';
a
So with this query, '0' is good?
h
The query is checking that autouodate isn't disabled
It should return a 1 if auto update is enabled
a
OK. It's returning 0 on my machine, where updates are enabled, afaics
I'll investigate.