Windows 7 Forums


Reply
Thread Tools

How to compact winsxs directory ???

 
 
Pera
Guest
Posts: n/a
Thanked:
 
      05-03-2011
How to compact winsxs directory ?
 
Reply With Quote
 
 
 
 
Gordon
Guest
Posts: n/a
Thanked:
 
      05-03-2011
On 03/05/11 14:35, Pera wrote:
> How to compact winsxs directory


http://lmgtfy.com/?q=How+to+compact+winsxs+directory



 
Reply With Quote
 
Stan Brown
Guest
Posts: n/a
Thanked:
 
      05-04-2011
On Tue, 3 May 2011 15:35:21 +0200, Pera wrote:
>
> How to compact winsxs directory ?


Isn't the first question WHY rather than HOW?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
 
Reply With Quote
 
Pera
Guest
Posts: n/a
Thanked:
 
      05-08-2011
In article <>,
says...
>
> On Tue, 3 May 2011 15:35:21 +0200, Pera wrote:
> >
> > How to compact winsxs directory ?

>
> Isn't the first question WHY rather than HOW?


@Gordon:
lmgtfy doesn't help so much as you think, because there is a LOT of
results for Vista which have a tool Vsp1cln.exe. Windows7 and Win7SP1
DOESN'T have that tool. Anyway, thanks for your effort.

@Stan Brown,
I have 30Gb SSD and 10 Gb of occupiesd space is WinSxS.
I think that is answer to your question.
 
Reply With Quote
 
Stan Brown
Guest
Posts: n/a
Thanked:
 
      05-08-2011
On Sun, 8 May 2011 17:10:12 +0200, Pera wrote:
>
> In article <>,
> says...
> >
> > On Tue, 3 May 2011 15:35:21 +0200, Pera wrote:
> > >
> > > How to compact winsxs directory ?

> >
> > Isn't the first question WHY rather than HOW?

>
> @Stan Brown,
> I have 30Gb SSD and 10 Gb of occupiesd space is WinSxS.
> I think that is answer to your question.


I don't. My Googling shows that the stuff in WINSXS is necessary for
Windows to work correctly. It's just really bad management of space
by Windows 7, inherited from Vista.

You can run CLEANMGR and, if the option to clean up system files is
available, select it. But if anything further is safe, I've been
unable to find it in a source I trust.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
 
Reply With Quote
 
Paul
Guest
Posts: n/a
Thanked:
 
      05-08-2011
Stan Brown wrote:
> On Sun, 8 May 2011 17:10:12 +0200, Pera wrote:
>> In article <>,
>> says...
>>> On Tue, 3 May 2011 15:35:21 +0200, Pera wrote:
>>>> How to compact winsxs directory ?
>>> Isn't the first question WHY rather than HOW?

>> @Stan Brown,
>> I have 30Gb SSD and 10 Gb of occupiesd space is WinSxS.
>> I think that is answer to your question.

>
> I don't. My Googling shows that the stuff in WINSXS is necessary for
> Windows to work correctly. It's just really bad management of space
> by Windows 7, inherited from Vista.
>
> You can run CLEANMGR and, if the option to clean up system files is
> available, select it. But if anything further is safe, I've been
> unable to find it in a source I trust.
>


For some fun, you can look into winsxslite. It is a batch file,
which deals with old versions of files in WINSXS by hard
linking them all together :-)

This only works on Vista, but so far, I haven't seen an explanation
for why it wouldn't work on Windows 7. So treat this as
an "idea" at the moment, rather than a solution.

http://www.ghacks.net/2010/07/24/the...der-explained/

In my previous experiment, using Linux, I found that hard
links are being used. Two hard links to the same data chunk
can be in WINSXS and two hard links to other places in the file
system. Now, that would be multiplied, in a case where there
was a second version of the file. Then there would be a total
of two data chunks and eight hard links.

I think the intention of winsxslite, is to make all
hard links, point at one data chunk, and throw the second (old)
data chunk away. Basically, its an algorithm for throwing away
the old versions of DLLs, so that applications use the
newest version (sounds kinds dangerous).

"dog_1.01" ---
\____ (stored data 1)
/
"cat_1.01" ---

"dog_1.02" ---
\____ (stored data 2)
/
"cat_1.02" ---

would become

"dog_1.01" ---
\____
/ \
"cat_1.01" --- \
\
"dog_1.02" --- \
\_______ (stored data 2)
/
"cat_1.02" ---

Since all the file handles are preserved, Windows is fooled
into thinking nothing has changed. The space saving is from
no longer having to provide space for the "stored data 1" chunk.

That's my impression of what it tries to do.

http://sites.google.com/site/winsxslite/

---> http://rapidshare.com/users/6HHIJB

WinsxsLite1.86.zip

What is inside that ZIP is a .bat file, so you are able
to read the logic for yourself. The .bat file appears
to have a check for operating system version number, so
it has a discrete check for whether the operating system
is Vista or not. I don't think it will run on
Windows 7.

What is interesting about this concept, is whether anyone
has run into problems on their Vista computer, by using it.
If not, it implies there really isn't a dependency on the older
versions of files.

*****

The writer of that batch file, answers this question.

http://answers.yahoo.com/question/in...2164428AAYzhNt

Some postings by the writer of that batch file.

http://social.technet.microsoft.com/...5-749670cec8c3

"Chris Bering Saturday, November 15, 2008 7:06 PM

... Enter WinsxsLite - a batch program I'm working on."

So the big question would be, why isn't there a script like that
for Windows 7 ?

HTH,
Paul
 
Reply With Quote
 
Pera
Guest
Posts: n/a
Thanked:
 
      05-10-2011
Thak you on your explanation and idea, Paul.
It will be considered.

In article <iq6sh8$r2u$>, says...
>
> Stan Brown wrote:
> > On Sun, 8 May 2011 17:10:12 +0200, Pera wrote:
> >> In article <>,
> >> says...
> >>> On Tue, 3 May 2011 15:35:21 +0200, Pera wrote:
> >>>> How to compact winsxs directory ?
> >>> Isn't the first question WHY rather than HOW?
> >> @Stan Brown,
> >> I have 30Gb SSD and 10 Gb of occupiesd space is WinSxS.
> >> I think that is answer to your question.

> >
> > I don't. My Googling shows that the stuff in WINSXS is necessary for
> > Windows to work correctly. It's just really bad management of space
> > by Windows 7, inherited from Vista.
> >
> > You can run CLEANMGR and, if the option to clean up system files is
> > available, select it. But if anything further is safe, I've been
> > unable to find it in a source I trust.
> >

>
> For some fun, you can look into winsxslite. It is a batch file,
> which deals with old versions of files in WINSXS by hard
> linking them all together :-)
>
> This only works on Vista, but so far, I haven't seen an explanation
> for why it wouldn't work on Windows 7. So treat this as
> an "idea" at the moment, rather than a solution.
>
> http://www.ghacks.net/2010/07/24/the...der-explained/
>
> In my previous experiment, using Linux, I found that hard
> links are being used. Two hard links to the same data chunk
> can be in WINSXS and two hard links to other places in the file
> system. Now, that would be multiplied, in a case where there
> was a second version of the file. Then there would be a total
> of two data chunks and eight hard links.
>
> I think the intention of winsxslite, is to make all
> hard links, point at one data chunk, and throw the second (old)
> data chunk away. Basically, its an algorithm for throwing away
> the old versions of DLLs, so that applications use the
> newest version (sounds kinds dangerous).
>
> "dog_1.01" ---
> \____ (stored data 1)
> /
> "cat_1.01" ---
>
> "dog_1.02" ---



 
Reply With Quote
 
Mark Blain
Guest
Posts: n/a
Thanked:
 
      05-10-2011
Pera <> wrote in news:MPG.282a2306d2e2eb45989693
@news.eternal-september.org:

> How to compact winsxs directory ?


If you've installed Windows 7 SP1 and you're sure you'll never want to
uninstall it, there's a way to access a "hidden" checkbox in Disk
Cleanup:
http://matthewlong.wordpress.com/tag/dism/
 
Reply With Quote
 
Pera
Guest
Posts: n/a
Thanked:
 
      05-12-2011
In article <Xns9EE1AF7B69FB9mblainalbany@216.168.3.70>, mblain2
@yahoo.com says...
>
> Pera <> wrote in news:MPG.282a2306d2e2eb45989693
> @news.eternal-september.org:
>
> > How to compact winsxs directory ?

>
> If you've installed Windows 7 SP1 and you're sure you'll never want to
> uninstall it, there's a way to access a "hidden" checkbox in Disk
> Cleanup:
> http://matthewlong.wordpress.com/tag/dism/


Thank you, mr.Blain.
I will try.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 CMD Help & Tips Fire cat Customization 16 04-18-2012 05:17 PM
Windows 7 Command Reference rakesh.kulkarni26 Windows 7 Support 2 03-25-2011 02:35 PM
Active Directory Users & Computers Adama Windows 7 Support 1 01-19-2011 07:50 PM
modify default directory for new install ? roy_harlie Customization 1 03-01-2010 01:32 PM
How to move User profile directory c:\User\Profile mtheriault General Discussion 8 11-20-2009 04:33 PM


All times are GMT +1. The time now is 11:17 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33