mikecel79 / DISMGUI

DISM GUI is a graphical interface for the DISM command line utility written in the .NET. DISM GUI allows you to mount and dismount WIMs, manager drivers, features and packages.
http://mikecel79.wordpress.com
261 stars 56 forks source link

How to use DISM to make a backup of a drive? #11

Closed NAME0x0 closed 4 months ago

NAME0x0 commented 4 months ago

Hi, I apologize for posting this question here but I couldn't think of where else to post this question. I tried asking this question of stack overflow but the question isn't specific to programming and thus I might have to close it there.

I have a MacBook Pro 2018 and I made a mistake of allocating less storage to a bootcamp partition drive for windows. I allocated only 167 GB and it is now causing me a lot of problems since I only recently started using windows for things other than games.

I have an external disk connected where I always saved my games so there wasn't a problem before but now since I am programming and utilizing Windows more, the storage for C drive keeps decreasing and I only have 5 GB left now which is causing my PC to run slowly.

I want to create a backup file for my C drive and save it onto my 2 TB external hard drive and later use that backup file to restore everything back in the C drive after I have given the partition more space. The external drive has around 800 GB left.

I want to save all my files, settings, preferences and applications using the DISM command to save a backup file.

If anyone could provide me with a detailed script to run before and after I have allocated more space to the partition, I would really appreciate it. I truly do apologise for the inconvenience caused by my own mistake and thank you from the bottom of my heart for your answer.

I tried using third party softwares like clonezilla, aomei backupper but they can't seem to pick up on the partition disk hence I am forced to use DISM. There are other softwares but they are paid and overly priced for a one time use only.

Which is why I aim to use DISM for not only saving a backup file for the C drive but also to restore all my data of the C drive from the External hard disk.