This script does these in order: 1. It calls the command that optimizes the Windows image with DISM, and thus the Winsxs cleanup begins. 2. The Disk Cleanup Tool (Cleanmgr.exe) is run unattended. 3. Clears directories where temporary files are located in the Windows folder. 4. Deletes all .log, .dmp, .tmp, .mdmp files from the drive. 5. Clears event viewer history. 6. Deletes non-mounted devices. (Don't remove drivers.) Thus, free space is opened on the disk where Windows is installed.Attention:Windows Update updates installed after this process cannot be revoked.