I'm looking for a way to use DISM to create a backup of the User folder and be able to reapply that image back to the drive when needed. I have an image created but I can't get it to apply.
I've used the instructions to move the User folders to a non-SSD drive and would like to keep a separate backup of them for re-imaging. The folder move works and the system is fully functional.
To create the image I used:
dism /Capture-Image /ImageFile:F:\Image\UserProfiles.wim /ConfigFile:E:\WimScript.ini /CaptureDir:C:\ /name:"User Profiles" /Compress:maximum
And I used this to try and apply it:
dism /Apply-Image /ImageFile:F:\Image\UserProfiles.wim /ApplyDir:C:
Upon trying that I get an error 87 the parameter is incorrect
Does the ApplyDir need to be completely blank? I've tried to apply it to a specific folder (like C:\temp) but it still fails. Not sure what's actually causing it to fail other than the image isn't the Windows OS.
I've used the instructions to move the User folders to a non-SSD drive and would like to keep a separate backup of them for re-imaging. The folder move works and the system is fully functional.
To create the image I used:
dism /Capture-Image /ImageFile:F:\Image\UserProfiles.wim /ConfigFile:E:\WimScript.ini /CaptureDir:C:\ /name:"User Profiles" /Compress:maximum
And I used this to try and apply it:
dism /Apply-Image /ImageFile:F:\Image\UserProfiles.wim /ApplyDir:C:
Upon trying that I get an error 87 the parameter is incorrect
Does the ApplyDir need to be completely blank? I've tried to apply it to a specific folder (like C:\temp) but it still fails. Not sure what's actually causing it to fail other than the image isn't the Windows OS.