login script doesn't run for administrators on windows 7


  • currently we are using login script via group policy to map drives on our xp machines... all is ok

    we are now going to windows 7, when regular users login everything works as planned (drives map)

    however, when users (in local administrators whether individual or by group) login, they do not get their mapped drives.


    as a test I took a regular user that worked, placed him in local admins, logged in again and they did not map, removed him and they mapped again.


    is there a setting whether local or domain level that I could change so everyone gets them?



    Monday, November 14, 2011 10:09 PM


  • Hi,


    At first, I'd like to confirm the fast logon and UAS has been disabled.


    For details:


    Computer Configuration\Administrative Templates\System\Logon\ Always wait for the network at computer startup and logon


    Enable the above group policy to disable fast logon.


    Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options


    Disable the above group policy to disable User Account Control, run gpupdate /force, and then reboot the computer.


    If the issue persist, please try to perform the following steps:


    There are two methods to achieve the target.


    Method 1: Net use


    1. create a batch file: net use x: \\computer name\share folder

    2. configure the batch file as a logon script.

    3. run gpupdate /force on the client and re-logon the computer.


    Method 2: Group Policy Preference


    As the OS version is Windows 7, I'd like to suggest to enable RSAT to manage the Group Policy.


    Install RSAT


    Remote Server Administration Tools for Windows 7 with Service Pack 1 (SP1)


    1. Download the Administration Tools package .


    2. Open the folder into which the package downloaded, double-click the package to unpack the files, and then start the Remote Server Administration Tools Setup Wizard.


    3. Complete all the steps that are required by the wizard, and then click Finish to exit the wizard when installation is completed.


    4. Click Start, click Control Panel, and then click Programs.


    5. In the Programs and Features area, click Turn Windows features on or off.


    If you are prompted by User Account Control to allow the Windows Features dialog box to open, click Continue.


    6. In the Windows Features dialog box, expand Remote Server Administration Tools.


    7. Select the remote management tools that you want to install, and then click OK.


    8. Configure the Start menu to display the Administration Tools shortcut, if it is not already there.


        a. Right-click Start, and then click Properties.


        b. On the Start Menu tab, click Customize.


        c. In the Customize Start Menu dialog box, scroll down to System Administrative Tools, and then select Display on the All Programs menu and the Start menu. Click OK.

           Shortcuts for snap-ins installed by Remote Server Administration Tools for Windows 7 are added to the Administrative Tools list on the Start menu.


    Group Policy Management


    1. Click Start, click  Administration Tools, point Group Policy Management.

    2. double click Forest, double click Domains, Right click the domain level, point create a new GPO in this domain and link it here.

    3. User Configuration -> Preferences -> Windows Settings -> Drive Maps

    4. there is a practice for your reference:


    Using Group Policy Preferences to Map Drives Based on Group Membership


    We need to download the adapt CSE file to apply the GPP.


    •Windows Server 2003, 64-bit edition   


    •Windows Server 2003, 32-bit edition   


    •Windows XP, 64-bit edition  


    •Windows XP, 32-bit edition  


    Hope this helps!


    Best Regards

    Elytis Cheng






    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Tuesday, November 15, 2011 1:54 AM