We use mapped drives for a lot of our data. We recently moved the location for one of our drives. The old paths would normally be as follow

N:\School Info1\Type\Shoot Number\Person1
N:\School Info1\Type\Shoot Number\Person2
N:\School Info1\Type\Shoot Number\Person3

And so on for different folders all in the same location. I am trying to make a script that I could run to make it so it replaces the N:\ for a Y:\ instead. Any suggestions?

Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Answer Chosen by the Author

use can do net use /delete on the n: drives and net use to map them back to y:

or use a script to setup active sync to make the changes to HKEY_CURRENT_USER\Network\
There you should see whatever network drives you have mapped, as a list of letters.

if you are in a domain you can use a gpo to do this also
Answered 07/20/2016 by: SMal.tmcc
Red Belt

Please log in to comment


Thank you for the help
Answered 07/22/2016 by: Strawbridge
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja