From dab9730f1148e0a1e17c9528fce7a74f79880b3b Mon Sep 17 00:00:00 2001 From: Justin Hall Date: Mon, 7 Jan 2019 17:23:34 -0800 Subject: [PATCH] added xml example --- .../mdm/policy-csp-deviceinstallation.md | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/windows/client-management/mdm/policy-csp-deviceinstallation.md b/windows/client-management/mdm/policy-csp-deviceinstallation.md index 5d54218565..a696446f77 100644 --- a/windows/client-management/mdm/policy-csp-deviceinstallation.md +++ b/windows/client-management/mdm/policy-csp-deviceinstallation.md @@ -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: +To enable this policy, use the following SyncML. This example prevents Windows from retrieving device metadata. + + +``` syntax + + + + $CmdID$ + + + ./Device/Vendor/MSFT/Policy/Config/PreventInstallationOfDevicesNotDescribedByOtherPolicySettings + + + integer + + + + + + +``` + +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] +``` +