Windows 7 Not Mapping Drives

Posted on 2011-10-10
Last Modified: 2012-05-12
Our system environment is pretty vanilla. We have W2003 servers and up till recent all WXP workstations. We have recently rolled out a couple of W7 Pro workstations. Most everything has gone ok except we notice that often the mapped drives to not get mapped on the W7 computers. This has never been the case on our WXP Pro computers and we use the same batch file for all workstations.

Any suggestions on what we should check?
Question by:bnrtech

    Expert Comment

    Have you tried renaming the .bat files to .cmd and changing the Active Directory Users and Computers settings under the profile tab so that the login script is the login.cmd instead of login.bat?

    Does the same issue exist after that?
    LVL 66

    Accepted Solution

    Programs may be unable to access some network locations after you turn on User Account Control in Windows Vista or in Windows 7

    First thing that comes to mind......

    Expert Comment

    Johnb, good point, this could be the File and Print Discovery settings under Network Connections.

    You could try going to Control Panel, then Network and Sharing center.
    Click Change Advanced Settings.

    Turn on network discovery and Turn on File and Printer Sharing for the domain profile or home profile depending on what you set the network up as.

    LVL 13

    Expert Comment

    The problem should be come from Windows 7 UAC (User Account Control )...

    1. Due to Windows 2003 DC, you should installed RSAT (Remote server administration tools) for Windows 7 GPO editing

    2. And then create new OU through RSAT to change UAC setting for Windows 7 desktop drive mapping
    LVL 38

    Expert Comment

    You must have elevated priveleges in order to run batch files on W7. For one, AS JOHNB STATED, UAC blocks it. Also, command prompt commands also need elevated priveleges....

    This is why I switched to a VB Script for mapping:

    Author Comment


    I will try these items tomorrow. Thanks.

    One tidbit I neglected to mention. If I copy the login batch file to the startup group on the computer they seem to run ok and the drives are mapped without any issue
    LVL 38

    Expert Comment

    I believe W7 also deploys a form of Internet Explorer Enhanced Security, in addition to User Access Control:

    About IEES:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
    This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now