How to auto mapping network drive using GPO in 2k8

14,353

You should be using User Configuration > Windows Settings > Scripts > Logon

You are mapping the the drive using the 'computer user account' rather than the users own account.

Edit: You could also use the new Group Policy Preferences in 2K8 to map a drive ( make sure you have the Group Policy Client Side Extensions installed on the machines you want apply the policy to)

Share:
14,353

Related videos on Youtube

Ruth White
Author by

Ruth White

Updated on September 17, 2022

Comments

  • Ruth White
    Ruth White almost 2 years

    I have a .bat file which is

    net use z: \\....
    

    to map network drive, and tested it with no problem under win xp

    Then I try to put that as "startup script" under GPO (which is managed by 2k8 AD) -> Computer -> Policies -> Windows. After restarting computer, the script should be executed (I checked gpresult and the script is there), but the drive is not mounted. Any one have idea on what's happening ?

  • Spence
    Spence almost 15 years
    Also, bear in mind that if you go the logon script route and are logged-on as an "Administrator" the "drive" still won't be available once Explorer starts. See: serverfault.com/questions/63738/…
  • Ruth White
    Ruth White over 14 years
    Good point, thx. My script is not working before coz my XP client havent installed the KB943729.
  • Thai Quach
    Thai Quach about 11 years
    the task scheduler is also supposed to work in this scenario to map a drive at startup but i ran into permission problem even if the mapdrive batch file is ran under an admin account