'Fix for USB
On Error Resume Next

Dim WshShell, sMsg, sInput, sDone
sMsg = "This script should Fix the USB Problem." & 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(sMsg, vbYesNo + vbInformation, "Paul's XP and Vista Tweaks")
If sInput = vbYes Then 

Set WshShell = WScript.CreateObject("WScript.Shell")

WshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\USB\DisableSelectiveSuspend", 1, "REG_DWORD"

sDone = "USB should be fixed, Try the USB now." & vbCr & vbCr _
 & "This script was downloaded from www.paulsxp.com." & vbCr & vbCr
MsgBox sDone, 64, "Paul's XP and Vista Tweaks"
End If

