Reserved Storage in Windows 10

Discussion in 'Windows 10' started by tistou77, Apr 3, 2019.

  1. MonarchX

    MonarchX MDL Expert

    Joined:
    May 5, 2007
    Messages:
    1,732
    Likes Received:
    310
    Trophy Points:
    60
    So... which registry update is needed to get rid of that? Wouldn't some file use up that space? ShippedWithReserves was set to 1, so I set it to 0, rebooted and OS drive space usage did not change...
     
  2. MonarchX

    MonarchX MDL Expert

    Joined:
    May 5, 2007
    Messages:
    1,732
    Likes Received:
    310
    Trophy Points:
    60
    I don't know if its the update that fixes the issue after the registry tweak, but the OS allowed me to rebase after that tweak and I got 1GB of space back.
     
  3. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,638
    Trophy Points:
    450
    https://forums.mydigitallife.net/threads/reserved-storage-in-windows-10.79347/
    This should have nothing to do with resetbase, online resetbase will always work, mostly first a reboot is needed when a feature is added before.
     
  4. Shonk

    Shonk MDL Junior Member

    Joined:
    Oct 10, 2007
    Messages:
    77
    Likes Received:
    22
    Trophy Points:
    0
    #144 Shonk, May 25, 2019
    Last edited: May 25, 2019
    set the registry key then reboot then

    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
    Dism.exe /online /Cleanup-Image /SPSuperseded
    Dism.exe /online /Cleanup-Image /StartComponentCleanup

    should clear out all that reserved space (did on my fresh install)

    Untitled.png
    Untitled.png
     
  5. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,638
    Trophy Points:
    450
    Did the regkey, rebooted and performed the proposed commands:
    Code:
    Microsoft Windows [Version 10.0.18362.145]
    (c) 2019 Microsoft Corporation. Alle rechten voorbehouden.
    
    C:\Windows\system32>Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Image Version: 10.0.18362.145
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    C:\Windows\system32>Dism.exe /online /Cleanup-Image /SPSuperseded
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Image Version: 10.0.18362.145
    
    Service Pack Cleanup cannot proceed: No Service Pack backup files were found.
    The operation completed successfully.
    
    C:\Windows\system32>Dism.exe /online /Cleanup-Image /StartComponentCleanup
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Image Version: 10.0.18362.145
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    C:\Windows\system32>fsutil storagereserve query C:
    
    Reserve ID:       1
    Flags:            0x00000001
    Space Guarantee:  0x16aa8c000       (5802 MB)
    Space Used:       0x0               (0 MB)
    
    Reserve ID:       2
    Flags:            0x00000000
    Space Guarantee:  0x60000000        (1536 MB)
    Space Used:       0xc6ba000         (198 MB)
    
    Reserve ID:       3
    Flags:            0x00000001
    Space Guarantee:  0x0               (0 MB)
    Space Used:       0x0               (0 MB)
    
    C:\Windows\system32>
    Don't these 2 commands perform the exact same task (/resetbase is disabled by default and then it only performs /startcomponentcleanup without /resetbase)?

    Code:
    Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
    &
    Dism.exe /online /Cleanup-Image /StartComponentCleanup
     
  6. Shonk

    Shonk MDL Junior Member

    Joined:
    Oct 10, 2007
    Messages:
    77
    Likes Received:
    22
    Trophy Points:
    0
    worked for me

    Code:
    C:\Windows\system32>fsutil storagereserve query c:
    
    Reserve ID:       1
    Flags:            0x00000001
    Space Guarantee:  0x0               (0 MB)
    Space Used:       0x0               (0 MB)
    
    Reserve ID:       2
    Flags:            0x00000000
    Space Guarantee:  0x0               (0 MB)
    Space Used:       0x546c000         (84 MB)
    
    Reserve ID:       3
    Flags:            0x00000001
    Space Guarantee:  0x0               (0 MB)
    Space Used:       0x0               (0 MB)
     
  7. jrmpt

    jrmpt MDL Novice

    Joined:
    Jan 21, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    Tested this. Didn't work.

     
  8. thanh2412

    thanh2412 MDL Novice

    Joined:
    Sep 22, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Hi !

    what about your version ?

    18362.30 or 18362.116

    and did you upgrade from an older version or clean install ?
     
  9. jrmpt

    jrmpt MDL Novice

    Joined:
    Jan 21, 2019
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    Clean 18362.30. If I install a clean 1809, apply the 'ShippedWithReserves 0' reg tweak, reboot and then upgrade to 1903 via website (upgrade assistant), the reserved storage will not be applied.

     
  10. bfoos

    bfoos MDL Guide Dog

    Joined:
    Jun 15, 2008
    Messages:
    757
    Likes Received:
    696
    Trophy Points:
    30
    Why bother with 1809 at all? Just clean install 18362.30, apply the registry tweak and update via WU and Reserved Storage will be history.
     
  11. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,638
    Trophy Points:
    450
  12. thanh2412

    thanh2412 MDL Novice

    Joined:
    Sep 22, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    I got trouble after i do that. I'm clean install 1903.30, and use the reserved storage tweak, reboot and the windows can't update anymore
     
  13. drew84

    drew84 MDL Addicted

    Joined:
    Mar 13, 2014
    Messages:
    956
    Likes Received:
    1,492
    Trophy Points:
    30
  14. bfoos

    bfoos MDL Guide Dog

    Joined:
    Jun 15, 2008
    Messages:
    757
    Likes Received:
    696
    Trophy Points:
    30
    My own testing and observation tells me that only...

    "ShippedWithReserves"=dword:00000000

    Is needed to disable the System Reserve. The rest of that appears to be unnecessary.
     
  15. tistou77

    tistou77 MDL Expert

    Joined:
    Mar 22, 2008
    Messages:
    1,659
    Likes Received:
    550
    Trophy Points:
    60
    Hello

    There is no 7GB "Reserved Storage" with an update of Windows 10 (1809 => 1903 for example) ?
     
  16. kaljukass

    kaljukass MDL Guru

    Joined:
    Nov 26, 2012
    Messages:
    2,436
    Likes Received:
    883
    Trophy Points:
    90
    But it has been talked many times that if you upgrade, this is not the problem. This reserve will appear when you make a clean installation.
    If You upgrade, Your previous settings will stay as they were before upgrading. There is also notice before upgrading save Your files and settings...
    But I don't see any problem with this 7GB. This is a so small size even when compared to used by the restore point or what is used by shadow copy. And no one protests about it.
     
  17. 3zero3

    3zero3 MDL Senior Member

    Joined:
    Apr 26, 2012
    Messages:
    377
    Likes Received:
    532
    Trophy Points:
    10
    No one protests, because there is possibility to switch off restore point, if you want.
     
  18. LiteOS

    LiteOS MDL Expert

    Joined:
    Mar 7, 2014
    Messages:
    1,893
    Likes Received:
    814
    Trophy Points:
    60
    #158 LiteOS, Nov 4, 2019
    Last edited: Nov 4, 2019
    I did the reg tweak
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager]
    "BaseHardReserveSize"=hex(b):01,00,00,00,00,00,00,00
    "BaseSoftReserveSize"=hex(b):01,00,00,00,00,00,00,00
    "MinDiskSize"=hex(b):01,00,00,00,00,00,00,00
    "HardReserveAdjustment"=hex(b):01,00,00,00,00,00,00,00
    "ShippedWithReserves"=dword:00000001
    "PassedPolicy"=dword:00000001
    "TiAttemptedInitialization"=dword:00000001
    open cmd with admin run those cmds
    1)
    cd C:\Windows\servicing\Packages
    2)
    dism /online /add-package /packpath:Containers-ApplicationGuard-Package~31bf3856ad364e35~amd64~~10.0.18362.418.mum

    reboot
    open cmd again with admin run this:
    dism /online /Cleanup-Image /StartComponentCleanup /resetbase

    Space cleared

    Code:
    C:\Users\Administrator>fsutil storagereserve query c:
    
    Reserve ID:       1
    Flags:            0x00000001
    Space Guarantee:  0x1000            (0 MB)
    Space Used:       0x0               (0 MB)
    
    Reserve ID:       2
    Flags:            0x00000000
    Space Guarantee:  0x1000            (0 MB)
    Space Used:       0xf2ed000         (242 MB)
    
    Reserve ID:       3
    Flags:            0x00000001
    Space Guarantee:  0x0               (0 MB)
    Space Used:       0x0               (0 MB)
     
  19. pp03

    pp03 MDL Member

    Joined:
    Apr 12, 2014
    Messages:
    150
    Likes Received:
    13
    Trophy Points:
    10
    step by step instructions please. I want to check this out
     
  20. Enthousiast

    Enthousiast MDL Tester

    Joined:
    Oct 30, 2009
    Messages:
    35,567
    Likes Received:
    59,638
    Trophy Points:
    450