{"id":233,"date":"2005-02-21T18:34:00","date_gmt":"2005-02-22T02:34:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/how-to-minimize-the-size-of-image-backups\/"},"modified":"2026-02-27T17:07:44","modified_gmt":"2026-02-28T01:07:44","slug":"how-to-minimize-the-size-of-image-backups","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/how-to-minimize-the-size-of-image-backups\/","title":{"rendered":"How to Minimize the Size of Image Backups"},"content":{"rendered":"<p>There are a number of steps you can take to help reduce the size of the image files that are created when performing a backup with\u00a0Image for DOS, Image for Linux, or Image for Windows.\u00a0 Some of the tips that follow are intended to help reduce the size of images that are based on the backup of a Windows partition, and others will help reduce the size of any image you create.<\/p>\r\n<p><strong>Windows (all versions):<\/strong><\/p>\r\n<ul>\r\n\t<li>Run the <strong>Disk Cleanup Tool<\/strong>.\u00a0 This built-in Windows utility provides many options for removing unneeded files, including previous Windows installations and temporary Windows installation files. For the most cleanup options to be available you will need to click the <em>Clean up system files<\/em> button in Windows 7\/8.x\/10\/11; for Windows Vista, select the <em>Files from all users on this computer<\/em> option when starting Disk Cleanup.<\/li>\r\n\t<li>Empty the Recycle Bin.<\/li>\r\n\t<li>Empty your browser cache(s).<\/li>\r\n\t<li>Delete the backup files for any service packs you have installed and do not plan to uninstall.<br \/>\r\nFor Windows XP SP1 and Windows 2000 see the following Microsoft Knowledge Base articles: <br \/>\r\n<a href=\"http:\/\/support.microsoft.com\/?kbid=329260\" target=\"_blank\" rel=\"noopener\">How to Remove Windows XP Service Pack 1 Folders<\/a><br \/>\r\n<a href=\"http:\/\/support.microsoft.com\/?kbid=290402\" target=\"_blank\" rel=\"noopener\">HOW TO: Remove the Service Pack Restore Files and Folders in Windows<\/a> (Windows 2000)<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li>Uninstall any applications you don't need or don't use.\u00a0 Some applications\u00a0take up a very significant amount of hard drive space (3D games are a primary example).<\/li>\r\n\t<li>For space-intensive applications that you can't or don't want to uninstall completely, consider uninstalling and reinstalling them with fewer installation options selected, if possible.\u00a0 For example:<br \/>\r\n<ul>\r\n\t<li>The installers for many applications provide options for which components to install.\u00a0 Deselect the components you don't need.<\/li>\r\n\t<li>The installers for some 3D games provide the option to perform a reduced-size installation.\u00a0 Sometimes, you also have the option to run the game from the CD-ROM or DVD disc, rather than installing the entire game onto your hard drive.<\/li>\r\n<\/ul>\r\n<\/li>\r\n\t<li>Defragment the partition you will be backing up.\u00a0 Having fewer file fragments means that less slack space will be present in the backup.<\/li>\r\n\t<li>Move multimedia files to a different partition.\u00a0 Most audio and video files do not compress well.<\/li>\r\n<\/ul>\r\n<p><strong>Windows Me\/XP\/Vista, Windows 7\/8.x\/10\/11:<\/strong><\/p>\r\n<ul>\r\n\t<li>Delete old restore points created by the System Restore service, if you no longer need them.\u00a0 You can do this by selecting the <strong>More Options<\/strong> tab of the <strong>Disk Cleanup Tool<\/strong>. To enable the <strong>More Options<\/strong> tab, you may need to select the <em>Files from all users on this computer<\/em> option when starting Disk Cleanup on Windows Vista or clicking the <em>Clean up system files<\/em> button in Disk Cleanup on Windows 7\/8.x\/10\/11.<br \/>\r\n<br \/>\r\nWhen deleting System Restore points on Windows Vista or Windows 7\/8.x\/10, be aware that you may also be deleting Shadow Copies of your files.<\/li>\r\n<\/ul>\r\n<p><strong>Windows Me\/2000\/XP\/Vista, Windows 7\/8.x\/10\/11:<\/strong><\/p>\r\n<ul>\r\n\t<li>Disable hibernation.\u00a0 You can either do so permanently, or do it temporarily, each time you are about to create an image.\u00a0 The file used to store hibernation data, HIBERFIL.SYS, is equal in size to the amount of physical memory you have installed and can often add significantly to the size of the backup. <br \/>\r\n<br \/>\r\n<strong>Note:<\/strong> By default,\u00a0Image for DOS, Image for Linux, and Image for Windows skip the hibernation file (it will not be included in the backup), unless the <strong>Omit Hibernation Data<\/strong> option is deselected.<\/li>\r\n<\/ul>\r\n<blockquote>\r\n<p>To disable hibernation in <strong>Windows ME\/2000\/XP<\/strong>:<\/p>\r\n<ol>\r\n\t<li>Open the <strong>Power Options<\/strong> applet in <strong>Control Panel<\/strong>.<\/li>\r\n\t<li>Click the <strong>Hibernate<\/strong> tab.<\/li>\r\n\t<li>Clear the <strong>Enable hibernate support<\/strong> check box.<\/li>\r\n<\/ol>\r\n<p>To disable hibernation in <strong>Windows Vista<\/strong> or\u00a0<strong>Windows 7\/8.x\/10\/11<\/strong>:<\/p>\r\n<ol>\r\n\t<li>Click the\u00a0<strong>Start<\/strong> button or press the Windows key. Then type <span style=\"color: #ff0000;\"><strong>command prompt<\/strong> <\/span>in the <strong>Start Search\/Search programs and files\/Search the web and Windows<\/strong>\u00a0box.<\/li>\r\n\t<li>In the search results list, right-click <strong>Command Prompt<\/strong> and then click <strong>Run as Administrator<\/strong>.<\/li>\r\n\t<li>When you get the UAC prompt, click <strong>Continue<\/strong> or <strong>Yes<\/strong>\u00a0to proceed.<\/li>\r\n\t<li>At the command prompt, type <strong><span style=\"color: #ff0000;\">powercfg.exe \/hibernate off<\/span><\/strong> and then press ENTER.<\/li>\r\n\t<li>To close the command prompt, type <strong><span style=\"color: #ff0000;\">exit<\/span><\/strong> and then press ENTER.<br \/>\r\n(More information can be found in this <a href=\"http:\/\/support.microsoft.com\/kb\/920730\" target=\"_blank\" rel=\"noopener\">Microsoft Knowledge Base article<\/a>.)<\/li>\r\n<\/ol>\r\n<p>The file HIBERFIL.SYS should then be removed automatically by Windows.\u00a0 \u00a0\u00a0\u00a0<\/p>\r\n<\/blockquote>\r\n<p><strong>Windows NT\/2000\/XP\/Vista, Windows 7\/8.x\/10\/11:<\/strong><\/p>\r\n<ul>\r\n\t<li>Move the paging file to an alternate partition.<br \/>\r\n<br \/>\r\n<strong>Note:<\/strong> By default, Image for DOS, Image for Linux, and Image for Windows skip the page file (it will not be included in the backup), unless the <strong>Omit Page File Data<\/strong>\u00a0option is deselected.<br \/>\r\n<br \/>\r\nFor <strong>Windows NT\/2000\/XP<\/strong>,\u00a0the procedure is explained\u00a0the following Microsoft Knowledge Base articles:<br \/>\r\n<br \/>\r\n<ul>\r\n\t<li><a href=\"http:\/\/support.microsoft.com\/kb\/123747\/EN-US\/\" target=\"_blank\" rel=\"noopener\">How to Move the Windows Default Paging File and Print Spooler to a Different Hard Disk<\/a> (Windows NT\/2000)<br \/>\r\n<br \/>\r\n<\/li>\r\n\t<li><a href=\"http:\/\/support.microsoft.com\/kb\/314105\/en-au\" target=\"_blank\" rel=\"noopener\">How to Move the Windows Default Paging File and Print Spooler to a Different Hard Disk<\/a> (Windows XP)<br \/>\r\n<br \/>\r\n<\/li>\r\n<\/ul>\r\n\r\nFor <strong>Windows Vista<\/strong> and <strong>Windows 7\/8.x\/10\/11 <\/strong>the procedure is very similar to Windows XP:<br \/>\r\n<br \/>\r\n<ol>\r\n\t<li>Click the <strong>Start<\/strong> button, right-click on <strong>Computer<\/strong>, then click <strong>Properties<\/strong> from the pop-up menu. On Windows 8.x\/10\/11 you can press <strong>WinKey+X<\/strong> and then\u00a0click <strong>System<\/strong> in the\u00a0Quick Link\u00a0menu.\u00a0<\/li>\r\n\t<li>Click on <strong>Advanced system settings<\/strong> of the left side of the window. If you get a UAC prompt, click <strong>Continue<\/strong> or <strong>Yes<\/strong> to proceed.<\/li>\r\n\t<li>Click the <strong>Advanced<\/strong> tab, then click the <strong>Settings...<\/strong> button in the <strong>Performance<\/strong> section.<\/li>\r\n\t<li>Click the <strong>Advanced<\/strong> tab, then click the <strong>Change...<\/strong> button in the <strong>Virtual memory<\/strong> section.<\/li>\r\n\t<li>If selected, uncheck the <strong>Automatically manage paging file size for all drives<\/strong>.<\/li>\r\n\t<li>Make the desired changes to the location of the\u00a0paging file(s).<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ul>\r\n<ul>\r\n\t<li>Configure Windows to clear the paging file at shutdown.\u00a0 This is done by changing a value in the Windows registry, as explained in the following Microsoft Knowledge Base articles:<\/li>\r\n<\/ul>\r\n<blockquote dir=\"ltr\" style=\"margin-right: 0px;\">\r\n<p><a href=\"http:\/\/support.microsoft.com\/kb\/182086\/EN-US\/\" target=\"_blank\" rel=\"noopener\">How to Clear the Windows Paging File at Shutdown<\/a> (Windows NT\/2000)<br \/>\r\n<a href=\"http:\/\/support.microsoft.com\/kb\/314834\/EN-US\/\" target=\"_blank\" rel=\"noopener\">How to Clear the Windows Paging File at Shutdown<\/a> (Windows XP)<\/p>\r\n<p>Although there is no Microsoft KB article regarding how to enable this option under Windows Vista or Windows 7\/8.x\/10\/11, the steps are essentially the same:<\/p>\r\n<ol>\r\n\t<li>Run Regedit.exe.<\/li>\r\n\t<li>Navigate to the following registry key:<br \/>\r\n<strong>HKEY_LOCAL_MACHINE&#92;SYSTEM&#92;CurrentControlSet&#92;Control&#92;Session Manager&#92;Memory Management<\/strong><\/li>\r\n\t<li>Double-click the\u00a0<strong>ClearPageFileAtShutdown<\/strong> value and change its data to <strong>1<\/strong>. \u00a0If the <strong>ClearPageFileAtShutdown<\/strong> value does not exist, create it as a REG_DWORD value type and set its data to <strong>1<\/strong>. \u00a0This change does not take effect until you restart Windows.<\/li>\r\n<\/ol>\r\n<p>Enabling the\u00a0ClearPageFileAtShutdown option can help reduce image size because it instructs Windows to overwrite the paging file with zeros during shutdown, which makes the file very highly compressible.<\/p>\r\n<\/blockquote>\r\n<ul>\r\n\t<li style=\"list-style-type: none;\">\r\n<ul type=\"disc\">\r\n\t<li>Clearing the paging file will increase the length of time it takes to shut down Windows.\u00a0 How long it takes will depend on the size of the paging file at the time of each shut down.<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<p><strong>Windows Vista, Windows 7\/8.x\/10\/11:<\/strong><\/p>\r\n<ul>\r\n\t<li>You can use the <strong>vssadmin resize shadowstorage<\/strong> command to change the maximum amount of disk space that will be used by Shadow Copies and\/or the System Restore feature of Windows.\u00a0\u00a0Please note that for the\u00a0<strong>vssadmin resize shadowstorage<\/strong> command to work, <span style=\"font-family: Courier New;\">vssadmin.exe<\/span> must be run by a member of the Administrators group and it must be run with administrator privileges.<br \/>\r\n<br \/>\r\nFor example, to set the maximum amount of space used on C: to 2GB, you would run the following command:<br \/>\r\n<br \/>\r\n<span style=\"color: #006923;\">vssadmin Resize ShadowStorage \u00a0\/For=C: \u00a0\/On=C: \u00a0\/MaxSize=2GB<br \/>\r\n<\/span><br \/>\r\nBe aware that resizing the shadow storage may cause Shadow Copies to be deleted. More information on using <strong>vssadmin<\/strong> can be found in\u00a0the following Microsoft TechNet article: <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc788050(WS.10).aspx\" target=\"_blank\" rel=\"noopener\">Vssadmin resize shadowstorage<br \/>\r\n<\/a><\/li>\r\n<\/ul>\r\n<p><strong>Windows 7\/8.x\/10\/11<\/strong><\/p>\r\n<ul>\r\n\t<li>You can use the <strong>vssadmin delete shadows<\/strong> command to remove Shadow Copies from the drive. Please note that for the\u00a0<strong>vssadmin delete shadows <\/strong>command to work, <span style=\"font-family: Courier New;\">vssadmin.exe<\/span> must be run by a member of the Administrators group and it must be run with administrator privileges.<br \/>\r\n<br \/>\r\nFor example, to delete all the Shadow Copies for the C: drive, run the following command:<br \/>\r\n<br \/>\r\n<span style=\"color: #006923;\">vssadmin Delete Shadows \u00a0\/For=C:\u00a0 \/All \u00a0\/Quiet<br \/>\r\n<\/span><br \/>\r\nNote: If you don't specify the \"\/quiet\" parameter, vssadmin will ask for confirmation before deleting the data.<br \/>\r\n<br \/>\r\n<\/li>\r\n<\/ul>\r\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>There are a number of steps you can take to help reduce the size of the image files that are created when performing a backup with\u00a0Image for DOS, Image for Linux, or Image for Windows.\u00a0 Some of the tips that follow are intended to help reduce the size of images that are based on the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1805],"lsvr_kba_tag":[],"class_list":["post-233","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-shared-issues"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=233"}],"version-history":[{"count":2,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/233\/revisions"}],"predecessor-version":[{"id":7317,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/233\/revisions\/7317"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=233"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=233"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}