Windows 2003

Posted on 2006-05-07
Last Modified: 2011-09-20
Hello is there a way to automatically map network folders to the desktop for specific users that logon to different computers within a domain? And if this is possible, how?
Question by:elyrodriguez
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Give a few examples of what/how you want this work.

    Typically, IF I understand what you are talking about, it's done through scripts.

    Author Comment

    I have the CFO jumping through different computers on the building and he has 2 network folders and the company application that he uses from the desktop. this guy has like 0 patience and frustrates quickly.

    so I want to figure out a way for the network folders and the applications to be on the desktop when he logs on to any computer.  
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Programs need to be installed on the machine and can't (usually) be shared on the network.  If you have Active Directory, you can package the "company application" and assign it to an OU with his user account.  Then the app may follow him around.  As for the network drives, script them - set his logon script with these two commands (change them to be appropriate for your network):

    If Exist x:\ Net use x: /delete
    If Exist y:\ Net use y: /delete
    if "%uername%" == "CFOAccountName" Net Use x: \\Server\Share1
    if "%uername%" == "CFOAccountName" Net Use y: \\Server\Share2
    LVL 1

    Accepted Solution

    leew is correct. now place that script text in a notepad document. save as "filenamehere.bat" place this file in the sysvol, logon script, domain folder in your windows drive of your server.  go to active directory users, click on the profile tab. put the filename in logon script box. have them logon.
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Excuse me - didn't I provide the script?  What's the deal not splitting the points?  Even your accepted answer credited me!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    I was recently sitting at a desk at work with one of my colleagues and needed some information on my home computer. He watched as I turned on my home computer, established a remote session into it, got the information I needed and then shut it down …
    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    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.

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now