none
Loginscript via GPO does not work when local admin

    Question

  • Hi

    We are in the middle of deploying Windows 8.1 to our
    organization. We are using Windows 7 Pro today. We a mapping network drives
    with a logon script via GPO. It is done with the good old net use commands that
    has been working for years e.g.:

    net use K: \\server1\Data /PERSISTENT:YES
    net use L: \\server1\Design /PERSISTENT:YES

    It works perfectly on Windows 7, but on the new
    Windows 8.1 machines, no network drives are mapped. I can see that the GPO are
    applied fine to the machines. It seems to have something to do with UAC and the
    fact that the users is local admins. If I remove the use from the administrator
    group, the script works fine and the drives are mapped just like in Windows 7 (5
    minutes delayed, but it works...!). If I keep the user in the administrator group
    and instead disable UAC by setting the EnableLUA to 0 in the registry it works
    too, but then it gives me a lot of other issues with Metro apps and the Windows
    Store.

    Has anyone found a good solution to map network drives
    for users that needs to be local administrators, without disabling UAC completely
    in the registry?

    Any help would be appreciated!


    Thomas | MCP | http://www.techwork.dk



    Thursday, April 10, 2014 2:22 PM

Answers

All replies

  • Have you tried using Group Policy Preference Drive Maps, instead of a script?
    Thursday, April 10, 2014 4:48 PM
  • Thank you Techguy

    "Group Policy Preference Drive Maps", does not just resolve my issue it does also give me some a lot of new awesome options I don't have with net use commands via GPO :-)

    I have not tested it with Windows 7 yet, but I am pretty sure it will work there too


    Thomas | MCP | http://www.techwork.dk


    Friday, April 11, 2014 11:43 AM