Shared-PC Modus nachträglich entfernen

Version 2.3 von Michael Ecer am 2021/09/03 09:08

Hinweis: Muss in der PowerShell als SYSTEM-User ausgeführt werden

1. Cmd als Administrator öffnen

2. psexec -i -s powershell.exe

# Disable

$sharedPC = Get-CimInstance -Namespace "root\cimv2\mdm\dmmap" -ClassName "MDM_SharedPC"

$sharedPC.EnableSharedPCMode = $False

$sharedPC.SetEduPolicies = $False

$sharedPC.EnableAccountManager = $False

$sharedPC.AccountModel = 2

$sharedPC.DeletionPolicy = ""

Set-CimInstance -CimInstance $sharedPC