Submitted By: Tommy Maynard Tommy Maynard

Disables Passive FTP in Internet Explorer.

Visual Basic
Edit|Remove
Const HKEY_CURRENT_USER = &H80000001

strComputer = "."

Set objRegistry=GetObject("winmgmts:\\" & _ 
    strComputer & "\root\default:StdRegProv")

strKeyPath = "Software\Microsoft\Ftp"
strValueName = "Use PASV"
strValue = "no"
objRegistry.SetStringValue HKEY_CURRENT_USER,strKeyPath, _
    strValueName,strValue