Skip to main content

Prevent Users From Mapping Network Drives

Whether you're operating In a business environment or running a home network, you will have the need to access files on another computer. Rather than physically attending the device(s) In question, you can map a network drive, thereby access whatever you need from your very own PC. Sometimes however, for privacy reasons or otherwise, you'd want to restrict users from creating new drives, thus In this tutorial, I will show you how to prevent users from mapping network drives.

Before I begin, here's what I'm referring to. In simple terms, a network drive Is basically a shortcut to another folder or drive that's located on the same network. Once It's created, It will show up as a new drive (on your computer) In File Explorer In This PC. You can then access files from the new drive, as though you're physically on the other system.

To give you visual of what I mean, I'll quickly demonstrate how to create a network drive. I've navigated to File Explorer, right-clicked This PC and selected Map network drive.

I've now hit the Browse button, to scan my network for the drive/folder that I wish to map.

After locating the computer and It's folder, I've hit OK to finalize the process.

It's now been mapped as a network drive on my computer, hence I can simply open It and access files and folders thereafter- In the same manner as any other hard disk drive.

Pretty simple, yes? I think so too. If (for example) you have multiple users sharing your computer and want to prevent them from mapping new network drives, I will show you how to do this, by using the good old Group Policy Editor. Do note that the GPE Is only available In Windows 10 Pro, Enterprise and Education editions. So without further delay, let's rip Into this tutorial.

Step One:

To access the Group Policy Editor, open the Run menu, enter gpedit.msc and hit OK.

Step Two:

The Group Policy Editor will now open, so navigate to the following directory.
User Configuration > Administrative Templates > Windows Components > File Explorer

Make sure File Explorer Is selected and on the right pane, double-click on Remove "Map Network Drive" and "Disconnect Network Drive as shown below.

Step Three:

To the left of the window, click the Enabled radio button, and then hit Apply and OK to finalize the process.

Step Four:

Here's the setting before the above Implementation was applied. I've navigated to File Explorer, clicked on the Computer tab, and the Map network drive Icon Is active, thus allowing anyone to utilize It.

Step Five:

And this Is the result after the above setting was applied. As you can see, the Map network drive Icon Is grayed out, thus rendered non-functional.

Last Step:

I've now tried accessing the Map network drive option, by right-clicking This PC, however It's not available In the context menu. Perfect!

Final Thoughts:

Now this doesn't prevent users from connecting to another computer on your network, by physically entering the directory of the drive/folder In the Run menu. However, they cannot access something If they don't know what they're looking for, can they? That's one advantage of mapping a network drive- It scans your network for the available devices and directories.

To reverse the change and have the mapping of network drives as per their original state, refer to Step Three above, and select the Not Configured radio button. Don't forget to hit OK thereafter.


Popular posts from this blog

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.

Open The Command Prompt In Any Directory

A very powerful tool native to the Windows platform, Is the Command Prompt that allows users to perform an array of tasks, such as renaming and deleting files & folders, formatting disks and the list goes on. Sometimes, you need to navigate to certain directories by executing commands, which can be a lengthy and somewhat frustrating process. As such, In this tutorial, I will show you how to easily open the Command Prompt In any directory/folder of your choice.