Same image, different install sizes...

Damai

New Member
I have a i7-13700k/Z790 and a i7-7700k/Z270 and I used the old one to test my unattended image, and then I install that same config on the new one, changing only the name of the computer and the drivers folders, everything else should be the same. I use the exact same preset in NTLite.
Surprisingly, install size on C:\ is around 36Go on the 128Gb Sata SSD on 7700k and only 20Go on the 512Gb Nvme SSD on 13700k, both having 16Go DDR4 ... That's 16Go difference between the two deployments !
Can anyone explain that weirdness to me ?
 
May be related to one or both of these other posts. Inside both threads you'll find all the responses that everyone will also reply to this new thread here, so you may as well read through the links and see if that information applies to your situation. If not, then wait and see if Nuhi can look into them further, now that another user is reporting it too:

https://www.ntlite.com/community/index.php?threads/install-size-issue.3205/
https://www.ntlite.com/community/index.php?threads/image-size-increases-for-unknown-reason.3210/
 
Thanks for your reply, I've read thoses post before posting mine.
One of the other post seems not related since it deals about Image size and not Installation size and the other one didn't helped me.
 
1. Check the actual disk space used by Windows:
DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore
1 (a). Check the size of Driver Store:
powershell -nop -ep bypass - C "\"{0:N2} GB\" -f ((gci –force $Env:windir\System32\DriverStore\FileRepository –Recurse -ErrorAction SilentlyContinue | measure Length -s).sum / 1Gb)"

2. Check the size of hibernation file (if enabled):
dir c:\hiberfil.sys /ah

3. Check the size of Reserved Storage (if enabled):
fsutil storagereserve query C:
 
Hello, and thanks for your good help !

Less than 0.3 GB difference with <DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore>
From 2.28 GB to 19.90GB discrepancy with <"{0:N2} GB" -f ((gci –force $Env:windir\System32\DriverStore\FileRepository –Recurse -ErrorAction SilentlyContinue| measure Length -s).sum / 1Gb)> !!!!
Hibernation and Reserved Storage Disabled.

You found the culprit ... any hints on thoses 20 GB of drivers ?
Motherboard is Asrock z270 Taichi while new one is Asrock z790 Pro RS/D4.
Driver folder size for z270 is 1.15 Go and for z790 it is 380 Mo, both without nVidia ... nowhere near those 20 Go, hard to understand how and from what another 19 Go or even 2 Go gets created.
 
powershell -nop -ep bypass -C "gci -force $Env:windir\System32\DriverStore\FileRepository -ErrorAction SilentlyContinue |% { '{0,9} {1}' -f (gci -force -r $_.FullName | Measure-Object -Property Length -sum).Sum,$_ } | Sort-Object -Descending | select -First 10"
Change the "select -First" to list the top [N] folders.

Code:
890641068 nvlti.inf_amd64_neutral_3b92a9f0193b8de0
332061996 igdlh64.inf_amd64_neutral_851d8eb106afc186
254333320 hdxpcee4.inf_amd64_neutral_c4f8c15abd806c85
102838125 etd.inf_amd64_neutral_bedec7b6a5e66ed6
 46633625 prnhp003.inf_amd64_neutral_4480210763997eb4
 43090244 prnhp002.inf_amd64_neutral_04d05d1f6a90ea24
 38340078 prnhp005.inf_amd64_neutral_914d6c300207814f
 36337176 nv_lh.inf_amd64_neutral_bc69f20e3115af59
 31267534 atiilhag.inf_amd64_neutral_0a660e899f5038a2
 27628431 igdlh.inf_amd64_neutral_54a12b57f547d08e
 
Nailed it !! Another user saved ... ;)

I checked with your last tip, and i got a great bunch of hdx*.inf, -First 50 still over 200Mo ...
Desinstalled realtek audio drivers, and overall space used on C:\ came down from 36 Go to 16 Go, amazing !!
Driverstore returns 2.5 GB now.
Installed same audio drivers as Z790 (I was expected them not to be compatible) and everything works great now.
Old deployment is even smaller (4Go) than new one, but it is not enough to bother me.

Great many thanks garlin, and hope this will help people to save 20 Go !
 
I hate to ask but what is "Go"?? The only thing that turned up is a M$ product. Is that some other way of writing GB?
 
OP is from a country with language police. Disque dur is measured in gigaoctets (Go).
 
French & French Canadian authorities ban using the preferred English terms like "disk drive", Gigabyte.
If you carefully read Seagate or WD packaging, it's printed that way.
 
I just discovered that those 20 Go, GB or Gb is roughly the difference between HDA and UAD type of Realtek drivers (!!!)
 
Just to add - on a final install after WU update drivers, it can reduce the installation quite a bit by removing old drivers, what Windows doesn't delete using RAPR (run as admin).
Just rightclick and select all and Delete Driver (Don't use Force deletion as WU will download all installed/ used drivers again).
Works fine removing a gig or so with outdated display drivers like Nvidia/ AMD.
 
Or just nuke Windows Update ...
I mean if you are the type to deploy your own image, two maybe three up to date installs per year is more than enough to feel secure while avoiding brand new bugs along with brand new updates.
 
Back
Top