General discussion

Locked

How to re-map drives in roaming profiles

By RobertD. ·
Currently I have mapped drives on W2k clients (who use roaming profiles) to a W2k file server. The mapped drives were made manually and then the roaming profiles were copied as I made new user accounts. I want to install a new W2k file server with anew name which will replace the current W2k file server. Can I re-map the drives from the server end (maybe using some kind of utility) to avoid re-mapping each roaming profile at every workstation with the client logged on?
Thanks for the help, it's greatly appreciated. Robert

This conversation is currently closed to new comments.

10 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to re-map drives in roaming profiles

by XiaXiong In reply to How to re-map drives in r ...

Write a login script (such as login.cmd) which includes net use commands such as:

net use g: \\server\folder\

In the user properties in W2K Server, choose the profiles tab and enter the path and filename of the login script.

HTH

Collapse -

How to re-map drives in roaming profiles

by Shanghai Sam In reply to How to re-map drives in r ...

Poster rated this answer

Collapse -

How to re-map drives in roaming profiles

by Cory.Sharplin In reply to How to re-map drives in r ...

I run this at work and I fully recommend it worth a look see full logon management has done away with our need for roaming profiles.

enterprise logon script management tool for Microsoft based networks

http://www.sunbelt-software.com/product.cfm?id=299

Scriptlogic now allows you to validate each function (drive map, printer deployment, security policy, Internet, MS Office setting, registry change, etc.)

Collapse -

How to re-map drives in roaming profiles

by Shanghai Sam In reply to How to re-map drives in r ...

Poster rated this answer

Collapse -

How to re-map drives in roaming profiles

by Joseph Moore In reply to How to re-map drives in r ...

I think Answer1 is the best solution to go with, but if you don't want to use login scripts, then there is a way.
You can import the roaming profile's NTUSER.DAT file into REGEDT32 and modify the drive mapping paraters. You should be comfortable with working with the Registry to do this!

First read Technet article Q146050:
http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q146050
(please remove any spaces)
This article tells you the basics on how to load a remote NTUSER.DAT file (which contains the HKEY_USERS Registry hive, where drive mappings are stored). Do steps 1-6 in the article; you want to load the NTUSER.DAT file for one of your remote profiles.
This takes you to step 7. Now, the key you want is HKEY_USERS\S-####(the SID for the user profile you want to change)\Software\Microsoft\Windows\CurrentVersion\Explorer\Map Net
You are gonna have values of a, b, etc., and each one will have a Value Data of a drive mapping.
Just double-click the drive mapping that you want to change; change it to whatever you want and click OK.
At this point, you would go back to the Technet article and Unload the Hive (step .

That is it.
The roaming profile should now be changed. The next time the user logs in with the profile, it should show the new drive mapping.

Collapse -

How to re-map drives in roaming profiles

by Joseph Moore In reply to How to re-map drives in r ...

Good luck!

Collapse -

How to re-map drives in roaming profiles

by Shanghai Sam In reply to How to re-map drives in r ...

Poster rated this answer

Collapse -

How to re-map drives in roaming profiles

by baddragon In reply to How to re-map drives in r ...

Answer 1 is on the write track. Write a login script call in login.bat, when client is defined use the new one. In the login script do:

net use x: \delete x being the manual drive
this will kill that connection.

then
NET TIME \\server /SET /Y to synchronize the time on station
NET USE I: /HOME to setup home dir.

NET USE T: \\server\PUBLIC$ /y for other maps
NET USE P: \\server\INFO$ /y


its simple but works.

Collapse -

How to re-map drives in roaming profiles

by Shanghai Sam In reply to How to re-map drives in r ...

Yeah, simple but worked well and got the mapped drives changed so I could use the new file server. Thanks, Robert

Collapse -

How to re-map drives in roaming profiles

by RobertD. In reply to How to re-map drives in r ...

This question was closed by the author

Back to Windows Forum
10 total posts (Page 1 of 1)  

Related Discussions

Related Forums