I was grazing through the threads and ran across this one. I've been manually editing the registry and re-booting for some time. This is working fine, thanks I Install my home systems from the the home LAN. Each system is different, and having this just scan the system disk for the DVD/CD's (DVD.?, CDR.?) and the disable drives (DRIVE-.?) wouldn't work. I played around with your batch file and changed the logic a bit. The batch now searches the system disk, and all other disk. If it finds dvd or cd's or disable drives (DVD.?, CDR.?,DRIVE-.?) on another drive it clears the variable for those and uses what it finds. So the last disk it finds this info on will be what is used. I've just used batch files for simple things, even though your put lots of comments in your program, I think what I did was correct. I feel this is just a step in the same direction you are using with having the DRIVE.? on the drive needing to be re-assiged. I've done some testing with my version and it seems to be working. I'll attach it here so it can be furthur tested. filename=MapDrive-WORK.cmd I've never attached a file on this group; and the preview doesn't show it even though its been uploaded, so I hope it gets attached. Joe MapDrive_WORK.cmd