Reserved Storage in Windows 10

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

  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,628
    281
    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...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,628
    281
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    24,590
    34,806
    390
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Shonk

    Shonk MDL Junior Member

    Oct 10, 2007
    70
    17
    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

    Oct 30, 2009
    24,590
    34,806
    390
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Shonk

    Shonk MDL Junior Member

    Oct 10, 2007
    70
    17
    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

    Jan 21, 2019
    4
    0
    0
    Hi,
    Tested this. Didn't work.

     
  8. thanh2412

    thanh2412 MDL Novice

    Sep 22, 2017
    14
    0
    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

    Jan 21, 2019
    4
    0
    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

    Jun 15, 2008
    466
    370
    10
    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

    Oct 30, 2009
    24,590
    34,806
    390
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. thanh2412

    thanh2412 MDL Novice

    Sep 22, 2017
    14
    0
    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

    Mar 13, 2014
    531
    985
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. bfoos

    bfoos MDL Guide Dog

    Jun 15, 2008
    466
    370
    10
    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

    Mar 22, 2008
    1,489
    524
    60
    Hello

    There is no 7GB "Reserved Storage" with an update of Windows 10 (1809 => 1903 for example) ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. kaljukass

    kaljukass MDL Expert

    Nov 26, 2012
    1,479
    512
    60
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    262
    248
    10
    No one protests, because there is possibility to switch off restore point, if you want.
     
  18. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,671
    711
    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 Junior Member

    Apr 12, 2014
    98
    9
    0
    step by step instructions please. I want to check this out
     
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    24,590
    34,806
    390
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...