Page 2 of 2 FirstFirst 12

  1. Joined : Jun 2015
    Sunnyvale, CA
    Posts : 40
    Windows 10 Pro 64-bit
       2015-11-28 #10

    I encountered problems with PerfectDisk 14 boot-time defragmentation with the compact option on.
    The error was a blue-screen 'Process1_Initialization_Failed' error.

    When I turned it off, as the Perfect Disk support suggested, it worked OK.

    My laptop has it disabled because it has a Solid State drive. Usually the SSD firmware already compresses stuff that it deems appropriate, so this is quite understandable.

    I guess if you have plenty of disk space, there's no good reason to turn this on. Performance probably won't improve - the file may be smaller, but the decompress takes longer.

    I think this is one reason the Windows 10 startup time seemed to be getting longer - all those stuff getting decompressed...

    EDIT: Perfect Disk just got updated to fix this problem.
    Last edited by arachnaut; 2015-12-30 at 18:01.
      My System SpecsSystem Spec


  2. Joined : Dec 2015
    Posts : 9
    Windows 10
       2015-12-30 #11

    Ran this last night on my 2-in-1 that has only a 32gb card as the primary. Gave me back 3gb of space after all the updates were ran, drivers installed, etc. Between doing a clean install to rid myself of HP bloat and compressing the OS I now have 16gb free. I flirted with removing IE and some other stuff, but there was no discernible difference. I'd love to get a couple more gb free.
      My System SpecsSystem Spec


  3. Joined : Apr 2016
    Posts : 4
    Windows 10 (Tablet only)
       2016-04-23 #12

    Thanks a lot for this useful information!

    lx07 said: View Post
    If your interested in saving more space I've also compacted these directories with compact /c /s /a /f /q /i /exe:xpress16k

    Most other big directories I've tried seem to stop Windows booting or otherwise behave badly (programdata, appdata, system32\driverstore\filerepository for example) but these work OK.

    Code:
    $env:programFiles
    $env:programFiles(x86)
    $env:homeDrive\MSOCache
    $env:homeDrive$env:homePath\Documents
    $env:windir\Assembly
    $env:windir\InfusedApps
    $env:windir\Installer
    $env:windir\Panther
    $env:windir\SoftwareDistribution
    $env:windir\System32\Catroot2
    $env:windir\System32\LogFiles
    Can anyone please tell me how to use this code in a script with the compact command?
      My System SpecsSystem Spec


  4. Joined : Oct 2013
    Posts : 17,452
    64-bit Windows 10 Pro build 15014
       2016-04-23 #13

    Hello Cloudtime, and welcome to Ten Forums.

    Here's how in a command prompt for those.


    Code:
    compact /c /s /a /f /q /i /exe:xpress16k %programFiles%
    compact /c /s /a /f /q /i /exe:xpress16k %programFiles(x86)%
    compact /c /s /a /f /q /i /exe:xpress16k %homeDrive%\MSOCache
    compact /c /s /a /f /q /i /exe:xpress16k %homePath%\Documents
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\Assembly
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\InfusedApps
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\Installer
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\Panther
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\SoftwareDistribution
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\System32\Catroot2
    compact /c /s /a /f /q /i /exe:xpress16k %windir%\System32\LogFiles
      My System SpecsSystem Spec


  5. Joined : Apr 2016
    Posts : 4
    Windows 10 (Tablet only)
       2016-04-23 #14

    Very awesome, thanks a lot for your super quick response It's working like it should.
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    Posts : 17,452
    64-bit Windows 10 Pro build 15014
       2016-04-23 #15

    You're most welcome.
      My System SpecsSystem Spec


  7. Joined : Nov 2015
    Posts : 14
    Windows 10 Home 64-Bit
       2016-08-16 #16

    Just some info regarding the performance impact that CompactOS has on my own system:
    On my Samsung 840 EVO 120GB SSD when I clean installed Windows 10 it has always been in the non-compacted state. After the Anniversary Update, it automatically changed to the compacted state for unknown reasons. I had to re-tweak a lot of settings in Windows 10 as each major update is almost essentially a new install all over. Everything seems to been fine, even my boot time seems a bit faster. Except for my shutdown time - it went from 5-6 seconds (with hibernation and fast startup disabled) to 11+ seconds. Just a moment ago I confirmed my theory that the cause of the longer shutdown was due to CompactOS by turning it off. Low and behold it changed to 2 seconds! My boot time remains the same, and my OS drive space usage only increased by around 1.5 to 2 GB. I'm keeping it uncompressed since I don't notice any difference in daily performance.

    Results obviously vary between systems.
      My System SpecsSystem Spec


  8. Joined : Jun 2015
    Sunnyvale, CA
    Posts : 40
    Windows 10 Pro 64-bit
       2016-08-17 #17

    Just noticed that the Anniversary update changed my compactOS setting (which was 'never').
    Apparently, 'never' means 'until we meet again'.

    So, I needed to run this again:

    ADMIN>compact /compactos:never

    Technically, it wasn't compacted because this is the command sequence I saw/executed:

    Code:
    C:\WINDOWS\system32>compact /compactos:query
    The system is not in the Compact state but may become compact as needed.
    
    C:\WINDOWS\system32>compact /compactos:never
    Completed uncompressing OS binaries.
    
    0 files within 14484 directories were uncompressed.
    
    C:\WINDOWS\system32>compact /compactos:query
    The system is not in the Compact state.  It will remain in this state unless an
    administrator changes it.
    
    
    C:\WINDOWS\system32>
    This tends to make me wonder just which version of Windows updates will change the OS properties that are set in the prior version?

    In other words, it isn't Windows 10 anymore, just a newly visited Windows.
      My System SpecsSystem Spec


 
Page 2 of 2 FirstFirst 12


Similar Threads
Tutorial Category
How Windows 10 achieves its compact footprint
Source: How Windows 10 achieves its compact footprint
Windows 10 News
Compact a Hyper-V VHD
I have Hyper-V VM with the Windows 10 Pro Technical Preview Build 9926 as the guest, and Windows 8.1 Pro as the host OS. I've been running it for 3 months now, with at least 2 build updates. But I can't compact the VHD. The used drive space on the...
Virtualization
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:39.
Find Us
Twitter Facebook Google+



Windows 10 Forums