question

BieberFu-9523 avatar image
0 Votes"
BieberFu-9523 asked IanXue-MSFT answered

Expand-WindowsImage How to cancel Expand-WindowsImage Or delete?

Expand-WindowsImage -ImagePath "D:\20H2\install.wim" -ApplyPath "D:\20H2\home" -Index 1
How do I uninstall this image after I run it?

windows-10-setup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered

Hi,

To cancel it you could press Ctrl+C. To delete the files you could run

 Remove-Item -Path D:\20H2\home\* -Confirm

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.