'Block SP3 Update

Dim WshShell, Msg, sInput, sDone
Set WshShell = WScript.CreateObject("WScript.Shell")

Msg = "This script will Block SP3 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?" 

sInput = MsgBox(Msg, vbYesNo + vbInformation, "Paul's XP and Vista Tweaks")
If sInput = 6 Then 

WshShell.RegWrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\DoNotAllowSP", 1, "REG_DWORD"

sDone = "SP3 Update is now Blocked!" & vbCr & vbCr _
 & "This script was downloaded from www.paulsxp.com."
MsgBox sDone, 64, "Paul's XP and Vista Tweaks"
End If
