'Block SP1 Update Dim WshShell, ObjShell, Message Set WshShell = WScript.CreateObject("WScript.Shell") If WScript.Arguments.length = 0 Then Set ObjShell = CreateObject("Shell.Application") ObjShell.ShellExecute "wscript.exe", """" & _ WScript.ScriptFullName & """" &_ " RunAsAdministrator", , "runas", 1 Else Message = "This script will Block SP1 Update." & vbCr & vbCr _ & "Adding information can unintentionally change or delete values and cause components to stop working correctly." _ & " If you do not trust the source of this information, do not add it to the registry." & vbCr & vbCr _ & "Would you like to continue?" M = MsgBox(Message, vbYesNo + vbInformation, "WinTricks.it Tweaks") If M = 6 Then WshShell.RegWrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\DoNotAllowSP", 1, "REG_DWORD" Message = "SP1 Update is now BLOCKED!." & vbCr & vbCr _ & "This script was downloaded from www.wintricks.it." MsgBox Message, 64, "WinTricks.it Vista Tweaks" End If End If