'ManageEngine Desktop Central 'Script to Uninstall Windows Update KB3035583 '============================================ on error resume next Set WshShell = WScript.CreateObject("WScript.Shell") Err.Clear checkOSArch = WshShell.RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE") returnValue = 0 if Err Then Err.Clear else if checkOSArch = "x86" Then 'Wscript.Echo "The OS Architecture is 32 bit" returnValue =WshShell.Run("%windir%\system32\wusa.exe /uninstall /kb:3035583 /quiet /norestart",0,TRUE) else 'Wscript.Echo "The OS Architecture is 64 bit" returnValue =WshShell.Run("%windir%\sysnative\wusa.exe /uninstall /kb:3035583 /quiet /norestart",0,TRUE) End IF End If Wscript.Quit returnValue