Windows – Auto-mapping network drive when a user logs in

home-drivemappeddrivewindows

I used to know how to do this a few years ago, but I can't remember how I did it. I have one machine that is used by 5 different people. I need to map their home drive/folder when a user logs in with their credentials.

The client OS is Windows XP. The home folders are on a Windows 2003 R2 file server. There are no domains, and only a single workgroup in the network.

I would greatly appreciate it, if anybody could point me to a blog, article, or knowledge base that explains how to do this.

Thanks!

Best Answer

I have typically done this with one of the following two methods:

  1. For machines logging into a domain (WinXP Pro only, not WinXP Home), create a batch login script that executes "net use" commands, or
  2. Create a bat script that uses "net use" commands and put it or a shortcut to it into the startup folder:

C:\Documents and Settings\<USERNAME>\Start Menu\Programs\Startup

or

C:\Documents and Settings\All Users\Start Menu\Programs\Startup

Related Topic