mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-19 16:57:23 +00:00
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>
This commit is contained in:
parent
97af818442
commit
30e6f9a79c
@ -129,12 +129,16 @@ Event Xml:
|
|||||||
</EventData>
|
</EventData>
|
||||||
</Event>
|
</Event>
|
||||||
|
|
||||||
To add this CLSID to the existing policy, follow the steps below,
|
To add this CLSID to the existing policy, use the following steps:
|
||||||
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 <path to policy xml>\WDAC_policy.xml -Key 8856f961-340a-11d0-a96b-00c04fd705a2 -Provider WSH -Value True -ValueName EnterpriseDefinedClsId -ValueType Boolean
|
|
||||||
|
|
||||||
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 <path to policy xml>\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
|
```XML
|
||||||
<Settings>
|
<Settings>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user