Using DISKPART & DISM to Clean Install.

Page 3 of 6 FirstFirst 12345 ... LastLast

  1. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #21

    Hello @NavyLCDR,

    Thank you SO much for testing this out for me, I appreciate it.

    Do I ALSO need to Remove the /Target W:\Windows from the following as well? . . .

    Code:
    
    X:\Sources>W:\Windows\Systen32\REAgentC /SetReImage /Path R:\Recovery\WinRE /Target W:\Windows
    The system cannot find the path specified.

    Thanks.
      My Computer


  2. Posts : 18,432
    Windows 11 Pro
       #22

    After booting into the new Windows installation, Windows Recovery Environment was already enabled from C:\Recovery\WindowsRE

    Using DISKPART & DISM to Clean Install.-capture2.jpg
      My Computer


  3. Posts : 18,432
    Windows 11 Pro
       #23

    The reagentc command is not going to work. I never create a recovery partition, I always just let Windows run it from the C: drive partition, so can't offer much help there. If it were I doing it, I would delete all the commands regarding creating a recovery partition.
      My Computer


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #24

    Hello @NavyLCDR,

    NavyLCDR said:
    The reagentc command is not going to work. I never create a recovery partition, I always just let Windows run it from the C: drive partition, so can't offer much help there.
    That is funny because I was actually going to ask if the Recovery Partition was REALLY needed.

    NavyLCDR said:
    If it were I doing it, I would delete all the commands regarding creating a recovery partition.
    OK then, on that basis, this would be OK? . . .

    Code:
    
    diskpart
    select disk 0
    clean
    convert gpt
    
    create partition efi size=100
    format quick fs=fat32 label="System"
    assign letter=S
    
    create partition msr size=16
    
    create partition primary size=30720
    format quick fs=ntfs label="W10"
    assign letter=W
    
    create partition primary size=51200
    format quick fs=ntfs label="Data"
    assign letter=D
    list volume
    exit
    
    dism /Apply-Image /ImageFile:F:\Sources\install.wim /index:6 /ApplyDir:W:\ /Compact /EA
    
    W:\Windows\System32\bcdboot W:\Windows /s S:
    
    diskpart
    select volume S
    remove
    exit
    exit
      My Computer


  5. Posts : 18,432
    Windows 11 Pro
       #25
      My Computer


  6. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #26

    Hello @NavyLCDR,

    NavyLCDR said:
    Thank you for your help. I have just Bookmarked that Post.
      My Computer


  7. Posts : 18,432
    Windows 11 Pro
       #27

    I'm going to cut and paste your new code for testing now.
      My Computer


  8. Posts : 18,432
    Windows 11 Pro
       #28

    Paul Black said:
    Hello @NavyLCDR,



    That is funny because I was actually going to ask if the Recovery Partition was REALLY needed.



    OK then, on that basis, this would be OK? . . .

    Code:
    
    diskpart
    select disk 0
    clean
    convert gpt
    
    create partition efi size=100
    format quick fs=fat32 label="System"
    assign letter=S
    
    create partition msr size=16
    
    create partition primary size=30720
    format quick fs=ntfs label="W10"
    assign letter=W
    
    create partition primary size=51200
    format quick fs=ntfs label="Data"
    assign letter=D
    list volume
    exit
    
    dism /Apply-Image /ImageFile:F:\Sources\install.wim /index:6 /ApplyDir:W:\ /Compact /EA
    
    W:\Windows\System32\bcdboot W:\Windows /s S:
    
    diskpart
    select volume S
    remove
    exit
    exit
    Cut and pasted commands, worked just fine!
      My Computer


  9. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
    Thread Starter
       #29

    Hello @NavyLCDR,

    NavyLCDR said:
    Cut and pasted commands, worked just fine!
    Brilliant. Thanks for testing and reporting the results. I am going to mark this thread as Solved.
      My Computer


  10. Posts : 4,594
    several
       #30

    Paul Black said:
    Hello @NavyLCDR,

    Thank you SO much for testing this out for me, I appreciate it.

    Do I ALSO need to Remove the /Target W:\Windows from the following as well? . . .

    Code:
    
    X:\Sources>W:\Windows\Systen32\REAgentC /SetReImage /Path R:\Recovery\WinRE /Target W:\Windows
    The system cannot find the path specified.
    Thanks.

    It cant find the path because you misstyped system32

    Do I ALSO need to Remove the /Target W:\Windows from the following as well? . . .
    No. You also dont need to remove the other drive letters.
      My Computer


 

  Related Discussions
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:46.
Find Us




Windows 10 Forums