Windows 10: Driver Letter Change Post Sysprep

  1.    05 Aug 2015 #1

    Driver Letter Change Post Sysprep


    Preparing upgrade to 10
    Did clean install Window 7 to customize, sysprep, image, install on several duplicate PCs prior to upgrade
    1st drive is SSD, 2nd is HDD
    SSD partition c: os and d: virtual box
    HDD e: data
    wrote answer file move user and program data from c: to e:
    Something happened post sysprep and partition letters switched d and e
    Stupidly, I changed the drive letters in windows and now can't get into profile
    There is a shortcut to e on the d partition of SSD
    Tried reassigning letters using diskpart but they don't remain when entering windows but go back to the wrong assignment.

    I googled this and apparently it happens but I don't know why. I can only think that I was lucky to image the clean OS however if I can fix this it would save me time. If not, I will get rid of the d: partition and put that post sysprep


    Here is the answer file
    < ?xml version="1.0" encoding="utf-8"?>
    < unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <FolderLocations>
    <ProfilesDirectory>E:\Users</ProfilesDirectory>
    <ProgramData>E:\ProgramData</ProgramData>
    </FolderLocations>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OEMInformation>
    <Logo>C:\log.bmp</Logo>
    <Manufacturer>Sandparrot Computers</Manufacturer>
    <Model>Asus MB: M5A97 SN: E9M0AJ424098</Model>
    <SupportHours>Asus: M F 5:30A11:00P PST S &amp; S 6 A-6P</SupportHours>
    <SupportPhone>Asus MB: 812-282-2787</SupportPhone>
    <SupportURL>www.asus.com/support</SupportURL>
    </OEMInformation>
    <CopyProfile>true</CopyProfile>
    </component>
    </settings>
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserData>
    <AcceptEula>true</AcceptEula>
    </UserData>
    </component>
    </settings>
    <cpifflineImage cpi:source="wim:h:/software3/en%20-windows_7_professional_with_sp1_x64_dvd_u_676939/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    < /unattend>

    I can't seem to fix this problem
      My ComputerSystem Spec

  2.    05 Aug 2015 #2

    Hi there

    Right mouse click on the Windows symbol (Start menu) and choose Disk management. Right mouse click as normal mouse click just brings up the start menu. (You can also use Win+X on the keyboard).

    Now you can choose Change drive letter and path -- right mouse click on the partition images (lower half of the image).

    If the Target letter is already assigned -- say you want to swap D and E -- just re-assign as F and G and then (you might have to re-boot first - not always though) and the re-assign again to E and D (now swapped !!).

    Cheers
    jimbo
      My ComputerSystem Spec

  3.    05 Aug 2015 #3

    jimbo45 said: View Post
    Hi there

    Right mouse click on the Windows symbol and choose Disk management

    Now you can choose Change drive letter and path -- right mouse click on the partition images (lower half of the image).

    Cheers
    jimbo
    When I found that the drive letters had changed, if you look at my post carefully...that is exactly what I did.
    As a result, I cannot get into my profile.
    Using Refelct Win PE I got into command prompt and attempted to change drive letters back to the wrong one so I could at least get into my profile. The drive letters DID change when I did a list drive and list volume command. (I used volume command to change the drive letters.) They reverted back to the changes I had made..that is back to c: d: and e: rather than reversed post sysprep which is what I need to get back into my profile.

    So, there are two questions. 1) How to change the drive letters from c: d: e: to c: e: d:: so I can get back into windows and
    2) How to correct the mistaken c: e: d: to c: d: e: which I what sysprep was supposed to do. Essentially what happened post sysprep is that the users folder and program data are now on the d: partition of my SSD rather than the e: HDD which is what I intended.

    I did try to change drive letters using diskpart with assign letter "x" after selecting disk but that did not work. I had to select volume but the changes did not remain.

    Then there is the question as to why this happened with what appears to be the correct xml file.
      My ComputerSystem Spec

  4.    05 Aug 2015 #4

    The problem is that I cannot get back into windows because the user folder is not where it should be.

    Additionally, what you are suggesting is exactly what I did when I found the drive letters had changed and is why I can no longer get into the profile.

    So, I need to know how to get the drive letters back the "wrong" way first so I can get in...that is with diskpart...that is c: and e: on the SSD and d: on the HD...;that is the wrong way, that is the users folder is still on the SSD. However, I should be able to get back into windows.

    Then I have to figure out how to get it the way I want...C: and d: on the SSD and e: on the HDD. Right click..disk management did not work...I have not figured out why...but it didn't...probably something to do with permissions/environmental variables...

    Otherwise, I will have to go back to my post install image and simply get rid of the d: partition and hope that with nowhere else to go, I can use sysprep to move the folder and after that create the d: partition.

    I know that what I attempted to begin with works because it is in the tutorial...What went wrong is the question.
      My ComputerSystem Spec


 

Related Threads
The four word game can become repetitious so how about changing a letter in a word consisting of five letters? Example: Clear Cleat Teach Anyone can start with any word if they want.
Change A Letter Game in Chillout Room
Start with a four letter word and change only one letter at a time: Same
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:00.
Find Us