NETSH - Windows Vista / 2008

netsh » advfirewall » set » publicprofile

Microsoft Windows [Version 6.0.6001]
(C) Copyright 2006 Microsoft Corp.
c:\windows>netsh advfirewall set publicprofile ?

Usage:  set publicprofile (parameter) (value)


     state             - Configure the firewall state.
             Usage: state on|off|notconfigured

     firewallpolicy    - Configures default inbound and outbound behavior.
     Usage: firewallpolicy (inbound behavior),(outbound behavior)
        Inbound behavior:
           blockinbound        - Block inbound connections that do not
                                 match an inbound rule.
           blockinboundalways  - Block all inbound connections even if
                                 the connection matches a rule.
           allowinbound        - Allow inbound connections that do
                                 not match a rule.
           notconfigured       - Return the value to its unconfigured state.
        Outbound behavior:
           allowoutbound       - Allow outbound connections that do not
                                 match a rule.
           blockoutbound       - Block outbound connections that do not
                                 match a rule.
           notconfigured       - Return the value to its unconfigured state.

     settings          - Configures firewall settings.
     Usage: settings (parameter) enable|disable|notconfigured
        localfirewallrules         - Merge local firewall rules with Group
                                     Policy rules. Valid when configuring
                                     a Group Policy store.
        localconsecrules           - Merge local connection security rules
                                     with Group Policy rules. Valid when
                                     configuring a Group Policy store.
        inboundusernotification    - Notify user when a program listens
                                     for inbound connections.
        remotemanagement           - Allow remote management of Windows
        unicastresponsetomulticast - Control stateful unicast response to

     logging           - Configures logging settings.
     Usage: logging (parameter) (value)
        allowedconnections  - Log allowed connections.
                              Values: enable|disable|notconfigured
        droppedconnections  - Log dropped connections.
                              Values: enable|disable|notconfigured
        filename            - Name and location of the firewall log.
                              Values: |notconfigured
        maxfilesize         - Maximum log file size in kilobytes.
                              Values: 1 - 32767|notconfigured


     - Configures public profile settings.
     - The "notconfigured" value is valid only for a Group Policy store.


     Turn the firewall off when the public profile is active:
     netsh advfirewall set publicprofile state off

     Set the default behavior to block inbound and allow outbound
     connections when the public profile is active:
     netsh advfirewall set publicprofile firewallpolicy

     Turn on remote management when the public profile is active:
     netsh advfirewall set publicprofile settings remotemanagement enable

     Log dropped connections when the public profile is active:
     netsh advfirewall set publicprofile logging droppedconnections enable


netsh advfirewall set publicprofile - Windows Vista - command Sets properties in the public profile. - Windows Vista
netsh, advfirewall, set, publicprofile, cmd, command, Windows, Vista
Quick - Link:
netsh interface tcp delete: Deletes a configuration entry from a table.
netsh advfirewall consec add: Adds a new connection security rule.
netsh nap client export: Exports configuration settings.
netsh http show cachestate: Lists cached URI resources and their associated properties.
netsh p2p pnrp peer add: Adds entries.
netsh interface ipv6 isatap: Changes to the `netsh interface ipv6 isatap' context.


... Home  
... Impressum
... ColorConsole

... CMD
... Netsh-XP
... Netsh-7
... Netsh-Vista
... Powershell


Download the Windows 10 Starter, Home (Basic Premium), Professional und Ultimate!

Windows-7 Programme an die Taskleiste heften?  / Hilfe Windows-10 hat keine Fax und Scan Funktion?  / Mobile Hotspot AndroidAP + password set up, modify and activate?  / Works the Q-Explorer Q-Dir in Windows 8?  / How to delete or remove applications on and chainge the settings?  / Where can I find the Windows 10 version and build number?  / AndroidAP Password for Samsung Galaxy (forgot, to change, enter new)?  / With the stress test, load only the graphics card, how to?  / Windows 10 Benutzerpasswörter ändern, über NET USER Befehl, aber wie?  / Can I use the Windows XP Explorer.exe in Win-7?  / Wo kann ich festlegen wie das Windows-7 starten soll, z.B. ein Diagnosesystemstart?  / How to create a system image on Windows 10?  /