{"id":420965,"date":"2025-02-10T14:57:20","date_gmt":"2025-02-10T14:57:20","guid":{"rendered":"https:\/\/www.ninjaone.com\/?post_type=script_hub&#038;p=420965"},"modified":"2025-02-10T14:57:20","modified_gmt":"2025-02-10T14:57:20","slug":"benutzerkontenverwaltung-unter-windows-powershell","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/de\/script-hub\/benutzerkontenverwaltung-unter-windows-powershell\/","title":{"rendered":"PowerShell beherrschen: Benutzerkontenverwaltung unter Windows"},"content":{"rendered":"<h2>Die wichtigsten Erkenntnisse:<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><strong>Automatisierte Kontrolle<\/strong>: Das Skript automatisiert den Prozess der Aktivierung oder Deaktivierung der Erstellung von Microsoft-Konten und verbessert so die Effizienz der Benutzerkontenverwaltung unter Windows.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Verbesserung der Sicherheit<\/strong>: Durch die Kontrolle der Kontoerstellung verbessert das Skript die Sicherheitslage von Windows-Umgebungen erheblich.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Flexibilit\u00e4t der Parameter<\/strong>: Bietet Anpassungsm\u00f6glichkeiten durch Parameter wie <strong>Allow<\/strong>, <strong>BlockLogin<\/strong> und <strong>ForceReboot<\/strong>, die sich an unterschiedliche administrative Anforderungen anpassen lassen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><strong>\u00c4nderung des Registrierungsschl\u00fcssels<\/strong>: Es funktioniert durch die \u00c4nderung bestimmter Registrierungsschl\u00fcssel, die die Erstellung von Konten und Nutzungsrichtlinien regeln.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"1\"><strong>\u00dcberlegungen zur Kompatibilit\u00e4t<\/strong>: Das Skript wurde in erster Linie f\u00fcr Windows 10 und m\u00f6glicherweise Windows 11 entwickelt, seine Kompatibilit\u00e4t mit anderen Versionen ist nicht gew\u00e4hrleistet.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"6\" data-aria-level=\"1\"><strong>Anwendung in der Praxis<\/strong>: Ideal f\u00fcr die Durchsetzung von Unternehmensrichtlinien f\u00fcr die Erstellung und Verwaltung von Benutzerkonten, insbesondere in gr\u00f6\u00dferen Unternehmen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"7\" data-aria-level=\"1\"><strong>Skript vs. manuelle Steuerung<\/strong>: Bietet eine effizientere und weniger fehleranf\u00e4llige L\u00f6sung im Vergleich zu manuellen Registrierungsbearbeitungen oder Gruppenrichtlinienanpassungen.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"8\" data-aria-level=\"1\"><strong>Wichtigkeit der Pr\u00fcfung<\/strong>: Es ist unerl\u00e4sslich, das Skript vor einer gro\u00df angelegten Implementierung in einer Staging-Umgebung zu testen, um unbeabsichtigte Folgen zu vermeiden.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"9\" data-aria-level=\"1\"><strong>Gleichgewicht zwischen Sicherheit und Benutzerfreundlichkeit<\/strong>: Es muss sichergestellt werden, dass die Sicherheitsma\u00dfnahmen den Zugang und die Arbeitsabl\u00e4ufe der legitimen Benutzer:innen nicht behindern.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"10\" data-aria-level=\"1\"><strong>Integration mit Management-Tools<\/strong>: Kann effektiv in IT-Management-L\u00f6sungen wie NinjaOne integriert werden, um die Einsatz- und \u00dcberwachungsm\u00f6glichkeiten zu erweitern.<\/li>\n<\/ul>\n<h2>Vorwort<\/h2>\n<p>Die Benutzerkontenverwaltung unter Windows ist ein wichtiger Aspekt des IT-Managements, der sich direkt auf die Systemsicherheit und die Zug\u00e4nglichkeit f\u00fcr Benutzer:innen auswirkt. Die Kontrolle der Erstellung neuer Benutzerkonten, insbesondere von Microsoft-Konten, ist eine wichtige Aufgabe f\u00fcr IT-Expert:innen und <a href=\"https:\/\/www.ninjaone.com\/de\/was-ist-ein-msp\">Managed Service Provider (MSPs)<\/a>. Ein PowerShell-Skript, das diesen Prozess automatisiert, erh\u00f6ht nicht nur die Sicherheit, sondern spart auch Zeit und Ressourcen.<\/p>\n<h2>Kontext<\/h2>\n<p>Das bereitgestellte Skript ist ein PowerShell-basiertes Tool, mit dem die Erstellung von Microsoft-Konten auf Windows-Systemen aktiviert oder deaktiviert werden kann. Seine Bedeutung f\u00fcr die IT ergibt sich aus der Notwendigkeit, die Kontrolle \u00fcber den Benutzerzugang in Unternehmensumgebungen zu behalten. Indem sie die Erstellung neuer Microsoft-Konten einschr\u00e4nken, k\u00f6nnen IT-Expert:innen unbefugten Zugriff verhindern, die Einhaltung von Unternehmensrichtlinien gew\u00e4hrleisten und eine sichere Computerumgebung aufrechterhalten.<\/p>\n<h2>Das Skript f\u00fcr die Benutzerkontenverwaltung unter Windows<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">#Requires -Version 5.1 -RunAsAdministrator\r\n\r\n&lt;#\r\n.SYNOPSIS\r\n    Block or Allow the ability to create Microsoft Accounts.\r\n.DESCRIPTION\r\n    Block or Allow the ability to create Microsoft Accounts.\r\n.EXAMPLE\r\n    PS C:\\&gt; Disable-MicrosoftAccountCreation.ps1\r\n    Blocks creation of Microsoft Accounts.\r\nPARAMETER: -Allow\r\n    Allows creation of Microsoft Accounts.\r\n.EXAMPLE\r\n    PS C:\\&gt; Disable-MicrosoftAccountCreation.ps1\r\n    Allows creation of Microsoft Accounts.\r\nPARAMETER: -ForceReboot\r\n    Blocks creation of Microsoft Accounts and reboot after 2 minutes.\r\n.EXAMPLE\r\n    PS C:\\&gt; Disable-MicrosoftAccountCreation.ps1 -ForceReboot\r\n    Blocks creation of Microsoft Accounts and reboot after 2 minutes.\r\n.INPUTS\r\n    None\r\n.OUTPUTS\r\n    String[]\r\n.NOTES\r\n    Release Notes: Renamed Script, updated Set-ItemProp\r\n    Only usable on Windows 10, possible Windows 11(UNTESTED\/UNVERIFIED).\r\nBy using this script, you indicate your acceptance of the following legal terms as well as our Terms of Use at https:\/\/www.ninjaone.com\/terms-of-use.\r\n    Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms. \r\n    Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party. \r\n    Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library or website belonging to or under the control of any other software provider. \r\n    Warranty Disclaimer: The script is provided \u201cas is\u201d and \u201cas available\u201d, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations. \r\n    Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks. \r\n    Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script. \r\n    EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).\r\n.COMPONENT\r\n    LocalBuiltInAccountManagement\r\n#&gt;\r\n\r\n[CmdletBinding()]\r\nparam (\r\n    [Parameter()]\r\n    [switch]\r\n    $Allow,\r\n    [switch]\r\n    $BlockLogin,\r\n    [switch]\r\n    $ForceReboot\r\n)\r\n\r\nbegin {\r\n    function Set-ItemProp {\r\n        param (\r\n            $Path,\r\n            $Name,\r\n            $Value,\r\n            [ValidateSet(\"DWord\", \"QWord\", \"String\", \"ExpandedString\", \"Binary\", \"MultiString\", \"Unknown\")]\r\n            $PropertyType = \"DWord\"\r\n        )\r\n        if (-not $(Test-Path -Path $Path)) {\r\n            # Check if path does not exist and create the path\r\n            New-Item -Path $Path -Force | Out-Null\r\n        }\r\n        if ((Get-ItemProperty -Path $Path -Name $Name -ErrorAction SilentlyContinue)) {\r\n            # Update property and print out what it was changed from and changed to\r\n            $CurrentValue = (Get-ItemProperty -Path $Path -Name $Name -ErrorAction SilentlyContinue).$Name\r\n            try {\r\n                Set-ItemProperty -Path $Path -Name $Name -Value $Value -Force -Confirm:$false -ErrorAction Stop | Out-Null\r\n            }\r\n            catch {\r\n                Write-Error \"[Error] Unable to Set registry key for $Name please see below error!\"\r\n                Write-Error $_\r\n                exit 1\r\n            }\r\n            Write-Host \"$Path\\$Name changed from $CurrentValue to $($(Get-ItemProperty -Path $Path -Name $Name -ErrorAction SilentlyContinue).$Name)\"\r\n        }\r\n        else {\r\n            # Create property with value\r\n            try {\r\n                New-ItemProperty -Path $Path -Name $Name -Value $Value -PropertyType $PropertyType -Force -Confirm:$false -ErrorAction Stop | Out-Null\r\n            }\r\n            catch {\r\n                Write-Error \"[Error] Unable to Set registry key for $Name please see below error!\"\r\n                Write-Error $_\r\n                exit 1\r\n            }\r\n            Write-Host \"Set $Path\\$Name to $($(Get-ItemProperty -Path $Path -Name $Name -ErrorAction SilentlyContinue).$Name)\"\r\n        }\r\n    }\r\n    if ($env:allowCreation -like \"Allow\") {\r\n        $Allow = $true\r\n    }\r\n    elseif ($env:allowCreation -like \"Block Creation\" -or $env:allowCreation -like \"Block Creation And Login\") {\r\n        $Allow = $false\r\n    }\r\n    if ($env:forceReboot -like \"true\") {\r\n        $ForceReboot = $true\r\n    }\r\n}\r\nprocess {\r\n    if ($Allow) {\r\n        # Allow\r\n        Set-ItemProp -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\" -Name \"NoConnectedUser\" -Value 0\r\n        Set-ItemProp -Path \"HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\default\\Settings\\AllowYourAccount\" -Name \"value\" -Value 1\r\n        Remove-ItemProperty -Path \"HKLM:\\Software\\Policies\\Microsoft\\MicrosoftAccount\" -Name \"DisableUserAuth\" -ErrorAction SilentlyContinue\r\n\r\n        Write-Host \"Allowing Microsoft accounts to be created.\"\r\n    }\r\n    else {\r\n        # Block\r\n        if ($env:allowCreation -like \"Block Creation And Login\" -or $BlockLogin) {\r\n            # Block MS Account Creation and Login\r\n            Set-ItemProp -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\" -Name \"NoConnectedUser\" -Value 3\r\n            Set-ItemProp -Path \"HKLM:\\Software\\Policies\\Microsoft\\MicrosoftAccount\" -Name \"DisableUserAuth\" -Value 1\r\n        }\r\n        else {\r\n            # Block MS Account Creation\r\n            Set-ItemProp -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\" -Name \"NoConnectedUser\" -Value 1\r\n        }\r\n        Set-ItemProp -Path \"HKLM:\\SOFTWARE\\Microsoft\\PolicyManager\\default\\Settings\\AllowYourAccount\" -Name \"value\" -Value 0\r\n\r\n        Write-Host \"Blocking Microsoft accounts from being created.\"\r\n    }\r\n\r\n    if ($ForceReboot) {\r\n        # Reboot\r\n        shutdown.exe -r -t 60\r\n    }\r\n    else {\r\n        # Do not reboot\r\n        Write-Host \"Please restart $([System.Net.Dns]::GetHostName())\"\r\n    }\r\n}\r\nend {\r\n    \r\n    \r\n    \r\n}<\/pre>\n<p>&nbsp;<\/p>\n\n<div class=\"in-context-cta\"><p>Greifen Sie auf \u00fcber 300 Skripte im NinjaOne Dojo zu.<\/p>\n<p><a href=\"https:\/\/www.ninjaone.com\/de\/kostenlosetestversionformular\/\">Zugang erhalten<\/a><\/p>\n<\/div>\n<h2>Detaillierte Aufschl\u00fcsselung<\/h2>\n<p>Das Skript \u00e4ndert bestimmte Registrierungsschl\u00fcssel, die das Erstellen und Verwenden von Microsoft-Konten in Windows 10 und m\u00f6glicherweise auch in Windows 11 steuern. Die Parameter des Skripts, <strong>Allow<\/strong>, <strong>BlockLogin<\/strong> und <strong>ForceReboot<\/strong>, bieten Flexibilit\u00e4t bei der Implementierung, um verschiedenen administrativen Anforderungen gerecht zu werden.<\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><strong>Einrichtung der Umgebung<\/strong>: Das Skript beginnt mit der Definition der benutzerdefinierten Funktion <strong>Set-ItemProp<\/strong> zum Erstellen oder \u00c4ndern von Registrierungsschl\u00fcsseln und -werten.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Behandlung der Parameter<\/strong>: Es bewertet dann Umgebungsvariablen und Skriptparameter, um zu bestimmen, ob die Erstellung von Microsoft-Konten erlaubt oder blockiert werden soll.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"1\"><strong>Ausf\u00fchrungslogik<\/strong>: Anhand der angegebenen Parameter \u00e4ndert das Skript die entsprechenden Registrierungsschl\u00fcssel. Wenn der Parameter <strong>Allow<\/strong> gesetzt ist, wird die Erstellung von Microsoft-Konten erm\u00f6glicht. Umgekehrt wird diese Funktion deaktiviert, wenn sie nicht gesetzt ist. Mit dem Parameter <strong>BlockLogin<\/strong> kann die Kontonutzung weiter eingeschr\u00e4nkt werden.<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"1\"><strong>Systemreaktion<\/strong>: Abh\u00e4ngig vom Parameter <strong>ForceReboot<\/strong> kann das Skript einen Systemneustart veranlassen, damit die \u00c4nderungen sofort wirksam werden.<\/li>\n<\/ul>\n<h2>M\u00f6gliche Anwendungsf\u00e4lle<\/h2>\n<p>Ein IT-Administrator in einem gro\u00dfen Unternehmen kann dieses Skript verwenden, um eine Richtlinie durchzusetzen, die Mitarbeiter:innen daran hindert, pers\u00f6nliche Microsoft-Konten auf Unternehmensger\u00e4ten zu verwenden. Dadurch wird sichergestellt, dass nur die vom Unternehmen verwaltete Konten verwendet werden, was die Sicherheit und die Compliance erh\u00f6ht.<\/p>\n<h2>Vergleiche<\/h2>\n<p>Herk\u00f6mmliche Methoden der Benutzerkontensteuerung beinhalten oft manuelle \u00c4nderungen der Registrierung oder Konfigurationen von Gruppenrichtlinien. Dieser PowerShell-Ansatz bietet eine rationalisierte und skriptf\u00e4hige L\u00f6sung, die schnell und einheitlich \u00fcber mehrere Systeme hinweg eingesetzt werden kann.<\/p>\n<h2>FAQs<\/h2>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><strong>Kann dieses Skript auf allen Windows-Versionen verwendet werden?<\/strong>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\">Das Skript ist f\u00fcr Windows 10 und m\u00f6glicherweise Windows 11 konzipiert, aber die Kompatibilit\u00e4t mit anderen Versionen ist nicht garantiert.<\/li>\n<\/ul>\n<\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\"><strong>Welche Auswirkungen hat dieses Skript auf bestehende Microsoft-Konten?<\/strong>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"1\">Das Skript wirkt sich nicht auf bestehende Konten aus, sondern steuert die Erstellung neuer Konten und, optional, deren M\u00f6glichkeit, sich anzumelden.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Folgen<\/h2>\n<p>Die Verwendung eines solchen Skripts kann die Sicherheitslage eines Unternehmens durch die Kontrolle des Benutzerzugangs erheblich verbessern. Es ist jedoch wichtig, ein Gleichgewicht zwischen Sicherheit und Benutzerfreundlichkeit zu finden, um daf\u00fcr zu sorgen, dass legitime Benutzer:innen nicht behindert werden.<\/p>\n<h2>Empfehlungen<\/h2>\n<p>Testen Sie das Skript immer in einer Staging-Umgebung, bevor Sie es breit einsetzen. Achten Sie auf die Bed\u00fcrfnisse der verschiedenen Benutzergruppen innerhalb des Unternehmens und passen Sie die Parameter des Skripts entsprechend an.<\/p>\n<h2>Abschlie\u00dfende \u00dcberlegungen<\/h2>\n<p>Durch die Integration dieses PowerShell-Skripts in eine <a href=\"https:\/\/www.ninjaone.com\/de\/\">umfassende IT-Managementl\u00f6sung<\/a> wie NinjaOne kann die Benutzerkontenverwaltung unter Windows optimiert werden. NinjaOne bietet Tools zur Bereitstellung, \u00dcberwachung und Verwaltung solcher Skripte in einer verteilten IT-Umgebung und gew\u00e4hrleistet so Konsistenz und Zuverl\u00e4ssigkeit bei administrativen Aufgaben.<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_lmt_disableupdate":"no","_lmt_disable":""},"operating_system":[4212],"use_cases":[4309],"class_list":["post-420965","script_hub","type-script_hub","status-publish","hentry","script_hub_category-windows","use_cases-benutzerinnen-und-zugangsverwaltung"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/script_hub\/420965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/comments?post=420965"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/media?parent=420965"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/operating_system?post=420965"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/de\/wp-json\/wp\/v2\/use_cases?post=420965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}