MSFN Forum: [Guide] WinSxS Dupe removel - MSFN Forum

Jump to content


vLite Forum Rules

If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

[Guide] WinSxS Dupe removel Get Vlited Vista Cut off up to 3.2GB Rate Topic: -----

#1 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 13 December 2007 - 10:43 AM

Hello

Please Notice that WinSxS have system files and must NOT Fully removed
and low possibly that hotfix wont work [ gonna check it for sure soon ]
Anyway its could be recover easily with gimagex and ur iso or burned iso

before u do that guide on ur OS u should know i cant ensure that ur system will work properly
[well as i know its run Fine on vmware, tested Windows Server 2008 32bit and Vista Ultimate 32bit ]


i found fast way to remove the dupe files in WInSxS folder
files that dupe are mostly files that has been already installed on the system Like Windows media Player, windows defender Aero Tablet PC and so on....and that's why u dont need them

Logic explaination : Ms use winsxs to backup their components to future install
winsxs have system files and components files
components files that already installed used to be dupe
if its internal system files its wont be dupe the system will run them from winsxs dir
[i hope my logic is right]


as u see i use whereisit app to run dupe search

my personal iso is about 1.1gb the hdd space take around 3.3GB
so if ur iso is diff or u didnt use vlited its should be more then 1GB to delete


ok now lets go

1. im not sure how much its needed but u should login as Administrator

2. go to console [ with admin rights ofc ]
and run those cmds

cd c:\windows\winsxs [ take u to this folder ]
takeown /A /F *.* /r [ take ownership ]
icacls * /grant Administrator:(F) /t /c [ give u full access to it ]


3. WhereIsIt will take it all from here
just make ur disk image [ u can limit it to windows dir if ur drive is big and UnActive the Plugins will save time ]

make the dupe search [Ctrl+D] run it and make it sort as folder

delete all the files in c:\windows\WinSxS\.... [to make it fast make sure that u unmarked all the deletion options]
[edited 1.6.2008 exclude backup dir and Manifests]

Tip: edited 7.6.2008
use waik to pre-install ur feathers [with permanence="permanent"]
to get ride of those dirs and save more space [the system will delete them after the installatio]

and just for hold alt+n for few secs to skip the files that wont delete [ maybe they are in used ? ]

Hope u guys find it useful

Posted Image

Posted Image

Posted Image

Posted Image

Posted Image

This post has been edited by aviv00: 25 August 2009 - 02:30 AM



#2 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 13 December 2007 - 01:57 PM

Thx...but:

where is the warning that if they delete (insert who knows which) folder in Winsxs they won't be able to boot.
And that hotfixes might fail to install after tampering with Winsxs doubles. Oh even and Control Panel - Features. Try it :)

#3 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 13 December 2007 - 02:07 PM

ok i will try

#4 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 13 December 2007 - 02:21 PM

View Postnuhi, on Dec 13 2007, 02:57 PM, said:

Thx...but:

where is the warning that if they delete
the app "tell" what file is dupe and could be deleted
(insert who knows which) folder in Winsxs they won't be able to boot.
vista still boot after delete those dupe file i checked it in my vmware
And that hotfixes might fail to install after tampering with Winsxs doubles.
i guess its wont be that problam cuz its dupe files that vista already installed like WMP....
Oh even and Control Panel - Features. Try it :)
i try to add telnet client i got error that not all of the feathers success to installed but telnet.exe is there



is more like sfc bypasser option

This post has been edited by aviv00: 13 December 2007 - 02:26 PM


#5 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 13 December 2007 - 02:58 PM

If you tell people remove only double they will go: "and why would I keep this other gigabyte or so, lets try deleting all". Just a warning would be appropriate.
Same as cpanel failed some hotfixes will as well, I've been testing this long time ago. Thing is if you want to tamper with Winsxs say goodbye to hotfixes and component install.
I can't tell you how much I want that folder cleaned as well, working on it for later.
Also if you reinstall often then who cares that hotfixes don't work, just integrate and reinstall when there are enough of them to justify that action.
Or in case of SP1 reinstall on new version, hotfixes are not needed for now. I will be removing the whole (at least 95%) of winsxs in my next install. Why stop on double if it is already broken :)

#6 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 13 December 2007 - 03:53 PM

OK i add that warning
Please Notice that WinSxS have system files and must NOT Fully removed
and low possibly that hotfix wont work [ gonna check it for sure soon ]

the about the feathers and hotfix really doubt that its will crash

its might be only if this hotfix is connect to same component that need a fix

mostly they are used to internal system fixing

and again those files are dupe so they already been installed on the system [Components]
not important files

This post has been edited by aviv00: 13 December 2007 - 04:02 PM


#7 User is offline   Arneh 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 20-October 03

Posted 13 December 2007 - 03:56 PM

Perhaps you could include that option nuhi as an Alpha (Experimental) option with newer builds of vLite for folks that really want to slim things down and don't really care about the Hotfix/Component install issues or would they rather have to go back the v. old build of vLite that still included that option (after removing stuff with a newer vLite) to be able to use that option?

This post has been edited by Arneh: 13 December 2007 - 03:58 PM


#8 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 13 December 2007 - 04:12 PM

that is good idea

and even its not going well it could be fix easily

just copy back the files from the target [ofc with vlite or bat file ?]

This post has been edited by aviv00: 13 December 2007 - 04:15 PM


#9 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 13 December 2007 - 04:35 PM

Arneh, it will sound too convenient but it's already planned that way, hidden with the -extreme switch, available in the next version.

#10 User is offline   Arneh 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 20-October 03

Posted 13 December 2007 - 04:56 PM

View Postnuhi, on Dec 13 2007, 05:35 PM, said:

Arneh, it will sound too convenient but it's already planned that way, hidden with the -extreme switch, available in the next version.


:thumbup

#11 User is offline   Arneh 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 20-October 03

Posted 13 December 2007 - 05:03 PM

By the way, there is a newer build out today (only for Server 2008 64-Bit because it includes the new Hyper-V bits) but nevertheless it seems to be much newer than RC1.

6001.17119: http://www.microsoft.com/downloads/details...;displaylang=en

#12 User is offline   nuhi 

  • ON PAUSE - nLite & vLite human.dll
  • Group: Developers
  • Posts: 4,299
  • Joined: 25-October 03

Posted 13 December 2007 - 05:25 PM

Arneh, good, it's moving.

If at least they give slipstreamed Vista SP1 ISO this way...but anyway I'm ok with it now, capturing in virtual machine is painless.

I guess MS and video will bring down the pipes :)

#13 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 13 December 2007 - 06:11 PM

nuhi could u add in the new vlite option to enable administrator account
is might pass the user creation while installation

and btw i didnt understand nothing :P

This post has been edited by aviv00: 14 December 2007 - 03:38 AM


#14 User is offline   seeker3 

  • Group: Members
  • Posts: 4
  • Joined: 24-May 04

Posted 25 March 2008 - 09:06 AM

So,has anyone figured out if this is a safe way to clean the WinSxS folder yet? Or is there another way? I'm running Vista Home Basic SP1,and would sure like to reduce the size of that folder.It's 4.6 gigs right now,compared to XP SP3 at 19.5 megs.I see a couple of posters saying they were working on it,but the last post was Dec 13,07 and it's now March 25,08.Also can this be done on installed system,or only vlite?I hope somebody has figured out a way,because going from less than 20 megs on XP to almost 5 gigs on Vista is bloody ridiculous! Any hope? Any and all help is greatly appreciated.Thanks.

#15 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 25 March 2008 - 11:58 AM

better use vlite but still its have alot of things u need of know

update wont work and hotfix wont install
add/remove feathers will die too

if u remove comps with vlite the winsxs files will remove too and still save all the functionally i said before

use 7zip or gimagex so u could see the winsxs size before & after and see if u like it

GL

This post has been edited by aviv00: 25 March 2008 - 02:14 PM


#16 User is offline   iwod 

  • Member
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 26-March 04

Posted 26 March 2008 - 01:48 AM

Just suddenly wonder. If those files in the WinSxS is actually being loaded at all.
Perhaps we could use dummy files to fake it?

#17 User is offline   abc123456 

  • Group: Members
  • Posts: 2
  • Joined: 14-April 08

Posted 14 April 2008 - 06:17 AM

After following this guide I wasn't able to access VMware Tools anymore. Clicking twice on the tray icon didn't bring it up. No error messages were shown either.

Running: VMware Workstation 6.0.3
Guest OS: Windows Vista Ultimate (32bit)

#18 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 14 April 2008 - 10:32 AM

use the exteame option in vlite and do it with it much safer

#19 User is offline   abc123456 

  • Group: Members
  • Posts: 2
  • Joined: 14-April 08

Posted 14 April 2008 - 06:00 PM

Great. Just found this on vLite Changelog:

"v1.1 RC
(...)
new: Extreme switch to show hidden components (winsxs removal)"

Sounds promising. I'll give the current version (v1.1.6 RC) a try.
Thanks, man.

#20 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 937
  • Joined: 02-April 07

Posted 15 April 2008 - 02:11 AM

u know what will happend when u do that right :)?

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy