From 30e6f9a79c49053152e7c787fe9a046759583f50 Mon Sep 17 00:00:00 2001 From: yogesh thangjam <53617154+TJ2215@users.noreply.github.com> Date: Mon, 1 Mar 2021 14:07:45 -0600 Subject: [PATCH] Update windows/security/threat-protection/windows-defender-application-control/allow-com-object-registration-in-windows-defender-application-control-policy.md Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> --- ...-windows-defender-application-control-policy.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/windows/security/threat-protection/windows-defender-application-control/allow-com-object-registration-in-windows-defender-application-control-policy.md b/windows/security/threat-protection/windows-defender-application-control/allow-com-object-registration-in-windows-defender-application-control-policy.md index c9af678a85..81cde27871 100644 --- a/windows/security/threat-protection/windows-defender-application-control/allow-com-object-registration-in-windows-defender-application-control-policy.md +++ b/windows/security/threat-protection/windows-defender-application-control/allow-com-object-registration-in-windows-defender-application-control-policy.md @@ -129,12 +129,16 @@ Event Xml: -To add this CLSID to the existing policy, follow the steps below, -1. Open the Powershell ISE with administrative priviledge. -2. Now from the admin powershell ISE, type this command and run it. Considering the name of the policy is WDAC_policy.xml . -PS C:\WINDOWS\system32> Set-CIPolicySetting -FilePath \WDAC_policy.xml -Key 8856f961-340a-11d0-a96b-00c04fd705a2 -Provider WSH -Value True -ValueName EnterpriseDefinedClsId -ValueType Boolean +To add this CLSID to the existing policy, use the following steps: -Once the command is run, you will find that the following section is added to the policy xml. +1. Open PowerShell ISE with Administrative privileges. +2. Copy and edit this command, then run it from the admin PowerShell ISE. Consider the policy name to be `WDAC_policy.xml`. + +```PowerShell +PS C:\WINDOWS\system32> Set-CIPolicySetting -FilePath \WDAC_policy.xml -Key 8856f961-340a-11d0-a96b-00c04fd705a2 -Provider WSH -Value True -ValueName EnterpriseDefinedClsId -ValueType Boolean +``` + +Once the command has been run, you will find that the following section is added to the policy XML. ```XML