Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Mapped Network Drives Not Showing in Elevated Programs

by | Apr 23, 2021

Worried about Mapped Network Drives Not Showing in Elevated Programs? We can help you.

Sometimes, mapped network drives will not be shown in the apps running with administrator privileges (including cmd and PowerShell).

Here at Bobcares, we handle requests from our customers using Windows servers to fix similar issues as a part of Server Management Services.

Today, let us see how our Support techs resolve this issue for our customers.

 

Causes for Mapped Network Drives Not Showing in Elevated Programs

 

Today, let us see the causes for the error:

1.  Firstly, Network drives are mapped in the user’s session

2. Secondly, UAC is enabled on the computer

3. The current user has local administrator permissions on the computer and runs the app in the “Run as administrator” mode.

 

Mapped Network Drives not showing in Windows Apps – How to fix

 

Firstly, We need to open a command prompt with user permissions and check if we can access the contents of the mapped network drive Z:\.

Net use
Dir z:

mapped network drives are not showing in elevated programs

This command must list the contents of the shared network folder.

Later, open the command prompt in the current session as administrator and try to access the same drive, we will receive the message that the path to the drive has not been found:

The system cannot find the path specified.

This action of Windows can cause some issue when we frequently run applications in elevated mode.

As a workaround,  using the below commands mount network drives from the elevated command prompt:

net use
or
rundll32 SHELL32.dll,SHHelpShortcuts_RunDLL Connect

Below solution to fix the ‘Mapped Network Drives not showing in Windows Apps’ issue is much easier

Enablelinkedconnections: Enabling Mapped Drives in the Elevated Apps

 

In order to implement it, we need to make some changes to the registry:

1. Firstly, open the registry editor (regedit.exe).

2. Then, go to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

3.  After that,  create a new parameter (DWORD type) with the name EnableLinkedConnections and the value 1.
The same change can be done with the following command:
reg add “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System” /v “EnableLinkedConnections” /t REG_DWORD /d 0x00000001 /f

or with PowerShell:

New-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System’ -Name EnableLinkedConnections -Value 1 -PropertyType ‘DWord’

4. Finally, restart the computer or restart the LanmanWorkstation service with the command:

get-service LanmanWorkstation |Restart-Service –Force, and re-logon Windows

At the end, make sure that the user can see the mapped network drives in programs running with admin rights after restarting the computer. The reverse statement is true: all network drives mapped in the elevated mode will also be available in the unprivileged user session.

 

Conclusion

In short, we saw how our Support Engineers fix ‘Mapped Network Drives Not Showing in Elevated Programs’ issue for our customers.

Are you using Docker based apps?

There are proven ways to get even more out of your Docker containers! Let us help you.

Spend your time in growing business and we will take care of Docker Infrastructure for you.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF