Difference between revisions of "Creating and restore image using the built-in features in Windows"
From Tech-Wiki
(Created page with "Category:Microsoft '''Back to Misc''' Create a Windows RE environment for emergency purpose reagentc /setreimage /path S:\Recovery\WindowsRE Registe...") |
|||
Line 20: | Line 20: | ||
− | To restore an Image using DISM, boot into Windows PE then | + | To restore an Image using DISM, boot into Windows PE then type the following commands in Diskpart |
− | select disk 0 | + | select disk 0 |
− | clean | + | clean |
− | create partition primary size=3000 id=27 | + | create partition primary size=3000 id=27 |
− | format quick fs=ntfs label="Recovery" | + | format quick fs=ntfs label="Recovery" |
− | assign letter="R" | + | assign letter="R" |
− | create partition primary size=300 | + | create partition primary size=300 |
− | format quick fs=ntfs label="System" | + | format quick fs=ntfs label="System" |
− | assign letter="S" | + | assign letter="S" |
− | active | + | active |
− | create partition primary | + | create partition primary |
− | format quick fs=ntfs label="Windows" | + | format quick fs=ntfs label="Windows" |
− | assign letter="C" | + | assign letter="C" |
− | exit | + | exit |
Then restore your image from network/usb drive using DISM: | Then restore your image from network/usb drive using DISM: | ||
dism /apply-image /imagefile:N:\Images\my-windows-partition.wim /index:1 /ApplyDir:C:\ | dism /apply-image /imagefile:N:\Images\my-windows-partition.wim /index:1 /ApplyDir:C:\ |
Revision as of 22:48, 9 June 2017
Create a Windows RE environment for emergency purpose
reagentc /setreimage /path S:\Recovery\WindowsRE
Registers the location of a push-button reset image in an online or offline image
reagentc /setosimage /path R:\RecoveryImage /index 1
Create a system image
dism /Capture-Image /ImageFile:"D:\fabrikam.wim" /CaptureDir:C:\ /Name:Fabrikam /ConfigFile:<configuration list>
Configuration file
[ExclusionList] \BigFolder
To restore an Image using DISM, boot into Windows PE then type the following commands in Diskpart
select disk 0 clean create partition primary size=3000 id=27 format quick fs=ntfs label="Recovery" assign letter="R" create partition primary size=300 format quick fs=ntfs label="System" assign letter="S" active create partition primary format quick fs=ntfs label="Windows" assign letter="C" exit
Then restore your image from network/usb drive using DISM:
dism /apply-image /imagefile:N:\Images\my-windows-partition.wim /index:1 /ApplyDir:C:\