Creating and restore image using the built-in features in Windows

From Tech-Wiki
Revision as of 22:48, 9 June 2017 by Fabricio.Lima (Talk | contribs) (Created page with "Category:Microsoft '''Back to Misc''' Create a Windows RE environment for emergency purpose reagentc /setreimage /path S:\Recovery\WindowsRE Registe...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to Misc

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 start 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:\