Skip to content
Tech Shizz Logo

An Engineers Blog

  • TechShizz
  • blog

Using DISM to capture and apply an Image from one disk to another disk

Posted on February 23, 2021 By rich No Comments on Using DISM to capture and apply an Image from one disk to another disk

On Source Machine
You may want to sysprep the machine first, depending on what you are trying to do.

Insert WinPE Disk
net use z: \ServerD$ Pa$$word /USER:comain.localusername
Dism /Capture-Image /ImageFile:z:NewImage.wim /CaptureDir:C: /Name:”NewLaptop”

Exit

On Target Machine
net use z: \ServerD$ Pa$$word /USER:domain.localusername

Prepare the Disk(This wipes the whole disk and add one partition onyl)
select disk 0
clean
create partition primary
select partition 1
active
assign letter=”c”
format fs=ntfs label=”Windows” quick
exit

You could skip this step or amend it as needed to prepare the partition as required.

Apply the Image
dism /apply-image /imagefile:z:NewImage.wim /index:1 /applydir:c:
bcdboot c:Windows /s c:

Post navigation

❮ Previous Post: Windows 10 start button or system tray icons are not working
Next Post: Embedded files in PDFs wont open ❯

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to our newsletter!

Recent Posts

  • How to implement a lightning-fast ransomware playbook
  • How to achieve defence in depth in your business
  • How to implement a SecOps team phishing response plan
  • How to block an Office 365 Sign-in correctly
  • Microsoft finally patched serious Exchange 0-day over a month old!

Recent Comments

    Archives

    • November 2022
    • July 2021
    • March 2021
    • February 2021

    Categories

    • Cyber Security
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2023 .

    Theme: Oceanly News Dark by ScriptsTown