Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
Phi123

Missing Registry Key PEBootRamdiskSourceDrive during WinPE

Recommended Posts

Hello All,

 

I created a Windows 7 x64 based WinPE image with basic drivers for SSD.  This WinPE image is primarily used to capture/deploy Windows 7 image on a monthly basis.  I have DOS commands in startnet.cmd to automate this process.  When booting from USB flash drive, the script reads drive letter from "PEBootRamdiskSourceDrive" registry value in HKLM\System\CurrentControlSet\Control.

 

This has been working fine on existing USB flash drives - both USB 2.0 and 3.0.  I bought couple Kingston DTR3.0 G2 64GB flash drives recently... when I boot to these flash drive, the registry value with drive letter in PEBootRamdiskSourceDrive is not seen.  Registry value in PEBootType says Ramdisk:SourceUnidentified.  I am puzzled with this behavior and looking for clues.

 

Appreciate any tips / pointers.  Thanks!

Share this post


Link to post
Share on other sites

Wild guess :w00t::ph34r:, mind you, but it is possible that those new sticks are set as "Fixed" media and this *somehow* affects the behaviour of the booting PE.

 

Basically 99.99% of USB 2.0 sticks are set in factory as "Removable".

 

Some of the fastish USB 3.0 are not anymore a USB stick, but rather a USB to SATA bridge with attached to it a SATA (miniaturized) SSD and they thus come as "Fixed".

 

Since all in all the drive letter is linked to the volume GUID in DosDevices and a hard disk like device (Fixed) uses disk signature+offset as identifier while a Removable device uses a different method, it is possible that the issue revolves around this.

 

Another reason might be if (for whatever cause) the wpeinit.exe is not executed.

 

Try running:

wpeutil updatebootinfo

https://technet.microsoft.com/en-us/library/dd744592(v=ws.10).aspx

 

And see if it makes a difference. :unsure:

 

In any case you can check in the batch (which contains NOT "DOS commands" but rather Windows Command Line ones)  for the presence of a "tag" file in the available drives and set your variable with the drive letter resulting from the check.

Not entirely unlike we did in the good ol' times:

http://www.msfn.org/board/topic/137714-install-xp-from-a-ram-loaded-iso-image/?p=895361

http://www.msfn.org/board/topic/120444-how-to-install-windows-from-usb-winsetupfromusb-with-gui/page-72#entry1005836

 

jaclaz

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...