backing up mapped drive paths

May 14, 2013 at 07:45:49
Specs: Windows XP
I am trying to migrate a large series of users from one domain to another while at the same time swap their XP based PC for a Windows 7 one.
I have a batch script that searches for any of their files on the C:\ Drive and copies it to their network share and at the same time runs the command

net use > "%drive%\drives.log"

to produce a text file that lists their mapped drive letters and paths.

What I want is another batch file that will read this file and automatically map the network shares to the same letters they had.

How should I go about this?

If possible I would also like to expand my backup script to include any printers currently attached or mapped to the xp machine, and output that to a file that I could run on the win 7 machine to re-add all printers with as little hassle as possible.

See More: backing up mapped drive paths

Report •

May 14, 2013 at 14:13:20
This is the advantage of standardizing drive mappings and printer deployments. Instead of backing everything up you would just apply the same GPO to the win 7 pcs

Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's

Report •

May 15, 2013 at 08:37:10
Their user drive is standard, but the other drive and printer mappings vary for each office \ department (and sometimes even different users within those groups)
Additionally we are moving from an archaic flat AD structure to a new one that will have proper groups and tiers so new users or people that move departments can easily have new policies applied but currently we have very little such organisation

Report •
Related Solutions

Ask Question