{"id":192,"date":"2008-04-17T08:01:06","date_gmt":"2008-04-17T08:01:06","guid":{"rendered":"\/blogs\/news\/archive\/2008\/04\/17\/reducing-the-server-core-disk-footprint.aspx"},"modified":"2008-04-17T08:01:06","modified_gmt":"2008-04-17T08:01:06","slug":"reducing-the-server-core-disk-footprint","status":"publish","type":"post","link":"https:\/\/plexuk.co.uk\/?p=192","title":{"rendered":"Reducing the Server Core disk footprint"},"content":{"rendered":"<p>In the Server Core installation option, there is a way to remove the server roles and optional features from the disk, to free up more space. In addition to reducing disk usage, this could be used to ensure an administrator doesn\u00e2\u20ac\u2122t add a role or feature to a server that is supposed to perform a fixed function.  <\/p>\n<p><b><u>Warning<\/u><\/b>: This is a one way operation, once you remove a role or feature there is NO way to bring it back. If you realize later that you need the role or feature the only option is to reinstall. <\/p>\n<p>To do this: <\/p>\n<p>1. Run: pkgmgr \/up:<package to remove>\n<p>2. Reboot \u00e2\u20ac\u201c you can remove multiple packages before rebooting. <\/p>\n<p>3. Wait about 30 minutes for the disk cleanup to occur. <\/p>\n<p>You will then see the disk space used by the role or feature is freed up, oclist will no longer show the role or feature as being available, and trying to install it using ocsetup will result in an error. Once again, read the warning above \u00e2\u20ac\u201c there is no way to put the role or feature back, it is permanently gone from the system. <\/p>\n<p>The role and feature packages available for removal are: <\/p>\n<p>\u00c2\u00b7 Microsoft-Hyper-V-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-BLB-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-DFSN-ServerCore~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-DFSR-ServerEdition-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-DhcpServerCore-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-DirectoryServices-ADAM-SrvFnd-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-DirectoryServices-DomainController-SrvFnd-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-DNS-Server-Core-Role-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-FailoverCluster-Core-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-FileReplication-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-IIS-WebServer-Core-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-Internet-Naming-Service-SC-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-MultipathIo-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-NetworkLoadBalancingHeadlessServer-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-NFS-ServerFoundation-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-Printing-ServerCore-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-QWAVE-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-RemovableStorageManagementCore-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-SecureStartup-OC-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-SNMP-SC-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-SUA-Core-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>If you are running on an x86 box, change the amd64 above to x86. <\/p>\n<p>In addition to the roles and features listed in oclist, it is also possible to remove IME support as well as the supporting fonts by removing the following packages: <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-ServerCore-EA-IME-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>\u00c2\u00b7 Microsoft-Windows-ServerCore-EA-Fonts-Package~31bf3856ad364e35~amd64~~6.0.6001.18000 <\/p>\n<p>Removing these will reduce the on disk footprint by ~200MB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Server Core installation option, there is a way to remove the server roles and optional features from the disk, to free up more space. In addition to reducing disk usage, this could be used to ensure an administrator doesn\u00e2\u20ac\u2122t add a role or feature to a server that is supposed to perform a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[338],"class_list":["post-192","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-uncategorized"],"_links":{"self":[{"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192"}],"version-history":[{"count":0,"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/192\/revisions"}],"wp:attachment":[{"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plexuk.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}