Categories: SnippetsWindows

Free some diskspace after SP1 install under Win7 or Win2008 R2

Free some diskspace after SP1 install under Win7 or Win2008 R2

If you want to Free some diskspace after SP1 install under Win7 or Win2008 R2 from your Windows installation then all you have to do is entering following command line commands into your admin command shell(cmd.exe – Run as Administrator):

dism /online /cleanup-image /spsuperseded

Some notes, features and more command line switches about DISK you can read in this Microsoft article: Microsoft DISM Command manpage

___________________________________________________________________________

About DISM used in this article:
DISM is a Command to the service operating system packages that can be used to install, upgrade or remove packages under Microsoft Windows in offline mode. Packages are used by Microsoft to distribute software updates, service packs, and language packs. Packages can also contain Windows features. You can also use these maintenance command to enable or disable Windows features (either offline or for a running Windows installation). Features are optional components of the core operating system.
The command line switches as mentioned before in this article will do following:
the command line switch /online: Tells the tool to run the task on the current Operating System
the command line switch /cleanup-image: Performs cleanup or recovery operations.
the command line switch /spsuperseded: Reclaims the disk space by removing the backup files that have been created by MS-Installers during installation.

Jules

Jules is the owner and author of ISPIRE.ME. He's a Linux System Engineer, Tech fanatic and an Open Source fan.

Share
Published by
Jules

Recent Posts

HTTP/2 SSL Offloading with Hitch and Varnish

HTTP/2 SSL Offloading with Hitch and Varnish Since Chrome browsers showing you insecure warning on…

7 years ago

File changed as we read it GlusterFS issue

File changed as we read it GlusterFS issue Recently i had trouble running Backups of…

8 years ago

Running multiple instances of varnish using systemd

Running multiple instances of varnish using systemd If you have not yet found a complete…

8 years ago

HTTP/2 SSL Offloading with Haproxy and Nginx

HTTP/2 SSL Offloading with Haproxy and Nginx After HTTP/2 becoming more an more prominent regarding SSL…

8 years ago

Get Real IP with Haproxy Tomcat Jira Confluence using x-forwarded-for

Get Real IP with Haproxy Tomcat Jira Confluence using x-forwarded-for Everyone knows the Problem. Get…

8 years ago

Review TDS2 How to backtest using tick data with Metatrader 4

Review TDS2 How to backtest using tick data with Metatrader 4 in this Review TDS2…

8 years ago

This website uses cookies.