HD Clean up in VM

I have been tasked to clean up and make more space in a VM. See attachment.
It is a Win 2008 R2 and I have done the normal stuff like cleaning/deleting temp files, compression, removing unused profiles, etc.
 I was wondering if  I can reduce the .vswp (swap files) since there are 2.  Any other advise will be appreciated.
Thanks.
SwapFile.docx
cgeorgeisaacAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are you trying to save space inside the VM, or outside of the VM ?

currently you are looking outside of the VM, on he Hypervisor datastore.

As for the vSWP files, these are part of the hypervisor design, and are created when the VM is powered ON, they are removed then the VM is off, you cannot remove them!

They are used, when the hypervisor, starts to run out of memory for the VM, and starts to swap to disk.

If you wish to reduce the sizes on the VMFS datastore, you can specify memory reservations, but be warned if you start messing with reservations, you will affect the performance of the VM, by restricting memory in the VM. or ring fencing resources for the VM.

So are you trying to save space on the VMFS datastore or inside the VM OS partition?
0
cgeorgeisaacAuthor Commented:
Thanks for your quick response.  I want to save space INSIDE the VM OS partition.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
So you need to do this inside the VM, not outside the VM on the datastore. So you need to connect to the VM using Remote Desktop Connection, or Open the console to the VM, and delete files inside the VM, from he VM OS Partition.

But remember here, that you have a virtual machine disk container, on the datastore, which is approx 230GB, this has been predefined, deleting files inside the VM, is NOT going to change this FIXED size, it will always occupy 230GB, does not matter, how many files get deleted.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

cgeorgeisaacAuthor Commented:
Thanks.
Sure, but I am not too sure what else  needs to be deleted or uninstalled from the Win 2008 R2 OS, to make more space.
I Tried this: http://www.hanselman.com/blog/GuideToFreeingUpDiskSpaceUnderWindows7.aspx
and
http://www.vsysad.com/2013/04/remove-vm-swap-file-in-esxi-5-x/   (but this is for Outside VM - for datastore)
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
that seems an okay article, at removing files in the VM....

Are you short of space in the VM ?

what are you trying to achieve ?
0
cgeorgeisaacAuthor Commented:
Yes short on space in the VM and the Storage too does not have much space.  This being a developer's  VM I really need to make some space (without deleting any programs)..  Would V2V conversion help or Resizing help?   If so, would appreciate the specific steps please.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Okay, so you will need to add space to the actual VMDK (VM).

but do not add too much space to fill up the datastore.

see my EE Article here

HOW TO:  Resize a VMware (VMDK) Virtual Disk
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cgeorgeisaacAuthor Commented:
Helpful links
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.