How to Remove “Map network drive” Context Menu in Windows 11 or 10?

Posted by

Windows 11/10 allows you to map a network drive or folder so that you can easily access it whenever needed. You can even assign them a drive letter like a local drive so that it will look like your other physical drive on your PC and appear in File Explorer.

By right-clicking This PC icon on your desktop, you can quickly map or disconnect a network drive. When you right-click This PC icon on your desktop, you’ll find two options: Map network drive and Disconnect network drive.

You can also access these two options from the File Explorer toolbar if you open File Explorer on This PC.

If you don’t access network resources frequently and find these options unnecessary, you can hide them.

There are at least two methods available on Windows 11 and 10, using which you can remove the “Map network drive” and “Disconnect network drive” options. You can use either Group Policy or Registry Editor. We will review both these methods, and you can follow either, which you find easy.

How to Remove “Map network drive” and “Disconnect network drive” Context Menu using Local Group Policy Editor?

If you prefer to use Local Group Policy Editor, here are the steps to remove the “Map network drive” and “Disconnect network drive” context menu items in Windows 11/10:-

Step 1. First, open Local Group Policy Editor.

Step 2. Then, navigate to the following path in the left sidebar of Local Group Policy Editor:-

User Configuration > Administrative Templates > Windows Components > File Explorer

Step 3. On the opposite side of the “File Explorer” folder, double-click the policy “Remove Map Network Drive and Disconnect Network Drive” to edit it.

Step 4. Select Enabled.

Step 5. Click Apply.

Step 6. Click OK.

Step 7. At last, reboot your PC to apply the changes.

How to Hide “Map network drive” and “Disconnect network drive” Context Menu through Registry Editor?

To hide the “Map network drive” and “Disconnect network drive” context menu through Registry Editor in Windows 11/10, use the following steps:-

Step 1. Very first, open Registry Editor.

Step 2. Then, browse to the following path on the left side of the Registry Editor window:-


Step 3. Next, right-click on the Explorer key and select New > DWORD (32-bit) Value.

Step 4. Name the newly created REG_DWORD as NoNetConnectDisconnect.

Step 5. Now, double-click on the NoNetConnectDisconnect REG_DWORD and set its “Value data” to 1.

Step 6. Click OK.

Step 7. Finally, reboot your computer to see the changes.

To revert the changes, you need to NoNetConnectDisconnect REG_DWORD, which you have created in the above steps.

Good luck.

Leave a Reply

Your email address will not be published. Required fields are marked *