Hello
Thank you for posting in Microsoft Community forum.
Based on your description, here are some possible workarounds
1: Use Computer Management to unmap
Right-click on "This Computer" or "My Computer" and select "Manage".
In the computer management window, look for "Disk Management" under "Storage" on the left.
In the Disk Management window on the right, locate the drive labeled M drive.
Right-click on the M drive and select "Change Drive Letter and Path...". Then select the M drive and click the "Delete" button to confirm the operation.
2: Use the Command Prompt
If you can't find the drive at the command prompt, it may be in the form of a network drive. You can try the following steps:
Enter "cmd" in the Windows search box, find "Command Prompt", right-click and select "Run as administrator".
Run the following command to unmap the M-drive (assuming the M-drive is a network drive):
net use M: /delete
If successful, you'll see a prompt that says "Command completed successfully."
3: Use the Windows Registry (Advanced Users)
If the above two methods don't work, you can try to remove the drive mapping through the registry editor. Please note that modifying the registry is risky and it is recommended to back up the registry before modifying it.
Press Win + R, type regedit, and then press Enter.
Locate the path HKEY_CURRENT_USERNetworkM.
Right-click on the "M" folder and select "Delete".
When you're done, restart your computer for the changes to take effect.
4: Apply via Settings
Open settings. Navigate to the app:
Click on "Apps" -> "Apps & Features".
If you're using Google Drive desktop, trying to find and uninstall it may help you unmap.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Regards,
Jill Zhou