Sysprep and Drive Letter Assignment

M

me

How do you assign permanent drive letters and keep them
after Sysprep runs? When I make my DVD-ROM G: and then
run sysprep, the letter is reassigned by Windows to the
next available letter starting from C:. Therfore it makes
the DVD D: instead of keeping it at G:.

Thanks!!!!
 
H

Hawkens

Use Diskpart and a script to re-assign the drive letters
during Mini Setup or Windows Welcome and include this in
your cmdlines.txt

Diskpart /s C:\Sysprep\Script.txt

Script.txt
Sel Vol 0
Assign Letter=G:
exit

Now in the C:\Sysprep folder created the following
directory structure: c:\Sysprep\I386\$OEM$

Create a cmdlines.txt and copy it to you're
c:\sysprep\I386\$OEM$ folder.

Example Cmdlines.txt:

[Commands]
"c:\Windows\System32\Diskpart.exe /s
C:\sysprep\script.txt"

Add the following information to the Sysprep.inf in
the C:\sysprep folder.

[Unattended]
InstallFilesPath = "C:\Sysprep\i386"

Now you can reseal the system using Sysprep.

Hawkens
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top