SUPINFO International University

SUPINFO Institute of Information Technology
Laboratoire Microsoft




Ouvre un port fermé pour le firewall d'XP SP2

Accueil > Script > maintenance > Ouvre un port fermé pour le firewall d'XP SP2

Ouvre un port fermé pour le firewall d'XP SP2

Par Nicolas MILBRAND, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 08/03/2005 vers 19h.

Description :
Ce script VBS ouvre le port 9999 qui était fermé dans le firewall d'XP SP2.

Script :

Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
Set colPorts = objPolicy.GloballyOpenPorts

Set objPort = colPorts.Item(9999,6)
objPort.Enabled = TRUE



Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
1

Visites :
9557

1
2
3
4
5




Retrouvez ci-dessous les autres sections du Laboratoire Microsoft