Restore the Default Settings

Restore the Windows Firewall default settings.

VBScript Code


Set objFirewall = CreateObject("HNetCfg.FwMgr")
objFirewall.RestoreDefaults()