ginolard Posted April 11, 2005 Posted April 11, 2005 Hi all,We're creating an Unattended Install from a network distribution point (i.e. no CD). However, post-installation, we would like to automatically re-assign the CDRom drive letter to Z:Are there any easy (silent) ways to do this?
tguy Posted April 11, 2005 Posted April 11, 2005 Sure, you can use the diskpart.exe utility from MS.Create a text based batch file and paste these lines into the file:select volume 0 assign letter ZSave the file as something like diskpart.txt. Then create a batch file to call diskpart.exe with the following parameters:cmdow @ /HID@echo offREM ***Change CD-ROM drive letter to Z:***%SYSTEMROOT%\SYSTEM32\DISKPART.EXE /s %SYSTEMROOT%\SYSTEM32\diskpart.txt
ginolard Posted April 11, 2005 Author Posted April 11, 2005 Excellent. Thanks a lot for the fast reply.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now