'Fix for USB

Dim WshShell, sMsg, sInput, sDone

Set WshShell = WScript.CreateObject("WScript.Shell")

sMsg = "This script should Fix the USB Problem." & vbCr & vbCr _
 & "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, Vista and Windows 7 Tweaks")
If sInput = vbYes Then 

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, Vista and Windows 7 Tweaks"
End If


