Salut all
1er Méthode

1er Méthode
- Créer un nouveau document avec Notepad++
- Coller le script qui se trouve à la fin du post
- Enregistrer le document en nomdudocument.vbs
- Exécuter votre fichier.
Code:
Set objShell = WScript.CreateObject("WScript.Shell")
ss= objShell.RegRead ("HKEY_CURRENT_USER\Software\Skype\Phone\SkypePath")
ss= """" + s + """"
'Add Block rule
objShell.run "netsh advfirewall firewall add rule name=""SkypeBlockTCP"" dir=out action=block program=" + ss + " enable=yes protocol=any profile=any"
'Add Allow rule
objShell.run "netsh advfrewall firewall add rule name=""SkypeAllowToProxy"" dir=out action=allow program=" + ss + " enble=yes remoteip=127.0.0.1"
'Turn On firewall
objShell.run "Netsh advfirewall set allprofiles state on"