Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

WinSXS folder - Real or Links? Move / Don't Move

Posted on 2013-12-06
13
747 Views
Last Modified: 2014-01-23
Like many others (judging from the number of posts) the WinSXS folder on some of our servers is rapidly eating up free disc space.  Due to the number of differing opinions I have come across, please can someone give a definitive answer to the following :

1. Are the files in the winsxs folder 'real' or hard links to files elsewhere ?

2. Can the winsxs folder be safely moved off to another drive and a hard link created to redirect requests to the new location?  ( machine's are all vms so if the folder can be moved I would attach a new thin prov volume and drop the winsxs folder in this ). Only other option is to expand the existing volume but as mine are all thick provisioned I wouldn't want to add masses of space - if this the only way to do it, however, I'll settle for having to just add a bit more space as and when required.

o/s = Windows 2008 R2 ( vm under VMware ESXi 4.1.0 )
0
Comment
Question by:cmdown
13 Comments
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 39701146
If it is a VM then just expand the virtual hard drive.

As for converting Thick provisioned to thin provision, it can be done if you have Storage Vmotion available.

Less hassle and more direct than moving the hardlinks.
0
 
LVL 9

Expert Comment

by:Alex Green
ID: 39701148
1. Not sure about real files

2. No you can't move them off elsewhere, if it's windows 2008r2 you can do disk clean up and delete update files. That will clean off all the files it can safely, if you don't have the disk cleanup option (default isn't installed) then follow this

http://technet.microsoft.com/en-us/library/ff630161%28v=ws.10%29.aspx
0
 
LVL 119
ID: 39701242
Don't Move, Re-size the virtual disk.

see my EE Article

HOW TO:  Resize a VMware (VMDK) Virtual Disk
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Expert Comment

by:kchall
ID: 39701315
i have run this command on our 2008 servers as well as the windows 7 ones.

DISM /online /Cleanup-Image /SpSuperseded

The WinSXS folder is used to store install and uninstall files, windows packages (current and previous versions of a component) and out-of-band releases. You should not completely delete this folder. Post Windows 7 SP1, there is now a way to remove the unnecessary files from this folder using the command line (elevated/admin mode -> Click Start -> Type “cmd” in Search. Right click on “cmd” and choose “Run as Administrator”). This is great for reducing the Windows folder size for SSDs and netbooks. In my case it saved 3.5GB of space.
0
 
LVL 50

Accepted Solution

by:
jcimarron earned 500 total points
ID: 39701442
0
 
LVL 1

Author Comment

by:cmdown
ID: 39713865
Hi jc

Thanks for your post (above).  I've had a look at the article earlier this week but have not had a chance to test out.  I will hopefully do this before the end of next week and will update this Q accordingly.
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 39757306
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 39757307
Multiple answers were given. All have some merit.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39757602
cmdown--There is still time for you to accept a solution.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39758196
cmdown asked two questions:
1. Are the files in the winsxs folder 'real' or hard links to files elsewhere ?

2. Can the winsxs folder be safely moved off to another drive and a hard link created to redirect requests to the new location?  But this was asked in the context of reducing disk space.  

In http:#a39701442 I answered question 1. (They are real files.)  And I also inferred that there were ways to reduce the size of the Winsxs file other than moving it in answer to question 2.

So http:#a39701442 should certainly be one solution.  Whether the other suggestions work, I have not tried.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SOA*.tmp files 2 40
intel CPUs suffix question.. 4 37
Converting a certificate into a PEM 2 17
Corrupt / Encrypted Word Documents 6 25
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question