mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-19 12:23:37 +00:00
Correct indentation of code block
This commit is contained in:
@ -104,16 +104,16 @@ Example 3: Allows a specific COM object to register in PowerShell
|
|||||||
|
|
||||||
Here's an example of an error in the Event Viewer (**Application and Service Logs** > **Microsoft** > **Windows** > **AppLocker** > **MSI and Script**):
|
Here's an example of an error in the Event Viewer (**Application and Service Logs** > **Microsoft** > **Windows** > **AppLocker** > **MSI and Script**):
|
||||||
|
|
||||||
Log Name: Microsoft-Windows-AppLocker/MSI and Script<br/>
|
> Log Name: Microsoft-Windows-AppLocker/MSI and Script<br/>
|
||||||
Source: Microsoft-Windows-AppLocker<br/>
|
> Source: Microsoft-Windows-AppLocker<br/>
|
||||||
Date: 11/11/2020 1:18:11 PM<br/>
|
> Date: 11/11/2020 1:18:11 PM<br/>
|
||||||
Event ID: 8036<br/>
|
> Event ID: 8036<br/>
|
||||||
Task Category: None<br/>
|
> Task Category: None<br/>
|
||||||
Level: Error<br/>
|
> Level: Error<br/>
|
||||||
Keywords:<br/>
|
> Keywords:<br/>
|
||||||
User: S-1-5-21-3340858017-3068726007-3466559902-3647<br/>
|
> User: S-1-5-21-3340858017-3068726007-3466559902-3647<br/>
|
||||||
Computer: contoso.com<br/>
|
> Computer: contoso.com<br/>
|
||||||
Description: {f8d253d9-89a4-4daa-87b6-1168369f0b21} was prevented from running due to Config CI policy.<br/>
|
> Description: {f8d253d9-89a4-4daa-87b6-1168369f0b21} was prevented from running due to Config CI policy.
|
||||||
|
|
||||||
Event XML:
|
Event XML:
|
||||||
|
|
||||||
@ -155,10 +155,10 @@ To add this CLSID to the existing policy, follow these steps:
|
|||||||
Once the command has been run, you will find that the following section is added to the policy XML.
|
Once the command has been run, you will find that the following section is added to the policy XML.
|
||||||
|
|
||||||
```XML
|
```XML
|
||||||
<Settings>
|
<Settings>
|
||||||
<Setting Provider="WSH" Key="{f8d253d9-89a4-4daa-87b6-1168369f0b21}" ValueName="EnterpriseDefinedClsId">
|
<Setting Provider="WSH" Key="{f8d253d9-89a4-4daa-87b6-1168369f0b21}" ValueName="EnterpriseDefinedClsId">
|
||||||
<Value>
|
<Value>
|
||||||
<Boolean>true</Boolean>
|
<Boolean>true</Boolean>
|
||||||
</Value>
|
</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user