View unanswered posts | View active topics It is currently Sun Aug 20, 2017 2:13 pm



Reply to topic  [ 1 post ] 
reduce windows 8 disk space usage 
Author Message

Joined: Mon May 24, 2010 2:20 am
Posts: 1085
Post reduce windows 8 disk space usage
I parsed the list of packages disabled by default in windows 8 pro, so if anyone wants to remove all those unused features, just save this into a something.cmd file and run it as admin

if you are one to actually enable any of these, make sure you take them out of the list. I know I use hyper-v on my desktop, but not in the vm where i parsed the list of disabled features into commands for a batch file

DISM.exe /Online /Disable-Feature /Featurename:Microsoft-Hyper-V-All /Remove
DISM.exe /Online /Disable-Feature /Featurename:Microsoft-Hyper-V-Tools-All /Remove
DISM.exe /Online /Disable-Feature /Featurename:Microsoft-Hyper-V /Remove
DISM.exe /Online /Disable-Feature /Featurename:Microsoft-Hyper-V-Management-Clients /Remove
DISM.exe /Online /Disable-Feature /Featurename:Microsoft-Hyper-V-Management-PowerShell /Remove
DISM.exe /Online /Disable-Feature /Featurename:Printing-Foundation-LPRPortMonitor /Remove
DISM.exe /Online /Disable-Feature /Featurename:Printing-Foundation-LPDPrintService /Remove
DISM.exe /Online /Disable-Feature /Featurename:ScanManagementConsole /Remove
DISM.exe /Online /Disable-Feature /Featurename:LegacyComponents /Remove
DISM.exe /Online /Disable-Feature /Featurename:DirectPlay /Remove
DISM.exe /Online /Disable-Feature /Featurename:SimpleTCP /Remove
DISM.exe /Online /Disable-Feature /Featurename:SNMP /Remove
DISM.exe /Online /Disable-Feature /Featurename:WMISnmpProvider /Remove
DISM.exe /Online /Disable-Feature /Featurename:Windows-Identity-Foundation /Remove
DISM.exe /Online /Disable-Feature /Featurename:DirectoryServices-ADAM-Client /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WebServerRole /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WebServer /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-CommonHttpFeatures /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HttpErrors /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HttpRedirect /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ApplicationDevelopment /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-NetFxExtensibility /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-NetFxExtensibility45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HealthAndDiagnostics /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HttpLogging /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-LoggingLibraries /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-RequestMonitor /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HttpTracing /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-Security /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-URLAuthorization /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-RequestFiltering /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-IPSecurity /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-Performance /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HttpCompressionDynamic /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WebServerManagementTools /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ManagementScriptingTools /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-IIS6ManagementCompatibility /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-Metabase /Remove
DISM.exe /Online /Disable-Feature /Featurename:WAS-WindowsActivationService /Remove
DISM.exe /Online /Disable-Feature /Featurename:WAS-ProcessModel /Remove
DISM.exe /Online /Disable-Feature /Featurename:WAS-NetFxEnvironment /Remove
DISM.exe /Online /Disable-Feature /Featurename:WAS-ConfigurationAPI /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HostableWebCore /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-CertProvider /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WindowsAuthentication /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-DigestAuthentication /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ClientCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-IISCertificateMappingAuthentication /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ODBCLogging /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-StaticContent /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-DefaultDocument /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-DirectoryBrowsing /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WebDAV /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WebSockets /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ApplicationInit /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ASPNET /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ASP /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-CGI /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ISAPIExtensions /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ISAPIFilter /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ServerSideIncludes /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-CustomLogging /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-BasicAuthentication /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-HttpCompressionStatic /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ManagementConsole /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-ManagementService /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-WMICompatibility /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-LegacyScripts /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-LegacySnapIn /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-FTPServer /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-FTPSvc /Remove
DISM.exe /Online /Disable-Feature /Featurename:IIS-FTPExtensibility /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-Container /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-Server /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-Triggers /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-ADIntegration /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-HTTP /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-Multicast /Remove
DISM.exe /Online /Disable-Feature /Featurename:MSMQ-DCOMProxy /Remove
DISM.exe /Online /Disable-Feature /Featurename:WCF-HTTP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:WCF-TCP-Activation45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:WCF-Pipe-Activation45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:WCF-MSMQ-Activation45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:WCF-HTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /Featurename:WCF-NonHTTP-Activation /Remove
DISM.exe /Online /Disable-Feature /Featurename:NetFx4Extended-ASPNET45 /Remove
DISM.exe /Online /Disable-Feature /Featurename:Microsoft-Windows-MobilePC-Client-Premium-Package-net /Remove
DISM.exe /Online /Disable-Feature /Featurename:RasCMAK /Remove
DISM.exe /Online /Disable-Feature /Featurename:RasRip /Remove
DISM.exe /Online /Disable-Feature /Featurename:TelnetClient /Remove
DISM.exe /Online /Disable-Feature /Featurename:TelnetServer /Remove
DISM.exe /Online /Disable-Feature /Featurename:TFTP /Remove
DISM.exe /Online /Disable-Feature /Featurename:TIFFIFilter /Remove


also, if you don't use hibernation (I prefer to do it this way)

run the following from an admin command prompt
powercfg -h off

My windows 8 install in a VM is using only 9.4gb right now

another tip, to keep the OS size down, is run the following to cleanup old versions of OS dll files and what not periodically to keep it from getting too bloated after windows updates

dism /online /cleanup-image /startcomponentcleanup

there's also an option to cleanup windows update files in diskcleanup, this only cleans out the downloaded packages, so you may want to do both periodically

_________________
Main System: Intel i7 2600K | Asus P8Z68 Deluxe Gen3 | 16gb Corsair 1600Mhz | Zotac GTX660 Ti | 128gb OCZ Agility 4 | 1tb WD Black | Corsair HX850 | FD Arc Midi | Mac OS X 10.8.5
Gaming Rig: Intel i7 3930K | Asus Sabertooth X79 | 32gb Kingston HyperX 1866Mhz | 2x EVGA GTX780 SC ACX | 2x Mushkin 60gb SSD (RAID0) | 2tb WD Black | Corsair AX1200i | FD Arc Midi | Windows 8
HTPC: AMD A10-6800K | Asus F2A85-M Pro | 8gb Corsair 1866Mhz | 2x 256Gb Samsung 840 Pro | Antec MicroFusion | Windows 8.1


Thu Jun 27, 2013 11:17 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Theme Designed by ST Software for PTF.