Version 4.1 von Jonas Mayer am 2022/05/02 19:40

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. Befehl {{code}}psexec -i -s powershell.exe{{/code}} ausführen, um interaktive Powershell-Konsole mit höchsten Privilegien zu starten.
6
7
8 (% style="color:#000000" %)Nun die nachfolgenden Befehle absenden:
9
10 (% class="box" %)
11 (((
12 (% style="color:#16a085" %)### Disable Shared PC Mode##
13
14 (% style="color:#000000" %)##$sharedPC = Get-CimInstance -Namespace "root\cimv2\mdm\dmmap" -ClassName "MDM_SharedPC"##
15
16 (% style="color:#000000" %)##$sharedPC.EnableSharedPCMode = $False##
17
18 (% style="color:#000000" %)##$sharedPC.SetEduPolicies = $False##
19
20 (% style="color:#000000" %)##$sharedPC.EnableAccountManager = $False##
21
22 (% style="color:#000000" %)##$sharedPC.AccountModel = 2##
23
24 (% style="color:#000000" %)##$sharedPC.DeletionPolicy = ""##
25
26 (% style="color:#000000" %)##Set-CimInstance -CimInstance $sharedPC##
27 )))
28
29