ConfigMgr CI to check that Credential Guard is running
I posted a Configuration Manager Configuration Item and Baseline a while back that checks to see if Applocker is configured and running. Another important thing to check on Windows 10 is that Credential Guard is configured and running. Credential Guard is an extremely important security feature in Windows 10 and should be used and of course we need to make sure that is active and running.
Here is a Configuration Item and Baseline that will do those checks. We use a Powershell script to check that Credential Guard is configured and running. $DevGuard = Get-CimInstance –ClassName Win32_DeviceGuard –Namespace root\Microsoft\Windows\DeviceGuard
return $DevGuard.SecurityServicesConfigured -contains 1 -and $DevGuard.SecurityServicesRunning -contains 1 Same as the Applocker post I wrote we need to configure the Powershell policy in Client settings or sign the script.
If we compare it to the Applocker CI we created credential Guard doesn’t exist on Operating Systems earlier than Windows 10 so we need to configure that as well, otherwise the steps are the same. Here they are:
We create a new Configuration Item, and select the option to apply to Windows Desktops and Servers (custom)
Select the supported platforms:
Select New in the Settings step
Create a new Configuration Item with following settings:
-Settings Type: Script
-Data type: Boolean
And then click “Add script”
Then we edit the discovery script and paste the script as shown below.
Then we create a compliance rule.
Then we create a compliance rule with the following settings.
Then we can add it to a baseline and deploy it to our clients. And again for all of you that took the time to read the whole post you can download an exported .Cab file which contains both a CI and the baseline used from here:Credential Guard statusLäs hela artikeln