Disable:
netsh firewall set opmode disable
Enable:
netsh firewall set opmode enable
Showing posts with label Network. Show all posts
Showing posts with label Network. Show all posts
Monday, December 22, 2008
Saturday, December 20, 2008
Show Network Icon When Connected
---open Notepad > type & save the below lines with a filename xxx.vbs & run it----
On Error Resume Next
set ws = WScript.CreateObject("WScript.Shell")
start = "HKLM\SYSTEM\CurrentControlSet"
classGUID = ws.RegRead(start & "\Enum\Root\MS_NDISWANIP\0000\ClassGUID")
netID = ws.RegRead(start & "\Control\Class\" & classGUID & "\0000\NetCfgInstanceID")
ws.RegWrite start & "\Control\Network\" & classGUID & "\" & netID & "\Connection\ShowIcon", 1, "REG_DWORD"
MsgBox "Show icon in Notification Area when connected is set.", 4096,"Finished"
On Error Resume Next
set ws = WScript.CreateObject("WScript.Shell")
start = "HKLM\SYSTEM\CurrentControlSet"
classGUID = ws.RegRead(start & "\Enum\Root\MS_NDISWANIP\0000\ClassGUID")
netID = ws.RegRead(start & "\Control\Class\" & classGUID & "\0000\NetCfgInstanceID")
ws.RegWrite start & "\Control\Network\" & classGUID & "\" & netID & "\Connection\ShowIcon", 1, "REG_DWORD"
MsgBox "Show icon in Notification Area when connected is set.", 4096,"Finished"
Labels:
Internet-IE-Firefox,
Network,
Scripts,
XP General Tips
Subscribe to:
Posts (Atom)