How to compact winsxs directory ???

P

Pera

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.
 
S

Stan Brown

@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.
 
P

Paul

Stan said:
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-winsxs-folder-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/index?qid=20090202164428AAYzhNt

Some postings by the writer of that batch file.

http://social.technet.microsoft.com...p/thread/9411dbaa-69ac-43a1-8915-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
 
P

Pera

Thak you on your explanation and idea, Paul.
It will be considered. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top