Amateur Radio, Ham Radio, DMR, D-Star, YSF, HamShack Hotline, Allstar.
-->Windows 10 includes tools to help you use less drive space. You can now compress the files for the entire operating system, including your preloaded desktop applications. Compact OS lets you run the operating system from compressed files (similar to WIMBoot in Windows 8.1 Update 1), and single-instancing helps you run your pre-loaded Windows desktop applications in compressed files. The new processes helps maintain a small footprint over time by using individual files, rather than combining them in a WIM file.
Whether you work from home, in an office, or somewhere in-between, Canon products offer you high-quality bold output and convenient features you and your business can rely on. See full list on docs.microsoft.com. Make your website faster and save bandwidth. TinyPNG optimizes your PNG images by 50-80% while preserving full transparency! FBlog is the place where we, Freemake team, share our findings of new and interesting things across the Web. Here you'll learn about hottest apps & software, visit top destinations on the Net, and laugh at our funny discoveries.
Here's some ways to shrink the image, optimize the image, and some considerations when deploying to low-cost devices.
Deployment tools that help save space
Compact OS
Compact OS installs the operating system files as compressed files. Compact OS is supported on both UEFI-based and BIOS-based devices. See the size comparison table below.
Unlike WIMBoot, because the files are no longer combined into a single WIM file, Windows update can replace or remove individual files as needed to help maintain the drive footprint size over time.
To deploy Compact OS using a WIM file
Boot your destination device with the Windows 10 version of Windows PE. (To use a previous version of Windows PE, make sure you use the Windows 10 version of DISM. To learn more, see Copy DISM to Another Computer.)
Create a pagefile equal to 256 MB.
Where 'C' is the Windows partition.
Format and prepare the partitions, and then apply the image to a partition using the DISM /Apply-Image /Compact option:
This is usually done by running a deployment script. To learn more, see Apply Images Using DISM.
Note: If you're applying an image in compact mode and using the /ScratchDir option, make sure your ScratchDir folder is not on a FAT32-formatted partition. Using a FAT32 partition could result in unexpected reboots during OOBE.
To deploy Compact OS from Windows Setup
- Use an unattend.xml file with the setting: Microsoft-Windows-SetupImageInstallOSImageCompact.
To deploy Compact OS with a USB bootable drive
For Windows 10, Version 1607 and earlier
- On your technician PC, open Windows ICD and create your project.
- Plug in a USB flash drive and note the drive letter (example: D:).
- Click Create > Production Media > WIM > Enable OS File Compression: Yes > Next > USB Bootable drive > drive letter (D:) > Next > Build.
- Boot the destination PC using the USB flash drive. Windows installs automatically.
Note When running Windows Imaging and Configuration Designer (ICD) on a PC running a previous version of Windows, such as Windows 8.1, you'll need to install the Windows Assessment and Deployment Kit (ADK) with both the Windows ICD and Deployment Tools features. This installs the latest versions of the drivers required by DISM (wimmount.sys and adkwof.sys) used to create Compact OS images.
To deploy Compact OS from an FFU image
For Windows 10, Version 1607 and earlier
To deploy an FFU image as compressed, the original FFU image must be created as a compressed image.
From Windows ICD, click Create > Production Media > FFU > Enable OS File Compression: Yes > name the file, for example, D:flash.ffu > Build.
You can deploy the FFU image directly to a drive from Windows ICD or from Windows Preinstallation Environment (WinPE). To learn more, see Deploy Windows using Full Flash Update (FFU).
Note When running Windows Imaging and Configuration Designer (ICD) on a PC running a previous version of Windows, such as Windows 8.1, you'll need to install the Windows Assessment and Deployment Kit (ADK) with both the Windows ICD and Deployment Tools features. This installs the latest versions of the drivers required by DISM (wimmount.sys and adkwof.sys) used to create Compact OS images.
Command-line support
You can query whether the operating system is running Compact OS, and change it at any time, using the Compact.exe command.
From Windows PE, determine if the OS is compacted:
Where E:Windows is the folder where Windows has been installed.
From an online installation, change from non-compacted to compacted OS:
Single-instancing of provisioning packages
For Windows 10, when you add new Windows desktop applications to a device, you'll capture these changes into a compressed provisioning package for use by the automatic recovery tools. Rather than maintaining both the original files and the provisioning package, you can use DISM to remove the original files, and run from directly from the compressed provisioning package instead. This is known as single-instancing the image. See the size comparison table below.
While single-instancing is supported on both solid-state drives and rotational drives, for performance reasons, we recommend that single-instancing is only used on devices with solid-state drives.
Example:
where C is the drive letter of the Windows partition.
Warning Do not put quotes with the /ImagePath:C: option.
You can determine whether a provisioning package (.ppkg) is single-instanced by using fsutil.exe:
where C is the drive that contains the provisioning package. Any single-instanced provisioning package on the drive will be listed in the command output. If there are none, the command will return 'Error: The system cannot find the file specified.'
Image optimization
After applying updates to a Windows image, cleanup the image and then export it to a new file:
where C:Imagesinstall.wim is a Windows image file that you want to update. Beginning with Windows 10, version 1607, you can optionally specify the /Defer parameter with /ResetBase to defer any long-running cleanup operations to the next automatic maintenance, but we highly recommend that only use /Defer as an option in the factory where DISM /ResetBase requires more than 30 minutes to complete.
Size requirements and considerations
You'll still need to meet minimum size requirements for the hard drive, RAM, application resource usage, and data storage.
Hard Drive
Windows 10 requires a minimum of 16 gigabytes (GB) of space on 32-bit devices, and 20 GB on 64-bit devices.
Although some configurations of Windows may appear to fit on smaller drives when Windows is first installed, 8 GB SSDs are not large enough. Even if a user pairs an 8 GB hard drive with a second drive that is 4 GB or larger for application and data file storage, 8 GB hard drives do not allow for the increase in the Windows memory footprint that is expected to occur as users work on their computer.
Some of the primary reasons for the increase over time in the memory footprint include the following:
Servicing. Hard disk space must be reserved for software patches to the operating system and for service pack releases.
System Restore Points. Windows automatically generate restore points. The amount of space that is required by default is relative to the size of the hard drive. For more information about restore points, see the Restore Points topic on MSDN.Note Users can adjust the amount of space used on the computer for System Restore by using the System Protection user interface in the System Properties dialog box (Sysdm.cpl). Users can also use system image backups that are stored on an external hard disk to restore a system.
Logs and Caches. The operating system stores files such as event logs and error logs on the drive.
RAM, Pagefile.sys, and Hiberfil.sys
The Pagefile.sys and Hiberfil.sys files increase in size in direct proportion to the amount of RAM on the computer. Windows installations on 16 GB drives have a smaller memory footprint when the computer is limited to 1 GB of RAM. An increase of RAM to a size that is greater than 1 GB will result in increased size of the system files and less space on the hard drive for other applications and files. Increasing the size of the hard drive, however, does not affect the size of these system files. Learn more about On/Off Transition Performance
To save space on the drive, you can remove or reduce the size of the hiberfil.sys. See the size comparison table below. To learn more, see Lab 7: Change settings, enter product keys, and run scripts with an answer file (unattend.xml).
powercfg /h /type reduced
: Reduces the file by 30%powercfg /h off
: Removes the file.
Language packs and features on demand
Installed language packs (LPs) can take more space than just the size of the LP itself. When you preinstall FODs and UWP apps on a Windows installation that contains multiple LPs, resource files based on preinstalled LPs are also installed. When unused languages are automatically removed after OOBE, corresponding UWP and feature on demand (FOD) resource files are not removed. Preinstalling fewer LPs saves disk space by limiting the number of resource files that remain on a system after removing unused language packs.
Features on demand are distributed in compressed CAB files so the size of an installed FOD is larger than the size of the original CAB. You can use /Get-CapabilityInfo
in DISM to view an FOD's download and install sizes. See Features on demand for how to get information about FODs.
Windows optional features
In order to further save disk space on a Windows device, you can disable various optional features that may not be in use.
Compaq Image
Through DISM or PowerShell, you can enable or disable Windows optional features as needed.
Applications
See Full List On Docs.microsoft.com
Software applications that are installed on the computer may require additional space for caches, logs, and updates. Disk space must also be available on the drive to account for temporary increases in resource usage during installation of applications, patches, and updates.
User Data
On computers that support removable media such as an SD card or USB flash drive, users can easily expand personal data file storage for user documents by using this removable media. However, we recommend that users reserve some space on the hard drive for these types of files.
TinyPNG – Compress PNG Images While Preserving Transparency
Size comparisons
The table below shows the additional space saved by using compact OS, Single instancing, and reducing or turning Off Hiberfile on 2GB (x86 processor architecture) and 4GB (x64 processor architecture), on Windows 10, version 1607:
Image | Windows 10 Home x86, 2GB memory | Windows 10 Home x64, 4GB Memory |
---|---|---|
Base Footprint | 11.68GB | 15.06GB |
Compact OS, with no single instancing | 8.85GB (>2.75GB savings) | 11.3GB (>3.7GB) |
Compact OS, single instanced | 7.66GB (>4GB) | 10.09GB (>4.75GB) |
Hiberfile off, no compact OS | 10.87GB (>825MB) | 13.48GB (>1.5GB) |
Hiberfile reduced, no compact OS | 11.27GB (>400MB) | 14.15GB (>930MB) |
Related topics
What does TinyJPG do?
Compact Images
TinyJPG reduces the file size of your JPEG images. Every uploaded image is analyzed to apply the best possible JPEG encoding. Based on the content of your image an optimal strategy is chosen. The result is a quality image without wasting storage or bandwidth!
Why should I use TinyJPG?
JPEG is the most popular format for photos on your websites and apps. Many JPEG files do not use optimal compression, wasting valuable bytes. Balancing quality and small file size used to be a time consuming task that only humans could do. Not anymore. Let us worry about compression.
How does it work?
Excellent question! When you upload a JPEG file, the image is analyzed. Textures, patterns and colours are automatically identified. The encoder creates an optimally compressed JPEG file based on that information. The final result is compared with the original and fine-tuned. Distracting JPEG artifacts are minimized without big sacrifices in file size. Unnecessary metadata is stripped as well. You will get an optimal image, every time!
Compact Image Guidance System
Can you tell the difference?
Arex Zero Compact Images
Let me give you a side by side comparison. Move the slider to compare the compressed image with the original. The file size is reduced by more than 70%!