IPB

Google Frontpage Forums Unattended CD/DVD Guide
2 Pages V   1 2 >  
Reply to this topicStart new topic
> [Guide] WinSxS Dupe removel, Get Vlited Vista Cut off up to 3.2GB
aviv00
post Dec 13 2007, 10:43 AM
Post #1


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


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

CODE
cd c:\windows\winsxs [ take u to this folder ]
takeown /A /F *.* [ take ownership ]
icacls * /grant Administrator:(F) [ 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











This post has been edited by aviv00: Jun 7 2008, 01:59 PM
Go to the top of the page
 
+Quote Post
nuhi
post Dec 13 2007, 01:57 PM
Post #2


ON VACATION - nLite & vLite human.dll
Group Icon

Group: Software Developers
Posts: 8280
Joined: 25-October 03
Member No.: 8552
OS: none
Country Flag


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 smile.gif
Go to the top of the page
 
+Quote Post
aviv00
post Dec 13 2007, 02:07 PM
Post #3


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


ok i will try
Go to the top of the page
 
+Quote Post
aviv00
post Dec 13 2007, 02:21 PM
Post #4


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


QUOTE (nuhi @ Dec 13 2007, 02:57 PM) *
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 smile.gif
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: Dec 13 2007, 02:26 PM
Go to the top of the page
 
+Quote Post
nuhi
post Dec 13 2007, 02:58 PM
Post #5


ON VACATION - nLite & vLite human.dll
Group Icon

Group: Software Developers
Posts: 8280
Joined: 25-October 03
Member No.: 8552
OS: none
Country Flag


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 smile.gif
Go to the top of the page
 
+Quote Post
aviv00
post Dec 13 2007, 03:53 PM
Post #6


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


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: Dec 13 2007, 04:02 PM
Go to the top of the page
 
+Quote Post
Arneh
post Dec 13 2007, 03:56 PM
Post #7


Junior
*

Group: Members
Posts: 92
Joined: 20-October 03
Member No.: 8332
Country Flag


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: Dec 13 2007, 03:58 PM
Go to the top of the page
 
+Quote Post
aviv00
post Dec 13 2007, 04:12 PM
Post #8


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


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: Dec 13 2007, 04:15 PM
Go to the top of the page
 
+Quote Post
nuhi
post Dec 13 2007, 04:35 PM
Post #9


ON VACATION - nLite & vLite human.dll
Group Icon

Group: Software Developers
Posts: 8280
Joined: 25-October 03
Member No.: 8552
OS: none
Country Flag


Arneh, it will sound too convenient but it's already planned that way, hidden with the -extreme switch, available in the next version.
Go to the top of the page
 
+Quote Post
Arneh
post Dec 13 2007, 04:56 PM
Post #10


Junior
*

Group: Members
Posts: 92
Joined: 20-October 03
Member No.: 8332
Country Flag


QUOTE (nuhi @ Dec 13 2007, 05: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.


thumbup.gif
Go to the top of the page
 
+Quote Post
Arneh
post Dec 13 2007, 05:03 PM
Post #11


Junior
*

Group: Members
Posts: 92
Joined: 20-October 03
Member No.: 8332
Country Flag


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
Go to the top of the page
 
+Quote Post
nuhi
post Dec 13 2007, 05:25 PM
Post #12


ON VACATION - nLite & vLite human.dll
Group Icon

Group: Software Developers
Posts: 8280
Joined: 25-October 03
Member No.: 8552
OS: none
Country Flag


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 smile.gif
Go to the top of the page
 
+Quote Post
aviv00
post Dec 13 2007, 06:11 PM
Post #13


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


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 tongue.gif

This post has been edited by aviv00: Dec 14 2007, 03:38 AM
Go to the top of the page
 
+Quote Post
seeker3
post Mar 25 2008, 09:06 AM
Post #14





Group: Members
Posts: 4
Joined: 24-May 04
Member No.: 20608



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.
Go to the top of the page
 
+Quote Post
aviv00
post Mar 25 2008, 11:58 AM
Post #15


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


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: Mar 25 2008, 02:14 PM
Go to the top of the page
 
+Quote Post
iwod
post Mar 26 2008, 01:48 AM
Post #16


Advanced Member
***

Group: Members
Posts: 344
Joined: 26-March 04
Member No.: 16640



Just suddenly wonder. If those files in the WinSxS is actually being loaded at all.
Perhaps we could use dummy files to fake it?
Go to the top of the page
 
+Quote Post
abc123456
post Apr 14 2008, 06:17 AM
Post #17





Group: Members
Posts: 2
Joined: 14-April 08
Member No.: 186812
OS: none
Country Flag


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)
Go to the top of the page
 
+Quote Post
aviv00
post Apr 14 2008, 10:32 AM
Post #18


Vlited Server 2008 R2 x64 Workstation User
****

Group: Members
Posts: 561
Joined: 2-April 07
From: Cyberspace
Member No.: 133794
OS: none
Country Flag


use the exteame option in vlite and do it with it much safer
Go to the top of the page
 
+Quote Post