Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»Mapped Drive Not Showing? Here’s How to Fix It

Mapped Drive Not Showing? Here’s How to Fix It

Abhishek SilwalBy Abhishek SilwalAugust 27, 2022
mapped drive not showing

Mapped Drives are great options to link a folder to a drive or share resources on a domain. However, in some scenarios, they may not show up. Most people have encountered this issue while using Group Policy Preferences or logon scripts to create mapped drives if UAC is enabled.

The reason for the issue is how the UAC treats your Administrators user group. If you use an elevated process to create the drive, your system only makes it available to full admin users. However, when UAC is enabled, your system treats the Admin user as a standard user only, unless you are using an elevated process.

The methods we mentioned earlier all use elevated processes to create the mapped drives, so they don’t show up in your explorer, which you can’t run as admin by default. Similarly, mapped drives you create from non-admin methods don’t show up in elevated processes.

There are also other few possible reasons for mapped drives not showing. In this article, we provide the solutions for all the causes of the issue.

Table of Contents

  • Causes For Mapped Drive Not Showing
  • How to Fix Mapped Drive Not Showing?
  • Restart Windows Explorer
  • Tweak Registry Setting
  • Postpone Execution of Logon Scripts
  • Resolve Drive Letter Issue
  • Check Policies of the GPO
  • Check Item-level Targeting
  • Create New Policy
  • Check Network Settings
  • Enable SMB Protocol
  • Update Windows

Causes For Mapped Drive Not Showing

Here are the main reasons for mapped drives not showing on your PC:

  • Design issue due to UAC providing standard access token instead of an administrator token to unelevated process.
  • Mapping drive with the same letter as a previous persistent one without removing its residual settings.
  • Multiple drive mapping policies that conflict with each other.
  • Policies that delete mapped drives running alongside policies that create them.
  • Improper Item-level targeting configuration.
  • SMB protocol disabled on your system.

How to Fix Mapped Drive Not Showing?

First, make sure to run gpupdate /force on Command Prompt to force the group policy to apply. You can also run the gpresult /r command to check all active policies.

If you still encounter this issue, you can try out the following solutions:

Restart Windows Explorer

Sometimes, the mapped drive doesn’t show on your File explorer. It happens in the following conditions:

  • You created the drive in admin mode, for example using a batch script as admin or using any app with elevated privilege.
  • You have enabled User Account Control (UAC).

As we mentioned earlier, this happens because UAC handles the Administrators as standard users on unelevated processes. So, you can’t see the mapped drive on File explorer.

You can temporarily resolve this issue by restarting Windows Explorer. To do so,

  1. Press Ctrl + Shift + Escape to open the Task Manager.
  2. Go to the Details tab.
    Task Manager Details
  3. Right-click on explorer.exe and select End task > End process.
    end-explorer
  4. Select File from the menu bar and click on Run new task.
    New Task
  5. Type explorer and press Enter.

Tweak Registry Setting

The above method is only a temporary solution. To resolve it permanently, you need to configure the EnableLinkedConnections registry entry. This entry forces your system to share the network connections among all users.

This method is also useful if you created the mapped drives using a standard access token (not elevated) and want to access it from elevated processes like CMD or some apps. However, keep in mind it can compromise the security of the user computers.

Regardless, here’s what you need to do:

  1. Open Run and enter regedit to launch the Registry Editor.
  2. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    Registry navigation
  3. Check for EnableLinkedConnections and double-click on it.
  4. If it’s not there, right-click on System and select New > DWORD (32-bit) Value.
    new-dword-system
  5. Name it as EnableLinkedConnections and double-click on it.
  6. Set its Value data to 1 and click OK.
    enable-linked-connections

Restart your PC and check if the mapped drives show up.

Postpone Execution of Logon Scripts

Another method you can apply is using the logon scripts while also including a postpone script provided by Microsoft.

The script runs a task scheduler after a certain amount of time has passed since the user logged in. The task scheduler runs on elevated mode so it creates the mapped drive for elevated processes.

However, even before the scheduler runs, the logon script is automatically triggered right after logging in which makes the mapped drive available to standard users.

Here’s the complete process for the method:

  1. Open a text editor like notepad. You can enter notepad on Run to open this text editor.
  2. Copy and Paste the following script provided by Microsoft:
<job>
<script language="VBScript">
'---------------------------------------------------------
' This sample launches the application as interactive user.
'---------------------------------------------------------
' A constant that specifies a registration trigger.
const TriggerTypeRegistration = 7
' A constant that specifies an executable action.
const ActionTypeExecutable = 0
' A constant that specifies the flag in RegisterTaskDefinition.
const FlagTaskCreate = 2
' A constant that specifies an executable action.
const LogonTypeInteractive = 3
If WScript.Arguments.Length <> 1 Then
WScript.Echo "Usage: cscript launchapp.wsf <AppPath>"
WScript.Quit
End If
strAppPath = WScript.Arguments(0)
'********************************************************
' Create the TaskService object.
'********************************************************
Set service = CreateObject("Schedule.Service")
call service.Connect()
strTaskName = "Launch App As Interactive User"
'********************************************************
' Get a folder to create a task definition in.
'********************************************************
Dim rootFolder
Set rootFolder = service.GetFolder("\")
'Delete the task if already present
On Error Resume Next
call rootFolder.DeleteTask(strTaskName, 0)
Err.Clear
'********************************************************
' Create the new task
'********************************************************
Dim taskDefinition
Set taskDefinition = service.NewTask(0)
'********************************************************
' Create a registration trigger.
'********************************************************
Dim triggers
Set triggers = taskDefinition.Triggers
Dim trigger
Set trigger = triggers.Create(TriggerTypeRegistration)
'***********************************************************
' Create the action for the task to execute.
'***********************************************************
' Add an action to the task. The action executes the app.
Dim Action
Set Action = taskDefinition.Actions.Create( ActionTypeExecutable )
Action.Path = strAppPath
WScript.Echo "Task definition created. About to submit the task..."
'***********************************************************
' Register (create) the task.
'***********************************************************
call rootFolder.RegisterTaskDefinition( _
strTaskName, taskDefinition, FlagTaskCreate, _
,, LogonTypeInteractive)
WScript.Echo "Task submitted."
</script>
</job>
  1. Go to File > Save as from the menu bar to save the file with another extension.
  2. Set the Save as type to All files and File name to launchapp.wsf
    launchapp-wsf-save-as
  3. Save it on a network share.
  4. Then, create a logon script with .bat extension in the same way and save it to the network share. For example, you can create a logon.bat file with the following script:
net use Z: /delete
net use Z: "\\server\Any Server"
  1. Now, open the Group Policy Management Console (GPMC).
  2. Right-click on the GPO for which you want to create the mapped drive and select Edit.
    edit-group-policy-object
  3. Expand User Configuration > Windows Settings > Scripts.
  4. Double-click on Logon and then select Add.
    logon-script
  5. Enter the full path of launchapp.wsf on Script Name and the logon script on Script Parameters.
  6. Click OK twice.

Resolve Drive Letter Issue

The mapped drive also doesn’t show if you haven’t properly removed another drive with the same drive letter. It can happen if you persistently reserved the drive letter for one mapped drive and remove it improperly. So its residual settings still remain causing conflicts with the new mapped drive.

There are two ways to resolve this issue. You can either change the mapped drive to a separate drive letter or you can delete the residual settings of the previous mapping.

To change the drive letter,

  1. Open the Group Policy Management Console.
  2. Right-click on the GPO for which you want to change the mapped drive letter and select Edit.
  3. Go to User Configuration > Preferences > Windows Settings > Drive Maps.
    mapped-drive
  4. Double-click on your mapped drive.
  5. Under Drive Letter, change the letter in the drop-down box to an absolutely new one.
    change-drive-letter
  6. Click Apply and OK.

To delete residual settings,

  1. On the domain controller, create a Logon script using the above method with the following script while replacing the drive letter on logon.bat:
    net use Z: /delete /persistent /y
  2. You can directly use this script on Script Name. Then, click OK twice.
  3. Open Command Prompt and enter gpupdate /force.
    gpupdate-force
  4. Restart all the computers in the domain to delete the network drive settings.
  5. Then, delete this logon script from the GPO.

Check Policies of the GPO

It is also possible that you created a logon script or policy to delete all mapped drives and forgot. Or you may have created more than one drive mapping policy that are overwriting each other.

So, you should go through all the policies for the GPO and remove such policies. The best way to set a group policy for mapping network drives is to tailor individual policies for separate OUs which combine all the mapped drive policies.

Check Item-level Targeting

It’s better to use Item-level targetting on the drive mapping to set conditions and improve organization. You can use the AND, OR, IS, and IS NOT operators to set the conditions.

If you set a wrong operator, for instance, using AND instead of OR, the mapped drive won’t be available to all users or all of the mapped drive may not be available.

You need to check your Item-level targeting settings to resolve this issue. To do so,

  1. Open the Group Policy Management Console.
  2. Right-click on the GPO you need select Edit.
  3. Go to User Configuration > Preferences > Windows Settings > Drive Maps.
  4. Double-click on your mapped drive.
  5. Go to the Common tab and click on Targeting.
    item-level-targeting
  6. Make sure the rules are correct and change them if necessary.

Create New Policy

You can also try creating a new policy, but not on the default domain. You should always create new GPOs and link them to the necessary targets while creating policies. Here’s how you can do so:

  1. Open the Group Policy Management Console.
  2. Right-click on the particular GPO and click Edit.
  3. Go to User Configuration > Preferences > Windows Settings > Drive Maps.
  4. Right-click on Drive Maps and select New > Mapped Drive.
    new-mapped-drive
  5. You can set most settings according to your preference. However, make sure to set the Action option properly.
    • If the drive letter is not assigned to any mapped drive and you want to create a new one, set it to Create.
      create-option-new-mapped-drive
    • If the drive letter already exists and you want to replace it, set it to Replace.
  6. Click Apply and OK.

Check Network Settings

You can also try setting automatic DNS if you can’t see a mapped drive linking to a network resource. If the DNS servers or IP configuration of your system conflicts with the source computer, you may nor see the drive.

To do so,

  1. Open Run and enter ncpa.cpl.
  2. Right-click on your Internet adapter and select Properties.
    ethernet-properties
  3. Double-click on Internet Protocol Version 4 (TCP/IPv4).
  4. Check both Obtain an IP address automatically, and Obtain DNS server address automatically and click OK.
    automatic-dns-and-ip

Then, you need to make sure that the advanced sharing settings allow sharing of the resources. Here’s how you can do so:

  1. Go to Run and enter control /name Microsoft.NetworkAndSharingCenter /page Advanced
  2. Expand Private and enable the following options:
    • Turn on network discovery
    • Turn on automatic setup of network connected devices
      turn-on-network-discovery
  3. Click on Save changes.

Enable SMB Protocol

Mapped drives use the Service Message Block (SMB) protocol, which is a network protocol that helps in file sharing. So you need to make sure to enable this protocol to prevent any issues with the mapped drives.

The latest Windows use SMB2 instead of the older SMB 1.0, so you need to check for it. Here’s how you can do so,

  1. Open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open the Elevated Windows PowerShell.
  3. Enter the following command to check if SMB protocol is enabled:
    Get-SmbServerConfiguration | Select EnableSMB2Protocol
  4. If it’s not, enter:
    Set-SmbServerConfiguration -EnableSMB2Protocol $true
  5. Type Y and press Enter to confirm.
    enable-smb-2

However, if you are using any Windows earlier than Windows 10 version 1709 or Windows Server version 1709, you need to enable SMB 1.0. To do so,

  1. Open Run.
  2. Enter optionalfeatures to open the Windows Features app.
  3. Look for and tick SMB 1.0/CIFS File Sharing Support and click OK.
    enable-smb-1

Update Windows

It is also possible that some buggy update is causing problems with your mapped drives. Microsoft will surely release the patches for such bugs, so you should install any updates as soon as they are available, especially cumulative updates.

If you started encountering this issue after a certain update and the previous solutions didn’t help, uninstall the latest update to roll back your system.

fix
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

computer suddenly slow

Why is My Computer Suddenly Slow? 11 Ways to Fix It

March 31, 2023
scheduled task reboot

How to Create a Reboot Scheduled Task in Windows

March 31, 2023
slow computer startup

14 Ways to Fix Slow Computer Startup

March 26, 2023
boot loop

14 Ways to Fix Windows Boot Loop

March 19, 2023
how to change windows startup sound

How to Change Windows Startup Sound

March 17, 2023
scan disk windows 10

How to Scan Disk Windows

March 16, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
what-does-collate-mean-on-a-printer

What Does Collate Mean on a Printer?

March 31, 2023
usb-vs-pcie-wifi

USB Vs PCIe Wi-Fi—Which One is Better?

March 31, 2023
how often to replace laptop

How Often Should You Replace a Laptop

March 29, 2023
You may also like
computer suddenly slow

Why is My Computer Suddenly Slow? 11 Ways to Fix It

March 31, 2023
HTTP-Error-431

How to Fix HTTP Error 431

March 31, 2023
scheduled task reboot

How to Create a Reboot Scheduled Task in Windows

March 31, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.