Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    3 Star Lounger
    Join Date
    Apr 2010
    Location
    Los Gatos CA
    Posts
    376
    Thanks
    52
    Thanked 12 Times in 11 Posts

    WinSxS......again

    I've trawled back through the Windows Secrets newsletters, and Googled for WinSxs, and garnered all the info I can get on cutting this pesky folder down to size, but it's still absurdly big. When I did the initial clean-up, including "Cleanup system files" the size actually increased from 10.19GB to 10.50GB. I then opted for removing all except the latest restore point, and that cut it down to 9.20GB. Better, but hardly a significant pruning job, and a considerable chunk of the 240GB SSD which is C drive..

    I looked at "Installed Updates". There are a 181 for Windows dating since August 2015, but one, KB976902, dated 20-Nov-10, more than 4 years before HP gave birth to this machine. And there are 9 Office Updates and Compatibility Packs, a Visual C++, and a Silverlight update too. Can't I get rid of these since the machine is running fine and I'm not planning on back-tracking?

    Hoping for a cleaner C drive,

    David

  2. #2
    Silver Lounger RolandJS's Avatar
    Join Date
    Dec 2009
    Location
    Austin metro area TX USA
    Posts
    1,735
    Thanks
    95
    Thanked 128 Times in 125 Posts
    Have restorable OS partition images before treading onto Windows hollowed grounds.
    "Take care of thy backups and thy restores shall take care of thee." Ben Franklin revisited.
    http://collegecafe.fr.yuku.com/forum...-Technologies/

  3. #3
    3 Star Lounger
    Join Date
    Apr 2010
    Location
    Los Gatos CA
    Posts
    376
    Thanks
    52
    Thanked 12 Times in 11 Posts
    Quote Originally Posted by RolandJS View Post
    Have restorable OS partition images before treading onto Windows hollowed grounds.
    I do have images, more than one, which of course include the 9+GB WinSxs folder. And once upon a time I was a whizz at editing the registry, but I don't know what the cryptic 'edit' is.

    David

  4. #4
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,202
    Thanks
    49
    Thanked 987 Times in 917 Posts
    My SXS folder is 7GB but I still have plenty of space on my small SSD. If you are running out of space you need a bigger disk.

    cheers, Paul

  5. #5
    Star Lounger beachboybogart's Avatar
    Join Date
    Jul 2015
    Location
    Mexico for the time being...
    Posts
    86
    Thanks
    5
    Thanked 1 Time in 1 Post
    No, you cannot delete Updates... some are inextricably tied into the OS, which I find to be very lazy programming. I know, cause I tried. Bam. Destroyed my OS, had to reinstall.

  6. #6
    3 Star Lounger
    Join Date
    Apr 2010
    Location
    Los Gatos CA
    Posts
    376
    Thanks
    52
    Thanked 12 Times in 11 Posts
    Quote Originally Posted by Paul T View Post
    My SXS folder is 7GB but I still have plenty of space on my small SSD. If you are running out of space you need a bigger disk.

    cheers, Paul
    It's not that I'm running out of disk space-yet, 48% of 240GB free. But having started using computers before the days of hard disks, and then having saved up to buy my first one, a massive 20MB drive, I've never got over my parsimonious ways with disk usage. At one time a friend and I had an on-going competition to see who could pare Windows 3.0 installation down the most. He won by cutting it down from a monstrous 7MB to 3.5MB, and as far as I could tell it lost none of its functionality. So it irks me to see 9+GB of disk space wasted, as beachboybogart says it's lazy programming.

    Yes of course a bigger disk is always the ultimate solution, and one that becomes more affordable year after year. The 512GB SSDs are now the same price as the 240GB ones were 15 months ago when I bought this machine. If I can get another year out of this disk I'll probably be able to get a 1TB drive for about the same price.

    Anyway thanks for the responses, I'll leave the cr*p alone.

    David

  7. #7
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,202
    Thanks
    49
    Thanked 987 Times in 917 Posts
    I once managed to to get OS/2 down to a single bootable 3.5 floppy for recovery purposes. Them's were the days!

    cheers, Paul

  8. #8
    Silver Lounger wavy's Avatar
    Join Date
    Dec 2009
    Location
    ny
    Posts
    2,378
    Thanks
    235
    Thanked 147 Times in 136 Posts
    Quote Originally Posted by Paul T View Post
    I once managed to to get OS/2 down to a single bootable 3.5 floppy for recovery purposes. Them's were the days!

    cheers, Paul
    AAAh you're Warped!!
    David

    Just because you don't know where you are going doesn't mean any road will get you there.

  9. #9
    Super Moderator bbearren's Avatar
    Join Date
    Dec 2009
    Location
    Polk County, Florida
    Posts
    3,761
    Thanks
    26
    Thanked 424 Times in 338 Posts
    Have you tried this?

    From an elevated Command Prompt, run

    dism /online /cleanup-image /spsuperseded /hidesp

    Create a fresh drive image before making system changes, in case you need to start over!

    "The problem is not the problem. The problem is your attitude about the problem. Savvy?"—Captain Jack Sparrow "When you're troubleshooting, start with the simple and proceed to the complex."—M.O. Johns "Experience is what you get when you're looking for something else."—Sir Thomas Robert Deware.
    Unleash Windows

  10. #10
    jwoods
    Guest
    Unfortunately, those DISM options won't work in Windows 7...

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    DISM.exe [dism_options] {WIM_command} [<WIM_arguments>]
    DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
    {servicing_command} [<servicing_arguments>]

    DESCRIPTION:

    DISM enumerates, installs, uninstalls, configures, and updates features
    and packages in Windows images. The commands that are available depend
    on the image being serviced and whether the image is offline or running.

    WIM COMMANDS:

    /Get-MountedWimInfo - Displays information about mounted WIM images.
    /Get-WimInfo - Displays information about images in a WIM file.
    /Commit-Wim - Saves changes to a mounted WIM image.
    /Unmount-Wim - Unmounts a mounted WIM image.
    /Mount-Wim - Mounts an image from a WIM file.
    /Remount-Wim - Recovers an orphaned WIM mount directory.
    /Cleanup-Wim - Deletes resources associated with mounted WIM
    images that are corrupt.

    IMAGE SPECIFICATIONS:

    /Online - Targets the running operating system.
    /Image - Specifies the path to the root directory of an
    offline Windows image.

    DISM OPTIONS:

    /English - Displays command line output in English.
    /Format - Specifies the report output format.
    /WinDir - Specifies the path to the Windows directory.
    /SysDriveDir - Specifies the path to the system-loader file named
    BootMgr.
    /LogPath - Specifies the logfile path.
    /LogLevel - Specifies the output level shown in the log (1-4).
    /NoRestart - Suppresses automatic reboots and reboot prompts.
    /Quiet - Suppresses all output except for error messages.
    /ScratchDir - Specifies the path to a scratch directory.

  11. #11
    Super Moderator bbearren's Avatar
    Join Date
    Dec 2009
    Location
    Polk County, Florida
    Posts
    3,761
    Thanks
    26
    Thanked 424 Times in 338 Posts
    Quote Originally Posted by jwoods View Post
    Unfortunately, those DISM options won't work in Windows 7...
    Incorrect.
    Create a fresh drive image before making system changes, in case you need to start over!

    "The problem is not the problem. The problem is your attitude about the problem. Savvy?"—Captain Jack Sparrow "When you're troubleshooting, start with the simple and proceed to the complex."—M.O. Johns "Experience is what you get when you're looking for something else."—Sir Thomas Robert Deware.
    Unleash Windows

  12. #12
    WS Lounge VIP Coochin's Avatar
    Join Date
    Jun 2014
    Location
    Queensland, Australia
    Posts
    2,155
    Thanks
    31
    Thanked 307 Times in 267 Posts
    @ bbearren

    The "Incorrect" link in your #11 post appears to be incorrect

    The page is titled "Windows 7: Windows 7 SP1 Disk Cleanup Tool" and I don't see mention of DISM.
    Computer Consultant/Technician since 1998 (first PC was Atari 1040STE in 1988).
    Most common computing error is EBKAC: Error Between Keyboard And Chairback
    AMD FX8120 (8-core @ 3.1GHz) CPU, Gigabyte GA-990FXA-D3 motherboard, 8GB (2x4GB) DDR3 1866MHz RAM, ATI-AMD Radeon HD6770 PCI-E VGA, 480GB Kingston SSD, 2TB Seagate SATA3.0 HDD, ASUS DVD/RW.

  13. #13
    Super Moderator satrow's Avatar
    Join Date
    Dec 2009
    Location
    Cardiff, UK
    Posts
    4,492
    Thanks
    284
    Thanked 577 Times in 480 Posts
    Quote Originally Posted by Coochin View Post
    The page is titled "Windows 7: Windows 7 SP1 Disk Cleanup Tool" and I don't see mention of DISM.
    Post#1. Option 2 is where the DISM mentions begin.

  14. #14
    WS Lounge VIP Coochin's Avatar
    Join Date
    Jun 2014
    Location
    Queensland, Australia
    Posts
    2,155
    Thanks
    31
    Thanked 307 Times in 267 Posts
    Quote Originally Posted by satrow View Post
    Post#1. Option 2 is where the DISM mentions begin.
    Whoops! You're correct, I just had a closer look and spotted it and came back to this thread to edit my #12 post but you beat me to it (just).
    Computer Consultant/Technician since 1998 (first PC was Atari 1040STE in 1988).
    Most common computing error is EBKAC: Error Between Keyboard And Chairback
    AMD FX8120 (8-core @ 3.1GHz) CPU, Gigabyte GA-990FXA-D3 motherboard, 8GB (2x4GB) DDR3 1866MHz RAM, ATI-AMD Radeon HD6770 PCI-E VGA, 480GB Kingston SSD, 2TB Seagate SATA3.0 HDD, ASUS DVD/RW.

  15. #15
    jwoods
    Guest
    The DISM options are for Service Pack Cleanup, which will remove any service pack backup files, if they exist.

    Doesn't do a "cleanup" of WinSxS in Windows 7, which I think is what the OP is looking for.
    Last edited by jwoods; 2015-10-18 at 00:31.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •