Import SCEP 2012 Default Policies

In this blog post I am going to show you how to import the default Endpoint protection policies via the ConfMgr console or skip to the end for the powershell script to import them all at once.

Open assets and Compliance –> Endpoint protection –> antimalware Policies –> click Import


select the default policy you would like to import


Or the Powershell script

$sitecode = “<sitecode>:”

$installdrive = “D:”

if(test-path ($installdrive + “\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin”))
{ Import-Module ($installdrive + “\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1”) }
else {
IF(test-path ($installdrive + “\Program Files\Microsoft Configuration Manager\AdminConsole\bin” ) )
{Import-Module ($installdrive + “\Program Files\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1”)}}
Set-Location $sitecode

$EPTemplates = $installdrive + “\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\XmlStorage\EPTemplates”
$Files = Get-ChildItem $EPTemplates
foreach ($file in $Files)
Import-CMAntimalwarePolicy -ImportFilePath $file.FullName

This entry was posted in ConfigMgr, Endpoint Protection, Powershell, SCCM, SCEP and tagged , , , . Bookmark the permalink.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s