mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-16 15:27:22 +00:00
added xml example
This commit is contained in:
parent
17a3ae3633
commit
dab9730f11
@ -6,7 +6,7 @@ ms.topic: article
|
||||
ms.prod: w10
|
||||
ms.technology: windows
|
||||
author: MariciaAlforque
|
||||
ms.date: 12/14/2018
|
||||
ms.date: 01/08/2019
|
||||
---
|
||||
|
||||
# Policy CSP - DeviceInstallation
|
||||
@ -339,6 +339,37 @@ ADMX Info:
|
||||
<!--/Validation-->
|
||||
<!--/Policy-->
|
||||
|
||||
To enable this policy, use the following SyncML. This example prevents Windows from retrieving device metadata.
|
||||
|
||||
|
||||
``` syntax
|
||||
<SyncML>
|
||||
<SyncBody>
|
||||
<Replace>
|
||||
<CmdID>$CmdID$</CmdID>
|
||||
<Item>
|
||||
<Target>
|
||||
<LocURI>./Device/Vendor/MSFT/Policy/Config/PreventInstallationOfDevicesNotDescribedByOtherPolicySettings</LocURI>
|
||||
</Target>
|
||||
<Meta>
|
||||
<Format xmlns="syncml:metinf">integer</Format>
|
||||
</Meta>
|
||||
<Data><enabled/><Data id="1"/></Data>
|
||||
</Item>
|
||||
</Replace>
|
||||
</SyncBody>
|
||||
</SyncML>
|
||||
```
|
||||
|
||||
To verify the policies are applied properly, check C:\windows\INF\setupapi.dev.log and see if the following is listed near the end of the log:
|
||||
|
||||
```txt
|
||||
>>> [Device Installation Restrictions Policy Check]
|
||||
>>> Section start 2018/11/15 12:26:41.659
|
||||
<<< Section end 2018/11/15 12:26:41.751
|
||||
<<< [Exit status: SUCCESS]
|
||||
```
|
||||
|
||||
<hr/>
|
||||
|
||||
<!--Policy-->
|
||||
|
Loading…
x
Reference in New Issue
Block a user