Home > SCCM Operating System Deployment (OSD) > Disabling the Windows Firewall in a SCCM Task Sequence

Disabling the Windows Firewall in a SCCM Task Sequence


To do this you can add “Run Command Line” from “General” and add the following command.  I usually put a “Time-out (minutes):” value of “1”.

Netsh firewall set opmode disable

image

***UPDATE*** For Windows Server 2008 R2 you will want to use the following to disable the firewall for the current profile:

netsh advfirewall set currentprofile state off

If you have issues passing the command via the TS check this out: https://joshuasmueller.wordpress.com/2011/05/04/configmgr-osd-ts-commands-not-working-with-windows-server-2008-r2/

Source: http://support.microsoft.com/kb/947709

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: