{"id":208110,"date":"2023-09-22T08:02:40","date_gmt":"2023-09-22T08:02:40","guid":{"rendered":"https:\/\/www.ninjaone.com\/script-hub\/come-disabilitare-il-microsoft-store-nella-tua-rete-2\/"},"modified":"2024-03-04T18:02:37","modified_gmt":"2024-03-04T18:02:37","slug":"come-disabilitare-il-microsoft-store-nella-tua-rete-2","status":"publish","type":"script_hub","link":"https:\/\/www.ninjaone.com\/it\/script-hub\/come-disabilitare-il-microsoft-store-nella-tua-rete-2\/","title":{"rendered":"Automatizzare l&#8217;IT: Uno script per disabilitare il Microsoft Store in tutta la rete"},"content":{"rendered":"<p><span data-contrast=\"none\">La gestione delle autorizzazioni degli utenti e dell&#8217;accesso alle applicazioni all&#8217;interno di una rete aziendale pu\u00f2 essere un compito complesso e dispendioso in termini di tempo. Tuttavia, gli script che gestiscono automaticamente queste attivit\u00e0 possono essere una salvezza per i professionisti IT e i fornitori di servizi gestiti (MSP). Oggi ci concentriamo su uno <strong>script PowerShell progettato per disabilitare il Microsoft Store<\/strong> per tutti gli utenti esistenti e per quelli che verranno creati, utilizzando <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/security\/application-security\/application-control\/windows-defender-application-control\/applocker\/applocker-overview\" target=\"_blank\" rel=\"noopener\">AppLocker<\/a>. Questo script \u00e8 stato creato su misura per i sistemi Windows 10 e Server 2016 e offre diverse opzioni configurabili, come l&#8217;esclusione di utenti specifici e il targeting solo degli utenti esistenti.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In questo post analizzeremo i diversi aspetti dello script e i motivi per i quali potrebbe essere un&#8217;aggiunta preziosa alla tua cassetta degli attrezzi IT.<\/span><\/p>\n<h2>Lo script<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">#Requires -Version 5.1\r\n\r\n&lt;#\r\n.SYNOPSIS\r\n    Disables the Windows Store for all users and newly created users using AppLocker. Can be given a comma separated list\r\n    of users to exclude.\r\n.DESCRIPTION\r\n    Disables the Windows Store for all users and newly created users using AppLocker. Can be given a comma separated list\r\n    of users to exclude.\r\n.EXAMPLE\r\n    (No Parameters)\r\n    \r\n    WARNING: Creating AppLocker rule for user or group \"Interactive\"...\r\n    Registry::HKEY_USERSDefaultProfileSoftwarePoliciesMicrosoftWindowsStoreRemoveWindowsStore changed from 0 to 1\r\n    Registry::HKEY_USERSS-1-5-21-3870645062-3653562310-3850680542-1001SoftwarePoliciesMicrosoftWindowsStoreRemoveWindowsStore changed from 0 to 1\r\n    Registry::HKEY_USERSS-1-5-21-3870645062-3653562310-3850680542-1002SoftwarePoliciesMicrosoftWindowsStoreRemoveWindowsStore changed from 0 to 1\r\n\r\nPARAMETER: -ExcludeUsers \"Test1,Test2\"\r\n    A comma seperated list of users to exclude. Please note newly created users will not have the windows store disabled.\r\n.EXAMPLE\r\n    -ExcludeUsers \"Test1,Test2\"\r\n\r\n    WARNING: The Following Users and newly created users will not have the windows store disabled. Test1 Test2\r\n    Registry::HKEY_USERSS-1-5-21-3870645062-3653562310-3850680542-1002SoftwarePoliciesMicrosoftWindowsStoreRemoveWindowsStore changed from 0 to 1\r\n    WARNING: Creating AppLocker rule for user or group \"tuser\"...\r\n\r\nPARAMETER: -ExistingUsersOnly\r\n    This will disable the Windows store for existing users only.\r\n.EXAMPLE\r\n    -ExistingUsersOnly\r\n\r\n    WARNING: Only existing users will have the windows store disabled!\r\n    Set Registry::HKEY_USERSS-1-5-21-3870645062-3653562310-3850680542-1001SoftwarePoliciesMicrosoftWindowsStoreRemoveWindowsStore to 1\r\n    WARNING: Creating AppLocker rule for user or group \"kbohlander\"...\r\n    Set Registry::HKEY_USERSS-1-5-21-3870645062-3653562310-3850680542-1002SoftwarePoliciesMicrosoftWindowsStoreRemoveWindowsStore to 1\r\n    WARNING: Creating AppLocker rule for user or group \"tuser\"...\r\n.OUTPUTS\r\n    None\r\n.NOTES\r\n    Minimum OS Architecture Supported: Windows 10, Server 2016\r\n    Release Notes:\r\n    Initial Release\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#&gt;\r\n\r\n[CmdletBinding()]\r\nparam (\r\n    [Parameter()]\r\n    [String[]]$ExcludeUsers,\r\n    [Parameter()]\r\n    [Switch]$ExistingUsersOnly\r\n)\r\n\r\nbegin {\r\n    function Test-IsElevated {\r\n        $id = [System.Security.Principal.WindowsIdentity]::GetCurrent()\r\n        $p = New-Object System.Security.Principal.WindowsPrincipal($id)\r\n        $p.IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)\r\n    }\r\n\r\n    function Test-IsSystem {\r\n        $id = [System.Security.Principal.WindowsIdentity]::GetCurrent()\r\n        return $id.Name -like \"NT AUTHORITY*\" -or $id.IsSystem\r\n    }\r\n\r\n    if (!(Test-IsElevated) -and !(Test-IsSystem)) {\r\n        Write-Error -Message \"Access Denied. Please run with Administrator privileges.\"\r\n        exit 1\r\n    }\r\n    \r\n    # Setting up some functions to be used later.\r\n    function Set-HKProperty {\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 Ignore)) {\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 Ignore).$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 Ignore).$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 Ignore).$Name)\"\r\n        }\r\n    }\r\n\r\n    # This will get all the registry path's for all actual users (not system or network service account but actual users.)\r\n    function Get-UserHives {\r\n        param (\r\n            [Parameter()]\r\n            [ValidateSet('AzureAD', 'DomainAndLocal', 'All')]\r\n            [String]$Type = \"All\",\r\n            [Parameter()]\r\n            [String[]]$ExcludedUsers,\r\n            [Parameter()]\r\n            [switch]$IncludeDefault\r\n        )\r\n\r\n        # User account SID's follow a particular patter depending on if they're azure AD or a Domain account or a local \"workgroup\" account.\r\n        $Patterns = switch ($Type) {\r\n            \"AzureAD\" { \"S-1-12-1-(d+-?){4}$\" }\r\n            \"DomainAndLocal\" { \"S-1-5-21-(d+-?){4}$\" }\r\n            \"All\" { \"S-1-12-1-(d+-?){4}$\" ; \"S-1-5-21-(d+-?){4}$\" } \r\n        }\r\n\r\n        # We'll need the NTuser.dat file to load each users registry hive. So we grab it if their account sid matches the above pattern. \r\n        $UserProfiles = Foreach ($Pattern in $Patterns) { \r\n            Get-ItemProperty \"HKLM:SOFTWAREMicrosoftWindows NTCurrentVersionProfileList*\" |\r\n                Where-Object { $_.PSChildName -match $Pattern } | \r\n                Select-Object @{Name = \"SID\"; Expression = { $_.PSChildName } }, \r\n                @{Name = \"UserHive\"; Expression = { \"$($_.ProfileImagePath)NTuser.dat\" } }, \r\n                @{Name = \"UserName\"; Expression = { \"$($_.ProfileImagePath | Split-Path -Leaf)\" } }\r\n        }\r\n\r\n        # There are some situations where grabbing the .Default user's info is needed.\r\n        switch ($IncludeDefault) {\r\n            $True {\r\n                $DefaultProfile = \"\" | Select-Object UserName, SID, UserHive\r\n                $DefaultProfile.UserName = \"Default\"\r\n                $DefaultProfile.SID = \"DefaultProfile\"\r\n                $DefaultProfile.Userhive = \"$env:SystemDriveUsersDefaultNTUSER.DAT\"\r\n                $DefaultProfile | Where-Object { $ExcludedUsers -notcontains $_.UserName }\r\n            }\r\n        }\r\n\r\n        $UserProfiles | Where-Object { $ExcludedUsers -notcontains $_.UserName }\r\n    }\r\n\r\n    function New-WindowStoreBlock {\r\n        param(\r\n            [Parameter()]\r\n            [String]$User\r\n        )\r\n\r\n        Write-Warning \"Creating AppLocker rule for user or group `\"$User`\"...\"\r\n        [xml]$AppLockerTemplate = Get-AppXPackage -AllUsers -Name \"Microsoft.WindowsStore\" | Get-AppLockerFileInformation | New-AppLockerPolicy -User \"$User\" -Optimize -Xml\r\n        $AppLockerTemplate.AppLockerPolicy.RuleCollection.EnforcementMode = \"Enabled\"\r\n        $AppLockerTemplate.AppLockerPolicy.RuleCollection.FilePublisherRule.Action = \"Deny\"\r\n        $AppLockerTemplate.AppLockerPolicy.RuleCollection.FilePublisherRule.Conditions.FilePublisherCondition.BinaryVersionRange.LowSection = \"*\"\r\n        $AppLockerTemplate.Save(\"$env:TEMPapplocker.xml\")\r\n        Set-AppLockerPolicy -XmlPolicy \"$env:TEMPapplocker.xml\" -Merge\r\n        Remove-Item \"$env:TEMPapplocker.xml\"\r\n    }\r\n}\r\nprocess {\r\n    if ($env:ExistingUsersOnly) { $ExistingUsersOnly = $env:ExistingUsersOnly }\r\n    # This registry key only works sometimes. It's worth setting if its an older windows build or has an older version of the store installed.\r\n    $Path = \"SoftwarePoliciesMicrosoftWindowsStore\"\r\n    $Name = \"RemoveWindowsStore\"\r\n    $Value = 1\r\n    \r\n    # Get each user profile SID and Path to the profile. If there are any exclusions we'll have to take them into account.\r\n    if ($ExcludeUsers -or $env:ExcludeUsers -or $ExistingUsersOnly) {\r\n        if ($env:ExcludeUsers) {\r\n            $ToBeExcluded = @()\r\n            $ToBeExcluded += $env:ExcludeUsers.split(\",\").trim()\r\n        }\r\n\r\n        if ($ExcludeUsers) {\r\n            $ToBeExcluded = @()\r\n            $ToBeExcluded += $ExcludeUsers.split(\",\").trim()\r\n        }\r\n\r\n        if ($ToBeExcluded) { \r\n            Write-Warning \"The Following Users and newly created users will not have the windows store disabled. $ToBeExcluded\"\r\n            $UserProfiles = Get-UserHives -ExcludedUsers $ToBeExcluded \r\n        }\r\n        elseif ($ExistingUsersOnly) { \r\n            Write-Warning \"Only existing users will have the windows store disabled!\"\r\n            $UserProfiles = Get-UserHives \r\n        }\r\n    }\r\n    else {\r\n        $UserProfiles = Get-UserHives -IncludeDefault\r\n    }\r\n\r\n    [xml]$AppLockerXML = '&lt;AppLockerPolicy Version=\"1\"&gt;&lt;RuleCollection Type=\"Appx\" EnforcementMode=\"Enabled\"&gt;&lt;FilePublisherRule Id=\"a9e18c21-ff8f-43cf-b9fc-db40eed693ba\" Name=\"(Default Rule) All signed packaged apps\" Description=\"Allows members of the Everyone group to run packaged apps that are signed.\" UserOrGroupSid=\"S-1-1-0\" Action=\"Allow\"&gt;&lt;Conditions&gt;&lt;FilePublisherCondition PublisherName=\"*\" ProductName=\"*\" BinaryName=\"*\"&gt;&lt;BinaryVersionRange LowSection=\"0.0.0.0\" HighSection=\"*\" \/&gt;&lt;\/FilePublisherCondition&gt;&lt;\/Conditions&gt;&lt;\/FilePublisherRule&gt;&lt;\/RuleCollection&gt;&lt;\/AppLockerPolicy&gt;'\r\n    $AppLockerXML.Save(\"$env:TEMPapplocker.xml\")\r\n    Set-AppLockerPolicy -XmlPolicy \"$env:TEMPapplocker.xml\" -Merge\r\n    Remove-Item \"$env:TEMPapplocker.xml\"\r\n\r\n    if (!$ToBeExcluded -and !$ExistingUsersOnly) {\r\n        New-WindowStoreBlock -User \"Interactive\"\r\n    }\r\n\r\n    $script:DisabledWinRun = $true\r\n    $failedUsers = @()\r\n    # Loop through each profile on the machine\r\n    Foreach ($UserProfile in $UserProfiles) {\r\n        # Load User ntuser.dat if it's not already loaded\r\n        If (($ProfileWasLoaded = Test-Path Registry::HKEY_USERS$($UserProfile.SID)) -eq $false) {\r\n            Start-Process -FilePath \"cmd.exe\" -ArgumentList \"\/C reg.exe LOAD HKU$($UserProfile.SID) `\"$($UserProfile.UserHive)`\"\" -Wait -WindowStyle Hidden\r\n        }\r\n\r\n        # Manipulate the registry\r\n        $key = \"Registry::HKEY_USERS$($UserProfile.SID)$($Path)\"\r\n        Set-HKProperty -Path $key -Name $Name -Value $Value -PropertyType DWord\r\n\r\n        # This will be our applocker policy we'll need to tweak it prior to running it\r\n        if ($UserProfile.SID -notlike \"DefaultProfile\") {\r\n            if ($ToBeExcluded -or $ExistingUsersOnly) {\r\n                New-WindowStoreBlock -User \"$($UserProfile.UserName)\"\r\n            }\r\n        }\r\n\r\n        if ($(Get-ItemProperty -Path $key -Name $Name -ErrorAction Ignore).$Name -ne $Value) {\r\n            $script:DisabledWinRun = $false\r\n            $failedUsers += $UserProfile.UserName\r\n        }\r\n        \r\n        # Unload NTuser.dat\r\n        If ($ProfileWasLoaded -eq $false) {\r\n            [gc]::Collect()\r\n            Start-Sleep 1\r\n            Start-Process -FilePath \"cmd.exe\" -ArgumentList \"\/C reg.exe UNLOAD HKU$($UserProfile.SID)\" -Wait -WindowStyle Hidden | Out-Null\r\n        }\r\n    }\r\n    \r\n    Start-Process -FilePath \"cmd.exe\" -ArgumentList \"\/C sc config `\"AppIDSvc`\" start=auto &amp; net start `\"AppIDSvc`\"\" -WindowStyle Hidden | Out-Null\r\n    Start-Sleep -Seconds 30\r\n    if ($script:DisabledWinRun) {\r\n        # All $UserProfiles updated\r\n        exit 0\r\n    }\r\n    else {\r\n        $failedUsers | ForEach-Object { Write-Error \"Failed to update user `\"$_`\"\" }\r\n        Write-Error \"One or more user profiles failed to update\"\r\n        exit 1\r\n    }\r\n}\r\nend {}<\/pre>\n<p>&nbsp;<\/p>\n\n<div class=\"in-context-cta\"><p>Accedi a oltre 700 script nel Dojo di NinjaOne<\/p>\n<p><a href=\"https:\/\/www.ninjaone.com\/it\/prova-gratuita\/\">Ottieni l&#8217;accesso<\/a><\/p>\n<\/div>\n<h2><span data-contrast=\"none\">Caratteristiche principali dello script<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\"> per disabilitare il Microsoft Store<\/span><\/h2>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Controllo dei permessi elevati<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Prima che lo script possa apportare modifiche e disabilitare il Microsoft Store, lo script verifica se viene eseguito con i permessi di amministratore. \u00c8 un passaggio essenziale per applicare le modifiche alle impostazioni di sistema e agli account utente.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Flessibilit\u00e0 nelle esclusioni degli utenti<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Se non vuoi applicare le impostazioni a tutti gli utenti, potrai utilizzare un elenco separato da virgole di utenti da escludere.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Opzione solo per gli utenti esistenti<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Se preferisci che lo script per disabilitare il Microsoft Store non prenda in considerazione gli account che verranno creati in futuro, c&#8217;\u00e8 un parametro anche per questo. <\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Modifica del registro di sistema<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Lo script per disabilitare il Microsoft Store utilizza il Registro di Windows per applicare le modifiche ai criteri, assicurando che siano profondamente radicate e che vengano mantenute anche dopo riavvii del sistema.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Integrazione di AppLocker<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Lo script va oltre le semplici modifiche al registro e crea anche una regola AppLocker per disabilitare il Microsoft Store, aggiungendo un ulteriore livello di sicurezza.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h2 aria-level=\"2\"><span data-contrast=\"none\">Come possono trarre vantaggio gli MSP<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h2>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Personalizzazione specifica per ogni cliente<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Grazie alla possibilit\u00e0 di escludere utenti specifici, gli MSP possono adattare il comportamento dello script per disabilitare il Microsoft Store alle esigenze specifiche di ciascun cliente.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Scalabilit\u00e0<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Che si tratti della gestione di una piccola rete aziendale o di una multinazionale, questo script \u00e8 in grado di scalare senza problemi, grazie alle sue capacit\u00e0 di automazione.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Conformit\u00e0<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Molti settori prevedono rigide linee guida di conformit\u00e0 che limitano l&#8217;uso delle applicazioni. Questo script aiuta a raggiungere la conformit\u00e0 bloccando l&#8217;accesso alle applicazioni non autorizzate dal Windows Store.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 aria-level=\"3\"><span data-contrast=\"none\">Servizio a valore aggiunto<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Gli MSP possono offrirlo come parte del loro pacchetto di sicurezza, rendendo il loro servizio pi\u00f9 interessante per i potenziali clienti.<\/span><\/p>\n<h2>Conclusione<\/h2>\n<p>Sicurezza e conformit\u00e0 sono due facce della stessa medaglia nella <a href=\"https:\/\/www.ninjaone.com\/it\/gestione-impresa\/\">gestione dell&#8217;IT<\/a>. Questo script PowerShell per disabilitare il Microsoft Store semplifica il raggiungimento di entrambi gli obiettivi automatizzando il processo per disabilitare il Microsoft Store su pi\u00f9 account utente, con opzioni personalizzabili per le diverse situazioni d&#8217;uso. Sia per i <a href=\"https:\/\/www.ninjaone.com\/it\/efficienza-it\/\">professionisti IT che gli MSP possono ottenere un notevole<\/a><span class=\"NormalTextRun CommentHighlightRest SCXW257610721 BCX0\"> risparmio di tempo, una maggiore sicurezza e una gestione semplificata incorporando questo script nei loro flussi di lavoro abituali.<\/span><\/p>\n","protected":false},"author":35,"featured_media":206956,"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":[4277],"class_list":["post-208110","script_hub","type-script_hub","status-publish","has-post-thumbnail","hentry","script_hub_category-windows"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/script_hub\/208110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/script_hub"}],"about":[{"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/types\/script_hub"}],"author":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/comments?post=208110"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/media\/206956"}],"wp:attachment":[{"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/media?parent=208110"}],"wp:term":[{"taxonomy":"script_hub_category","embeddable":true,"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/operating_system?post=208110"},{"taxonomy":"use_cases","embeddable":true,"href":"https:\/\/www.ninjaone.com\/it\/wp-json\/wp\/v2\/use_cases?post=208110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}