Windows 2003 AD login script asks for credentials on Windows 7 Pro PCs

Posted on 2011-05-03
Last Modified: 2012-06-22

We have both Windows XP and Windows 7 PCs on a Windows Server 2003 domain.  The login script runs fine on Windows XP machines, but on Windows 7 machines, the login script asks for a username and password.  If we put in the username and password, the drives still don't map anyways.  We will post more details as they become available as we are just getting started with troubleshooting this issue.

Question by:miket71

    Author Comment

    If we browse to the Netlogon share or the Group Policy object manually, and run it from there, it works fine.

    Author Comment

    In Windows 7, if we try to browse to a Windows 2003 Server (i.e. \\server01), it says "Accessing the resource \\server01 has been disallowed."  We are wondering if this is causing the login script issue.

    Author Comment

    When attempting to map a drive to a share on a Windows 2003 server from a Windows 7 PC with the CMD window, it asks for credentials as well.
    LVL 9

    Accepted Solution

    A couple questions.

    Are the Win 7 PCs getting any kind of GPO settings to prevent the Run dialog on the Start menu? may want to double check. That would prevent browsing to a share and give you the "disallowed" message.

    User Configuration > Administrative Templates > Start Menu and Task Bar > Remove Run menu from Start Menu

    Also.. login scripts run differently on Win 7 when UAC is on. You need a wrapper script to create a task which will then run the real login script. You can read more about it here:

    Assisted Solution

    After doing some more searching while waiting here, we found Run disabled, so we put it back to Not configured.

    We also turned Traverse Folder/Execute File on for a single shared folder in the security settings which stopped the login script from asking for a userID and password.

    Author Comment

    We continued researching while waiting for an answer here.

    Author Closing Comment

    We did some more searching while waiting here.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    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 change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
    This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

    734 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

    20 Experts available now in Live!

    Get 1:1 Help Now