Vista Squad Home

Vista Squad


The Usergroup for Windows Vista and the .NET Framework 3.0 and 3.5.

Welcome to Vista Squad Sign in | Join | Help
in
Home Blogs Forums Photos Downloads

Comman Line Tip For Windows Firewall

Last post 07-09-2008, 3:24 by Scott Belton. 1 replies.
Sort Posts: Previous Next
  •  07-01-2008, 4:31 1358

    Comman Line Tip For Windows Firewall

    Windows Firewall tip

    When using the command line to configure application exception rules it is best for ease of administration to make sure that you name the exception, for example.

    netsh firewall set allowedprogram program=c:\windows\notepad.exe

    This command will work fine and the syntax is more than acceptable and the rule would be added but, the application will only show up as Unspecified in the Windows Firewall application fine for one instance but for many applications admin nightmare!

    To simple fix this issue

    netsh firewall set allowedprogram program=c:\windows\notepad.exe name=Notepad

    Makes things much neater.


    scottbelton@tiscali.co.uk
    Filed under: , ,
  •  07-09-2008, 3:24 1390 in reply to 1358

    Re: Comman Line Tip For Windows Firewall

    Don't forget when doing this you will need to use a command prompt with elevated permissions.

    Right click CMD and Run As Administrator

    or

    Ctrl+Shift+Enter when you launch the cmd prompt


    scottbelton@tiscali.co.uk
    Filed under:
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems Ineta
Sponsored By Dot Net Solutions Ltd