Map drives on user machines using GP or script?

Posted on 2011-04-26
Last Modified: 2012-05-11
Hello Experts,

I wanted a drive to appear under My computer for my department person's pointing to new server. I moved one share to this server and pushed the changes for Group policy by right clikcing my domain name..Group policy---User configuration---Windows Settings---Scrippts--Logon---Properties---Edit ---browse---policies and found the policy for my department which is already mapping those drives:

Added another line saying

net use w:  "\\Servername\E$\Sharename"

But the new drive does not show up after log off and log in. I can manually map the drive though. My question is , is there any other place where these policies needs to be changed? Am i doing anything wrong above? I am chnging it under User Configuration---Windows settings--scripts--login, is that correct?
Thanks for your help
Question by:passion420
    LVL 7

    Expert Comment

    update your group policy on the user's system by using run:
    LVL 8

    Accepted Solution

    Have you done a gpupdate /force from the workstation?
    LVL 6

    Expert Comment

    by:Kris Montgomery

    Author Comment

    Great, I did gpupdate and gpupdate /force  logged off and logged back in and I can see new drive on my system.

    Does this mean this gpupdate has to be done for every user? what if i had like 100 users. Is there a way I can push it to run after i make change and next time a user login. may be a script or something? Thanks for your time.
    LVL 8

    Expert Comment

    All clients should update over night, so I think you will be okay. However the gpupdate command only updates teh computer that its ran on.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now