Question Locked

How can I permanently map network drives

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can I permanently map network drives to NOT be dependant on a logged in account?
in windowsXP , where even if the option to remap on login is selected, XP will not do so and I manualy have to explore and open the corresponding mapped drive icon.

4 replies

by rob miners

Use gpedit.msc to add a startup script to the PC.

The logon script could be a simple batch file containing the lines below. The first line will delete the existing Share and the second will Recreate it everytime a user logs in.

net use x: \\PC\share /Delete
net use x: \\PC\share

by 1bn0

Put the lines in a batch file and puit the batch file in "C:\Documents and Settings\All Users\Start Menu\Programs\Startup".

Runs for every user that logs on and if something happens to the drive mapping they can just rerun the batch file by clicking on it in the start menu.

by rob miners

It could also be added to the Registry with the reference below saved as a .reg file modified to suit. But if there is no physical connection nothing will connect anyway.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"MyDrives"="C:\drvcon.cmd"

Or you can do it manually by navigating to: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

Then right click in the right hand pane and select New, String Value

Type in MyDrives and press enter, press enter again and type in C:\drvcon.cmd click OK.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome. ;) :D

This discussion is closed to new replies.