[Solved] Default windows 10 LTSC IoT is more than 80 GB, please help

Discussion in 'Windows 10' started by jineso, Aug 8, 2024.

  1. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    #1 jineso, Aug 8, 2024
    Last edited: Aug 8, 2024
    Hi,
    Why default installation for windows 10 LTSC IoT consume all this space?
    I used to find it consume about 19:22 GB.

    upload_2024-8-8_11-37-44.png

    upload_2024-8-8_11-38-5.png

    upload_2024-8-8_11-38-33.png

    upload_2024-8-8_11-39-7.png

    upload_2024-8-8_11-39-37.png

    upload_2024-8-8_11-39-54.png

    upload_2024-8-8_11-40-12.png

    upload_2024-8-8_11-40-29.png

    upload_2024-8-8_11-40-52.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    #2 jineso, Aug 8, 2024
    Last edited: Aug 8, 2024
    (OP)
    upload_2024-8-8_11-42-3.png
    upload_2024-8-8_11-42-22.png
    upload_2024-8-8_12-2-9.png
    upload_2024-8-8_12-2-43.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,825
    2,426
    60
    Because you apparently have an obnoxious amount of RAM(judging by the treesize screenshot). Follow above advice and you'll be good. There's nothing abnormal here. You're just not aware about hiberfil and pagefile files.
     
  4. Dude Guyman

    Dude Guyman MDL Senior Member

    Jun 20, 2017
    329
    326
    10
    #5 Dude Guyman, Aug 8, 2024
    Last edited: Aug 18, 2024
    My installs are about ~9.6 GB fresh and ~13.6 GB after I install all my drivers and programs, usually creeping up to ~14.3 or so soon after from config/temp files, updates residue, etc.

    My guess is hibernation as mentioned. To disable: Admin command prompt:
    powercfg.exe /hibernate off

    System Reserved Storage space (takes ~7+ GB?):
    To disable:

    (paste into text file, renamed to "whatever.REG", double click) The "ShippedWithReserves=0" setting is the important one.
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ReserveManager]
    "BaseHardReserveSize"=hex(b):00,00,00,00,00,00,00,00
    "BaseSoftReserveSize"=hex(b):00,00,00,00,00,00,00,00
    "MinDiskSize"=hex(b):00,00,00,00,00,00,00,00
    "HardReserveAdjustment"=hex(b):01,00,00,00,00,00,00,00
    "ShippedWithReserves"=dword:00000000
    "PassedPolicy"=dword:00000000
    "TiAttemptedInitialization"=dword:00000000
    
    
    System Restore. It can eat up tens of gigabytes over time if the allowed space slider is too high (can set slider to minimum and leave SR on if needed). I find System Restore 100% useless since I keep full backup images, so I disable that too (but it loves to turn itself back on and needs constant babysitting).

    (paste into text file, renamed to "whatever.REG", double click)
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore]
    "DisableSR"=dword:00000001
    
    
     
  5. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    289
    54
    10
    Thanks a lot, I learned from your replies.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. ashish1989

    ashish1989 MDL Addicted

    Sep 20, 2013
    502
    97
    30
    Why 4gb? Any specific reason?
     
  7. Dude Guyman

    Dude Guyman MDL Senior Member

    Jun 20, 2017
    329
    326
    10
    #8 Dude Guyman, Aug 11, 2024
    Last edited: Aug 12, 2024
    I set mine to 32 min - 2048 max, with 16 GB RAM, and the only problem so far was Horizon Zero Dawn while caching shaders, which takes like 20+ GB. That game is an absolute PIG! Running HZD requires me to change my setting to 32-18432-ish.

    Day to day, I could get by with no swap though.
     
  8. monstrocity

    monstrocity MDL Junior Member

    Jun 4, 2016
    55
    33
    0
    I only mentioned the 4GB as a reference. If you set a custom range, like 16MB to 4064GB, you'll probably end up with about a 2.5GB pagefile after reboot on a 16GB RAM system. It's all up to personal use cases. If you need more for specific programs, like the game mentioned above, then you can manually allocate more or leave it on automatic.
    The main issue of the OP was to address the larger than expected size of a fresh install; a 19GB pagefile is overkill and a waste of disk space for most users.
     
  9. ashish1989

    ashish1989 MDL Addicted

    Sep 20, 2013
    502
    97
    30
    I have 8gb ram and I am not a gamer, how much page file is good for me?
     
  10. Dude Guyman

    Dude Guyman MDL Senior Member

    Jun 20, 2017
    329
    326
    10
    #11 Dude Guyman, Aug 12, 2024
    Last edited: Aug 13, 2024
    Depends on what you run on your PC. With 8 GB, I'd allow a bit more swap if it was me though. Say 1024 min - 16,384 max or so (if WIN10+)? Then adjust if needed. If it runs okay on less, whatever works, but the old idea of, "you need double the amount of your RAM" is insane! The more RAM you have, the less swap you need.

    My size on disk with 32-2048 on Win10 (I'm sure they're dynamic and grow if needed):
    pagefile.sys = 32 MB
    swapfile.sys = 16 MB