Shell Launcher updates

This commit is contained in:
Paolo Matarazzo 2025-03-10 11:46:26 -04:00
parent 2288dbe045
commit 8709e68b73

View File

@ -231,18 +231,28 @@ Depending on your configuration, you can have a user to automatically sign in to
## Remove Shell Launcher ## Remove Shell Launcher
Once you no longer need the kiosk configuration, you can remove it. Here are the options to remove Shell Launcher, select the method that best fits your needs:
Here's a PowerShell example to remove the Shell Launcher configuration: #### [:::image type="icon" source="../images/icons/intune.svg"::: **Intune/CSP**](#tab/intune)
```powershell Unassign or delete the policy that contains the configuration.
#### [:::image type="icon" source="../images/icons/provisioning-package.svg"::: **PPKG**](#tab/ppkg)
Uninstall the provisioning package that contains the configuration.
#### [:::image type="icon" source="../../images/icons/powershell.svg"::: **PowerShell**](#tab/ps)
```PowerShell
$namespaceName="root\cimv2\mdm\dmmap" $namespaceName="root\cimv2\mdm\dmmap"
$className="MDM_AssignedAccess" $className="MDM_AssignedAccess"
$obj = Get-CimInstance -Namespace $namespaceName -ClassName $className $obj = Get-CimInstance -Namespace $namespaceName -ClassName $className
$obj.ShellLauncher = $null $obj.Configuration = $null
Set-CimInstance -CimInstance $obj Set-CimInstance -CimInstance $obj
``` ```
---
## Next steps ## Next steps
> [!div class="nextstepaction"] > [!div class="nextstepaction"]