Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Delete AssignedAccess applied via MDM WMI bridge Provider
  • Screenshot 2020 06 22 at 23.27.40 1
    Install MSSQL 2019 Developer Edition and SSMS on Windows Oracle/MSSQL/MySQL
  • 5rgh65436
    New Windows 11 encryption features and security enhancements for Hybrid Work Security | Vulnerability Scans and Assessment
  • Slide1 1
    How to manage Microsoft Defender Antivirus using Group Policy and Command Line Utility Anti-Virus Solution
  • ref error
    Error: cannot lock ref ‘refs/remotes/origin/windows’: unable to resolve reference ‘refs/remotes/origin/windows’, Not a directory Version Control System
  • Azure DevOps Server
    How to Install Azure DevOps Server 2022 Automation
  • AZMFeature
    Performance and Diagnostics in Microsoft Cloud with Azure Monitor AWS/Azure/OpenShift
  • RUST FEATURE
    How to install Rust in a Linux System Linux
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization

Delete AssignedAccess applied via MDM WMI bridge Provider

Posted on 13/02/202022/02/2025 Christian By Christian No Comments on Delete AssignedAccess applied via MDM WMI bridge Provider
AssignedAccess

Assigned Access allows you to configure a device to run a single Universal Windows Platform (UWP) app in kiosk mode. In this article, we shall discuss how to delete AssignedAccess applied via MDM WMI bridge Provider. Please see how to Setup Kiosk Mode on Windows 10 with AD User Account, “Remote WMI Connection: How to enable or disable WMI Traffic Using Firewall UI“, and how to setup a Single App Kiosk Mode Configuration using MDM Bridge WMI Provider.

Note: Deleting an Assigned Access instance that was applied via the Mobile Device Management (MDM) WMI Bridge Provider involves using Windows Management Instrumentation (WMI) to remove the specific configuration.

Assigned Access allows you to configure a device to run a single Universal Windows Platform (UWP) app in kiosk mode.

Please see “How to set up a Single App Kiosk Mode Configuration using a Local Account / MDM Bridge WMI Provider“, and “How to enable or disable a Remote WMI Connection in Windows“.

Determin AssignedAccess Instance

Before proceeding, ensure that the $namespaceName and $className are correctly reference as it relates to your environment.

AssignedAccess

To find the specific instance of Assigned Access that you want to delete, you can use the Get-WmiObject command to list the current configurations.

Get-WmiObject -Namespace "root\cimv2" -Class "MDM_AssignedAccess"

This command will list all current Assigned Access configurations. Take note of the instance or ID of the one you wish to delete.

Delete an Instance (AssignedAccess)

For all device settings, the WMI Bridge client must be executed under local system user (Administrator).

To do that, download the psexec tool from  and run psexec.exe -i -s cmd.exe from an elevated admin command prompt. Or run PowerShell as an administrator to ensure you have the necessary permissions. You can use this script to delete the instance of an AssignedAccess.

Delete existing instance
{
$obj = Get-CimInstance -Namespace $namespaceName -ClassName $className -Filter "ParentID='./Vendor/MSFT/Policy/Config' and InstanceID='AssignedAccess'"
Remove-CimInstance -CimInstance $obj
}
MDM WMI bridge Provider

Ensure the right Instance ID is referenced. To see how this is done for Local account AssignedAccess.

Note: Once you have identified the specific instance. You could alternatively use the Invoke-WmiMethod command to delete it. Replace InstanceID with the actual ID of the instance you want to delete. Do not forget to replace AssignedAccess with your own “Instance ID”.

Invoke-WmiMethod -Namespace "root\cimv2" -Class "MDM_AssignedAccess" -Name "Delete" -ArgumentList "AssignedAccess"

Note: The WMI method, specifically using Invoke-WmiMethod with the Delete action, allows for more granular control. You can delete specific instances of Assigned Access rather than clearing all configurations.

Please see how to clear Assigned Access with PowerShell. To see how this command can be used, see how to create, enumerate, query and modify an instance.

Verify Deletion

To ensure that the Assigned Access instance has been deleted, rerun the Get-WmiObject command.

Get-WmiObject -Namespace "root\cimv2" -Class "MDM_AssignedAccess"

Alternative: Use PowerShell to clear Assigned Access

Clear-AssignedAccess cmdlet clears the AssignedAccess configured account settings and returns the user to default settings. It’s a simple cmdlet, open PowerShell and run the cmdlet as shown below.

PS C:> Clear-AssignedAccess

Note: This command is straightforward and user-friendly. It does not require you to specify individual instances; instead, it clears all configurations in one go.

I hope you found this article on “how to Delete AssignedAccess applied via MDM WMI bridge Provider” very useful. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Windows 10, Windows 11

Post navigation

Previous Post: Have the taskbar appear on one or both displays in Windows
Next Post: Active Directory Flexible Single-Master Operations Roles [FSMO]

Related Posts

  • How to Enable and use Sudo in Windows 11
    How to Enable and use Sudo in Windows 11 Windows
  • ETWindows
    An Overview of Event Tracing for Windows Windows
  • msinfo32 thumbnail
    How to use MSINFO32 to view System Information Windows
  • windows 7 stuck at loading screen thumbnail
    Disable the Windows welcome screen and shutdown screen Windows
  • Using the Command Prompt to add and modify the Windows registry
    How to add and modify the Windows Registry from the Command Prompt Windows
  • image 78
    How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows

More Related Articles

How to Enable and use Sudo in Windows 11 How to Enable and use Sudo in Windows 11 Windows
ETWindows An Overview of Event Tracing for Windows Windows
msinfo32 thumbnail How to use MSINFO32 to view System Information Windows
windows 7 stuck at loading screen thumbnail Disable the Windows welcome screen and shutdown screen Windows
Using the Command Prompt to add and modify the Windows registry How to add and modify the Windows Registry from the Command Prompt Windows
image 78 How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Screenshot 2020 06 22 at 23.27.40 1
    Install MSSQL 2019 Developer Edition and SSMS on Windows Oracle/MSSQL/MySQL
  • 5rgh65436
    New Windows 11 encryption features and security enhancements for Hybrid Work Security | Vulnerability Scans and Assessment
  • Slide1 1
    How to manage Microsoft Defender Antivirus using Group Policy and Command Line Utility Anti-Virus Solution
  • ref error
    Error: cannot lock ref ‘refs/remotes/origin/windows’: unable to resolve reference ‘refs/remotes/origin/windows’, Not a directory Version Control System
  • Azure DevOps Server
    How to Install Azure DevOps Server 2022 Automation
  • AZMFeature
    Performance and Diagnostics in Microsoft Cloud with Azure Monitor AWS/Azure/OpenShift
  • RUST FEATURE
    How to install Rust in a Linux System Linux
  • Fix this PC cannot run Windows 11
    Bypass unsupported CPU and Processor by upgrading to Windows 11 via Windows Update Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.