
The basic line to apply the drive mapping is still the same: Net Use X: \\ServerName\ShareName txt extension is not automatically added, place quotes around the file name such as “MyScript.bat”. The script is written in a text editor like “notepad” and saved with a. The script could be written using VBS or other languages, but for simplicity I will stick to DOS commands. Alternate methods to apply a batch file are discussed later, but I will take this opportunity to discuss the script itself and the syntax. Though this method of applying the batch file is not at all practical, using a batch file is a reasonable option. The next step up would be to apply the Net Use commands using a batch file (also called script) which the user can apply by clicking on a desktop shortcut or by adding it to the start menu “StartUp” folder. Though probably even less practical, the option also exists to duplicate the above from a command line by simply using: Net Use X: \\ServerName\ShareName /persistent:yes 3) A batch file The latter to be addressed with the deployment methods #3 and on. The other primary downside to this option is end users can override, delete, and add their own mappings which may conflict with mappings you are trying to push out from the server. This is hardly a reasonable way to deploy mapped drives to multiple users as it would require going desk to desk.
Group policy mapped drives windows 7#
The option still exists with Windows 7 to open windows Explorer, click on the menu bar, select “Map a network drive”, select the drive letter and path, and choose whether to reconnect at next logon. I am sure this article is a very basic review for most, so I have titled each so that you can quickly locate methods that may be of interest, or skip to using group policy near the end like any good “cliff hanger”. Though these methods still work as well today as they did 10 to15 years ago, if enlightened these folk might find some of the newer options using group policy and preferences easier to manage and apply, in a windows domain environment. A recent discussion with a colleague revealed that many IT pros still use the same methods they used with NT4, during the last century.

We have all been mapping drives using various methods so long as we have had networked computers.
