From ea81a817db7731437888c517809db75cf1e6fbd5 Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Thu, 17 Oct 2024 16:39:24 +1000 Subject: [PATCH] Fix windows build number in audit_windows.vbs. --- other/audit_windows.vbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/audit_windows.vbs b/other/audit_windows.vbs index 82ca82a61..33a152ca0 100755 --- a/other/audit_windows.vbs +++ b/other/audit_windows.vbs @@ -1518,7 +1518,7 @@ for each objItem in colItems windows_time_daylight = objItem.DaylightName next -oreg.getstringvalue hkey_local_machine, "Software\Microsoft\Windows NT\CurrentVersion", "UBR", build_number +oReg.GetDWORDValue hkey_local_machine, "Software\Microsoft\Windows NT\CurrentVersion", "UBR", build_number build_number = windows_build_number & "." & build_number result.WriteText " " & vbcrlf