By mapping a network drive, you can access files and folders like an FTP server on Windows 10. It is relatively straightforward to map a network drive via Windows File Explorer as well as Group Policy Editor. If you do not want to allow other users to map a network drive or disconnect from the connected network drive, it is better to change settings.
Remove Map Network Drive & Disconnect Network Drive options
To remove ‘Map network drive’ and ‘Disconnect network drive’ options from This PC in Windows systems, follow these steps- Let’s check out these steps in detail. At first, open the Local Group Policy Editor on your computer. For that, pressWin+R, type gpedit.msc and hit the Enter button. Alternatively, search for gpedit.msc in the Taskbar search box, and click on Edit group policy in the search result.
After opening the Local Group Policy Editor on your Computer, navigate to this path- Search for the Remove “Map Network Drive” and “Disconnect Network Drive” setting on the right-hand side and double-click on it. By default, it is saved as Not configured. Select Enabled, click on Apply and OK buttons to save the change. For your information, there is a Registry Editor tweak for this purpose as well.
For that, open the Registry Editor, and navigate to this path- Next, create a DWORD (32-bit) value, and name it as NoNetConnectDisconnect. The default value is 0, but you need to make it as 1. That’s it! From now onward, you won’t find those two options enabled in This PC.