Author Topic: WinSxS or WinSuxS  (Read 553 times)

zedd151

  • Member
  • ****
  • Posts: 847
WinSxS or WinSuxS
« on: May 08, 2018, 03:33:24 PM »
[RANT!]

I have a relatively small (by todays standards) hard drive. 32 GB
I somehow got down to only 5 GB free space. So, I backed up all of my personal files, installers, etc...
Then re-installed Windows 10, so that I could make a backup of the clean system.

The freshly installed Windows 10 occupies 11.5 GB!! (After turning off hibernation and pagefile)
I found the main culprit in WinSxS. I assume those files are some kind of failsafe backup copies of the system files.
They cannot be deleted by ordinary means, need to be done by "Trusted Installer". Anyway here is what bothers me the size of the WinSxS folder and everything inside.

Code: [Select]
Size: 9.61 GB (10,327,271,762 bytes)

Size on Disk: 5.95 GB (6,397,808,640 bytes)

Contains: 67,016 Files, 17,622 Folders

that is just over half of the entire operating system!

Anyway, to give myself some more space I have turned off Hibernation and Pagefile. (Really tricky finding where the setting for Pagefile was)

[/RANT]

PS, I should have turned those off BEFORE I made the backup of the clean install.
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5762
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: WinSxS or WinSuxS
« Reply #1 on: May 08, 2018, 05:52:22 PM »
Z,

Get a bigger disk as soon as you can, that one is far too small for Win10.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

sinsi

  • Member
  • *****
  • Posts: 1066
I can walk on water but stagger on beer.

jj2007

  • Member
  • *****
  • Posts: 8735
  • Assembler is fun ;-)
    • MasmBasic
Re: WinSxS or WinSuxS
« Reply #3 on: May 08, 2018, 07:14:56 PM »
Good link, sinsi. Especially the comments are worth reading.

zedd151

  • Member
  • ****
  • Posts: 847
Re: WinSxS or WinSuxS
« Reply #4 on: May 08, 2018, 07:41:06 PM »
That is a very good link, sinsi. I was looking into also using NTLite to slim down this Win 10 installation. That program is similar to the old nLite (for Win xp).


NTLite
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

AW

  • Member
  • *****
  • Posts: 1483
  • Let's Make ASM Great Again!
Re: WinSxS or WinSuxS
« Reply #5 on: May 08, 2018, 07:41:56 PM »
I have a relatively small (by todays standards) hard drive. 32 GB
Buy a 32 GB USB stick for drive D to double the system capacity  :icon_exclaim:
You can put all MASM stuff in there and it will run fast enough.


zedd151

  • Member
  • ****
  • Posts: 847
Re: WinSxS or WinSuxS
« Reply #6 on: May 08, 2018, 07:48:09 PM »

Buy a 32 GB USB stick for drive ...

Actually I have a 64 GB micro SD card that I will probably use. Another alternative for me would be an external HD. Prices seem to have come down fairly well in recent years.

btw, the HD on this netbook isn't easy to get to. Would have to disassemble the whole thing just to get to it. From what I've seen on the web, it is still a standard SATA drive and not soldered in, or a proprietary plug arrangement. Dell Inspiron 3180.
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

sinsi

  • Member
  • *****
  • Posts: 1066
Re: WinSxS or WinSuxS
« Reply #7 on: May 08, 2018, 08:57:58 PM »
Looks like that Dell comes with a 32GB drive, but it's eMMC not SATA.
The trouble with eMMC is that it's usually "embedded" - to me that means soldered, not replaceable.
The good news it that it has 2 USB 3.1 ports, get a nice external SSD, they are not too expensive nowadays.
I can walk on water but stagger on beer.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 5762
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: WinSxS or WinSuxS
« Reply #8 on: May 08, 2018, 09:09:02 PM »
The specs say it has USB 3.1 so a USB eternal of 2 tb would solve most of your storage problems. This means you could just run the OS on the internal drive and do your own work on the external drive.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

daydreamer

  • Member
  • ****
  • Posts: 531
  • reach for the stars
Re: WinSxS or WinSuxS
« Reply #9 on: May 09, 2018, 03:55:28 AM »
there is even smartphones with 128gb,I have a 10.1 tablet with 16+64gb
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

zedd151

  • Member
  • ****
  • Posts: 847
Re: WinSxS or WinSuxS
« Reply #10 on: July 21, 2018, 12:47:15 PM »

As far as WinSxS - most if not all of what is in the WinSxS directory are 'NTFS Hard Links' not actual files. A Hard Link is when a file has more than one Parent. So Windows Explorer counts Hard Linked files more than once, giving the impression that WinSxS is taking up huge amounts of space, when in reality it is not. It is actually saving disk space by reducing the amount of redundant files.


I learned much of this during my subsequent research on WinSxS and NTFS Hard Links. But it still sux. Why would a file even need more than one parent. I had only one parent during much of my childhood, and I turned out just fine.   :P
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

Vortex

  • Member
  • *****
  • Posts: 1841
Re: WinSxS or WinSuxS
« Reply #11 on: July 22, 2018, 03:54:26 AM »
Hi zedd,

That WinSxS folder is a bad design of M$. By the way, a nice tool handling the hard links :

http://schinagl.priv.at/nt/ln/ln.html

fearless

  • Member
  • ***
  • Posts: 356
    • LetTheLightIn
Re: WinSxS or WinSuxS
« Reply #12 on: July 22, 2018, 04:59:52 AM »
fearless

CM690II Case, HX1000 PSU, Asus Z97, Intel i7-4790K, Seidon 120v Cooler, 16GB DDR3, MSI GTX 980TI

www.LetTheLight.in  My Github  Twitter

zedd151

  • Member
  • ****
  • Posts: 847
Re: WinSxS or WinSuxS
« Reply #13 on: July 22, 2018, 05:08:47 AM »
Hi zedd,

That WinSxS folder is a bad design of M$.


Yeah, it started with Windows xp with only a couple of folders.
Then Windows Vista and Windows 7 M$ added a bunch more.
In Windows 10, it seems every system file has a hard linked file in WinSxS. So when examining the WinSxS Directory size
with Explorer, it appears that WinSxS is larger than the entire Operating System.  You would think that they would fix that bug.


There are numerous complaints on the internet about the 'perceived' size of WinSxS.


Thanks for the link, will add it to my Tool Box.


@ fearless thank you for that link as well.
I'm not always the sharpest knife in the drawer, but I have my moments.  :P