NETSH - Windows 7 & Vista + Server 2008

netsh » advfirewall » set » publicprofile

Microsoft Windows [Version 6.1.7000]
(C) Copyright 2009 Microsoft Corp.
C:\Windows>netsh advfirewall set publicprofile ?

Usage:  set publicprofile (parameter) (value)

Parameters:

     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
     Parameters:
        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
                                     Firewall.
        unicastresponsetomulticast - Control stateful unicast response to
                                     multicast.

     logging           - Configures logging settings.
     Usage: logging (parameter) (value)
     Parameters:
        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

Remarks:

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

Examples:

     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
     blockinbound,allowoutbound

     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

netsh advfirewall set publicprofile - Windows Seven - command Sets properties in the public profile. - Windows Seven
netsh, advfirewall, set, publicprofile, cmd, command, Windows, Seven
Quick - Link:
netsh ipsec dynamic dump: Displays a configuration script.
netsh winhttp set tracing: Configures WinHTTP tracing parameters.
netsh interface tcp set: Sets configuration information.
netsh wcn dump: Displays a configuration script.
netsh interface portproxy delete v4tov4: Deletes an entry to listen on for IPv4 and proxy connect to via IPv4.
netsh rpc filter delete rule: Deletes the RPC firewall filter rule.


 


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

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





;-)









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

... facebook.de
0.046
Wie verwende ich das Backup und Restore in Windows 7?  / Windows Server 2008 mit Vista-Aero Designe, wie geht das?  / Formatierung und Partitionierung der Festplatte ohne Windows?  / How can I disable ClearType in Windows 8.1 or 10?  / Uninstall or delete Windows 8.1 / 10 Applications!  / How to change administrator in windows 10?  / Wie kann ich in WinBin2Iso in meine Landessprache übersetzen!  / How to include or Remove folders in a library on Windows 7?  / Customize icon spacing on the windows 10 desktop (symbol distances)!  / Is my Windows 10 activated, where can I see it?  / Taugt mein Rechner für Vista?  / Windows-Eingabeaufforderung breiter machen?  /