Windows 10: Dell pc, windows recovery image and restore issues

Page 5 of 7 FirstFirst ... 34567 LastLast
  1.    08 Feb 2017 #41

    So I'm wondering from reading your last 2 posts. Original ssd did not have recovery partition and USB created from dell's windows recovery iso worked for recovering the original ssd, but not on new ssd. So why do you think I should have recovery partition on new ssd.

    Am I moving in the right direction in this new plan. Here is new plan.
    1. Create Bootable Rescue Disk from your Windows 10 Recovery Tools - Bootable PE Rescue Disk
    2. Use this new ResetPartitions.txt to recreate partitions.

    Code:
    rem == ResetPartitions.txt ==convert gptrem == 1. System partition =========================create partition efi size=100format quick fs=fat32 label="System"assign letter="S"rem == 2. Microsoft Reserved (MSR) partition =======create partition msr size=16rem == 3. Windows partition ========================rem == a. Create the Windows partition ==========create partition primaryshrink minimum=8450format quick fs=ntfsassign letter="W"rem == 4. Windows RE tools partition ===============create partition primary size=450format quick fs=ntfs label="Windows RE tools"assign letter="T"set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"gpt attributes=0x8000000000000001rem === 4. Recovery Image Partition ======================create partition primaryformat quick fs=ntfs label="OEM Image"assign letter="R"set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"gpt attributes=0x8000000000000001list volumeexit
    
    Do I need to add code below to beginning of ResetPartitions.txt before execution?
    Code:
    select disk 0
    clean
    
    3. Run following commands. Can I create a batch(.bat) from commands bellow? Replacing [Path] to usb drive used to boot up.
    Code:
    rem == Partition drive ==diskpart /s [Path]\ResetPartitions.txtrem == Copy the image to the recovery partition ==md R:\RecoveryImagecopy Install*.swm(s) to R:\RecoveryImage\rem == Apply the image to the Windows partition ==Dism /apply-image /imagefile:R:\RecoveryImage\install.swm /swmfile:R:\RecoveryImage\install*.swm /index:1 /applydir:W:\rem == Copy boot files to the System partition ==W:\Windows\System32\bcdboot W:\Windows:rem == Copy the Windows RE image to the Windows RE Tools partition ==md T:\Recovery\WindowsRExcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\:rem == Register the location of the recovery tools ==W:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target W:\Windows:rem == Register the location of the push-button reset recovery image. ===W:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target W:\Windows /Index 1
    Anything else I'm missing?
      My ComputerSystem Spec

  2.    08 Feb 2017 #42

    So I'm wondering from reading your last 2 posts. Original ssd did not have recovery partition and USB created from dell's windows recovery iso worked for recovering the original ssd, but not on new ssd. So why do you think I should have recovery partition on new ssd.

    Am I moving in the right direction in this new plan. Here is new plan.
    1. Create Bootable Rescue Disk from your Windows 10 Recovery Tools - Bootable PE Rescue Disk
    2. Use this new ResetPartitions.txt to recreate partitions.

    Code:
    rem == ResetPartitions.txt ==
    convert gpt
    
    rem == 1. System partition =========================
    create partition efi size=100
    format quick fs=fat32 label="System"
    assign letter="S"
    
    rem == 2. Microsoft Reserved (MSR) partition =======
    create partition msr size=16
    
    rem == 3. Windows partition ========================
    rem == a. Create the Windows partition ==========
    create partition primary
    shrink minimum=8450
    format quick fs=ntfs
    assign letter="W"
    
    rem == 4. Windows RE tools partition ===============
    create partition primary size=450
    format quick fs=ntfs label="Windows RE tools"
    assign letter="T"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    gpt attributes=0x8000000000000001
    
    rem === 4. Recovery Image Partition ======================
    create partition primary
    format quick fs=ntfs label="OEM Image"
    assign letter="R"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    gpt attributes=0x8000000000000001
    
    list volume
    exit
    Do I need to add code below to beginning of ResetPartitions.txt before execution?
    Code:
    select disk 0
    clean
    
    3. Run following commands. Can I create a batch(.bat) from commands bellow? Replacing [Path] to usb drive used to boot up.
    Code:
    rem == Partition drive ==
    diskpart /s [Path]\ResetPartitions.txt
    
    rem == Copy the image to the recovery partition ==
    md R:\RecoveryImage
    copy Install*.swm(s) to R:\RecoveryImage\
    
    rem == Apply the image to the Windows partition ==
    Dism /apply-image /imagefile:R:\RecoveryImage\install.swm /swmfile:R:\RecoveryImage\install*.swm /index:1 /applydir:W:\
    
    rem == Copy boot files to the System partition ==
    W:\Windows\System32\bcdboot W:\Windows
    
    :rem == Copy the Windows RE image to the Windows RE Tools partition ==
    md T:\Recovery\WindowsRE
    xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\
    
    :rem == Register the location of the recovery tools ==
    W:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target W:\Windows
    
    :rem == Register the location of the push-button reset recovery image. ===
    W:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target W:\Windows /Index 1
    Anything else I'm missing?
      My ComputerSystem Spec


  3. Posts : 1,849
    Windows 3.1 to Windows 10
       08 Feb 2017 #43

    You are clearly making this harder then it is......

    Boot My Rescue Disk, insert Dell Recovery USB and open Command Prompt and follow the 6 command lines below

    diskpart /s [USB]:\ResetPartitions.txt

    exit

    Dism /apply-image /imagefile:[USB]:\install.swm /swmfile:[USB]:\install*.swm /index:1 /applydir:W:\

    W:\Windows\System32\bcdboot W:\Windows

    echo F | xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\

    W:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target W:\Windows

    DONE!!!

    [USB] = Drive letter assigned to Dell recovery USB Drive
      My ComputerSystem Spec


  4. Posts : 1,849
    Windows 3.1 to Windows 10
       08 Feb 2017 #44

    ResetPartitions.txt
    Code:
    rem == ResetPartitions.txt ==
    Select Disk 0
    Clean
    convert gpt
    rem == 1. System partition =========================
    create partition efi size=100
    format quick fs=fat32 label="System"
    assign letter="S"
    rem == 2. Microsoft Reserved (MSR) partition =======
    create partition msr size=16
    rem == 3. Create the Windows partition =============
    create partition primary
    shrink minimum=450
    format quick fs=ntfs  label="WinOS"
    assign letter="W"
    rem == 4. Windows RE tools partition ===============
    create partition primary
    format quick fs=ntfs label="WinRE Tools"
    assign letter="T"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    gpt attributes=0x8000000000000001
    list volume
    exit
    Apply.Bat
    Code:
    diskpart /s %~dp0ResetPartitions.txt
    Dism /apply-image /imagefile:%~dp0install.swm /swmfile:%~dp0install*.swm /index:1 /applydir:W:\
    W:\Windows\System32\bcdboot W:\Windows
    echo F | xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\
    W:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target W:\Windows
    Exit
    The Apply.Bat assumes that the apply.bat, Resetpartitons.txt, Boot.wim and the install*swm(s) are all in the same directory... And that the Image file also contains the winre.wim....

    Otherwise:
    echo F | xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\
    Copy %~dp0boot.wim T:\Recovery\WindowsRE\WinRE.wim

    Apply.Bat Revised to search for WinRE.wim in image File else copy file from USB
    Code:
    diskpart /s %~dp0ResetPartitions.txt
    Dism /apply-image /imagefile:%~dp0install.swm /swmfile:%~dp0install*.swm /index:1 /applydir:W:\
    W:\Windows\System32\bcdboot W:\Windows
    If exist W:\Windows\System32\Recovery\Winre.wim (
    echo F | xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\
    ) Else (Copy %~dp0boot.wim T:\Recovery\WindowsRE\WinRE.wim)
    W:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target W:\Windows
    Exit
    Now, Because you are using my bootable disk >
    You can go into S: and see the UEFI Boot Files
    You can go into T: and see the WinRE.wim
    You can go into W: and see the Windows OS
    Which should now be Bootable upon Restart
    Last edited by Kyhi; 08 Feb 2017 at 17:46.
      My ComputerSystem Spec

  5.    09 Feb 2017 #45

    So after all of this. Do I still need to use your Windows 10 recovery tools to boot from instead of Dell's Windows recovery USB?
      My ComputerSystem Spec

  6.    11 Feb 2017 #46

    I think I found the problem. I ran apply.bat and I'm getting error.
    Code:
    D:\sources>If exist W:\Windows\System32\Recovery\Winre.wim (echo F   | xcopy /h W:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\ )  
    Else (Copy D:\sources\boot.wim T:\Recovery\WindowsRE\WinRE.wim ) W:\Windows\System32\Recovery\winre.wim
    0 File(s) copied
    The size of the D:\sources\boot.wim is 530Mb and partition is only 450Mb.
    I'm thinking to change shrink minimum=450 to 550.

    Is this what you guys think?

    Thanks
    Last edited by lepa71; 11 Feb 2017 at 12:54.
      My ComputerSystem Spec

  7.    11 Feb 2017 #47

    OK. Changing amount to 550 helped. The file was copied successfully, but I'm back stuck on boot logo. Any ideas?

    I will try Kyhi recovery disk and do full system AOMEI backup. I have 32 usb drive and hope it would enough for original 32 gb ssd.

    Still don't get it how or what Dell did to prevent installing full version of windows.
      My ComputerSystem Spec


  8. Posts : 1,849
    Windows 3.1 to Windows 10
       11 Feb 2017 #48

    I'm not sure about the Dell Recovery Media you downloaded either........
    My only other thought is you're needing a missing driver for the new SSD...

    I would suggest using macrium to image your old 32gb SSD to USB
    Then apply (restore) that image on the USB to new SSD...

    Have you used the Rescue Disk to actually see what is being applied to the New SSD Partitions???
      My ComputerSystem Spec

  9.    11 Feb 2017 #49

    How do I know or find out if my original ssd is using gpt or mbr? I also wondering. Would I be able to uncompact it when I will clone my original ssd into new one?

    Correct me if I'm wrong. When windows is compact it will use more cpu uncompress on the fly. Right?

    This is the first time I couldn't install windows on blank drive and I have done them a lot.

    Thanks
      My ComputerSystem Spec


  10. Posts : 1,849
    Windows 3.1 to Windows 10
       12 Feb 2017 #50

    You can use diskpart > List Disk > and look for GPT flag
    Attachment 120921

    You can also un-compress the OS
    Compact OS - Compress or Uncompress Windows 10
      My ComputerSystem Spec


 
Page 5 of 7 FirstFirst ... 34567 LastLast

Related Threads
I have a Dell Inspiron 17R laptop that came with Windows 8. I downloaded 8.1 and used that since 2013. I am now using Windows 10 and it has been it good transition until the last update. I keep getting messages about dell backup and recovery not...
Dell Factory Image Restore in Backup and Restore
I upgraded to Windows 10 from Windows 7 but I would like to go back to Win 7. It's past the 30 days and so I can't roll back via Win 10. When I use F8, I see that the Dell Factory Image Restore is no longer an option. However, I do have a recovery...
Just for info for those that have a Dell with all the Dell software still installed The Backup & Recovery software has been updated and it has updated the recovery partitions for Windows 10 I have no blank media at the moment to test, but you...
After the upgrade to Win 10 Pro from Win 7 Pro, my Dell Backup and Recovery Manager gives me an error message basically saying it does not recognize my Dell . Dell support suggested I contact Microsoft support as this new problem is due to the Win...
Let me explain my problem. I have 3 HDD's (2 internals (1 SSD 120 GB and 1 HDD-Sata 200 GB) and 1 external USB HDD (2 TB)). I have installed Windows 10 Pro x64 final οn the SSD 120 GB without problems and i have installed the extra programs that i...
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 17:20.
Find Us