system reserved partition drive letter diskpart is adding a drive letter for the system reserved partition
Posted 26 July 2012 - 12:52 PM
I'm trying to get the install so that it looks like a standard windows install and cannot for the life of me figure this out.
I've even tried this on the volume - in the pre and post configuration.
sel disk 0
sel vol 1
attributes vol set nodefaultdriveletter
Posted 31 July 2012 - 08:26 AM
here's how I'm doing it
- boot into winpe
- map drive
- run diskpart script - standard script from microsoft
select disk 0
create partition primary size=300
select partition 1
format fs=ntfs label="System Reserved"
create partition primary size=102400
select partition 2
format fs=ntfs label="Windows" quick
- Then apply the wim file to the windows partition
imagex /apply f:\2008r2\2008r2ent.wim 1 w:\
- Then run these commands to make the device bootable
bcdboot w:\windows /s w:
bootsect /nt60 w:
after that re-boot and off I go.
Posted 01 August 2012 - 05:27 AM
I only capture the windows partition not the system reserved partition, I'm thinking about doing that next and then recreating the boot files.
I've also tried not assigning a drive through diskpart and the drive is still getting created.
Posted 01 August 2012 - 09:44 AM
Posted 01 August 2012 - 10:52 AM
You right this is only for GPT and don't work with MBR.
So i guess while the Windows Setup create the system reserved it also set a new registry setting for the new Windows installation, that prevents a drive letter.
Posted 02 August 2012 - 07:11 AM
rem remove system reserved drive letter
diskpart /s removehiddent.txt
removehidden.txt has the following lines in it..
SEL VOL 0
Where d: is the drive that always gets assigned to the system reserved partition.
It's got to be something sysprep / winpe is doing because when I boot off my winpe cd I see two drive letters.
Posted 02 August 2012 - 08:16 AM
- ← 3rd party drivers
- Unattended Windows 7/Server 2008R2
- Issue with Windows 2008 R2 Unattended installation for Japanese Langua →