Shrink the Push-Button Reset Image
Applies To: Windows 8.1
To save hard drive space, especially on PCs with solid state drives (SSD), convert your push-button reset image into a highly compressed .esd file.
Note
Export the image into a separate file:
dism /Export-Image /SourceImageFile:"MyImageFile.wim" /SourceIndex:1 /DestinationImageFile:"install.esd" /Compress:recovery
The push-button reset feature recognizes the filenames: install.wim, install.esd, and install.swm.
Use DiskPart or the Windows Disk Management tool to shrink the partition to fit the newly-compressed file.
Note, if your recovery partition is already in place, you won't be able to simply shrink the partition. Instead:
Move everything off the recovery partition (including the recovery image and all other recovery files).
Use DiskPart or the Windows Disk Management tool to resize the partitions.
Register the push-button reset tools again.
Deploy Push-Button Reset Features
Push-Button Reset Overview
Solid State Drive Deployment
Deployment Image Servicing and Management (DISM) Command-Line Options