Version 3.1 von Jonas Mayer am 2022/03/23 11:21

Zeige letzte Bearbeiter
1 (% style="color:#000000" %)**__Wichtiger Hinweis:__** Die nachfolgenden Kommandos müssen in der PowerShell als (% style="color:#e74c3c" %)**SYSTEM-User**(% style="color:#000000" %) ausgeführt werden.
2
3 (% style="color:#000000" %)1. Cmd als Administrator öffnen
4
5 (% style="color:#000000" %)2. psexec -i -s powershell.exe
6
7
8 (% class="box" %)
9 (((
10 (% style="color:#16a085" %)### Disable Shared PC Mode##
11
12 (% style="color:#000000" %)##$sharedPC = Get-CimInstance -Namespace "root\cimv2\mdm\dmmap" -ClassName "MDM_SharedPC"##
13
14 (% style="color:#000000" %)##$sharedPC.EnableSharedPCMode = $False##
15
16 (% style="color:#000000" %)##$sharedPC.SetEduPolicies = $False##
17
18 (% style="color:#000000" %)##$sharedPC.EnableAccountManager = $False##
19
20 (% style="color:#000000" %)##$sharedPC.AccountModel = 2##
21
22 (% style="color:#000000" %)##$sharedPC.DeletionPolicy = ""##
23
24 (% style="color:#000000" %)##Set-CimInstance -CimInstance $sharedPC##
25 )))
26
27