Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have made a mistake in designing my partitions for a home server. I have windows server 2008 R2 installed on a 40 Gb partition.

  • C:\Windows is using 25 Gb
  • C:\Users is using 2 Gb
  • both C:\Program Files and C:\Program Files (x86) are using 5 Gb together
  • the rest is using 120 Mb

I only have 6 Gb left!!! I cannot extend this partition without deleting the one sequentially after this one, but I have many applications and server components installed there.

After relocating the shared and user directories to another partition, I will save 2 Gb which is not enough.

What is the best approach to solve this problem?

share|improve this question

migrated from serverfault.com Nov 14 '11 at 2:41

This question came from our site for system and network administrators.

4 Answers 4

up vote 5 down vote accepted

Backup everything, rebuild your partitions, and restore. Or pay for a commercial partition manager. Or try your luck with a free bootable Linux distro like gparted. I've used it, it worked fine for me; but I also didn't care if I lost the data in that case, it was just to save me the time and trouble.

share|improve this answer
    
I agree that if I copy everything from H:\ somewhere else in the mean time, when I copy the files back after I just have to make sure that the path is the same (H:) and everything will work again. –  JFB Aug 9 '11 at 14:33
    
+1 for gparted. There's a risk of data loss whenever you play with partitions (have a backup if it's important) but gparted has manipulated partitions for me before without losing data. Backup and try a bootable Linux disk with gparted to move partitions around then extend them. Otherwise invest in a good external disk to copy everything over and reformat and try a restore. –  Bart Silverstrim Aug 9 '11 at 14:44
    
No need for aditionnal software: all I did was copy everything in the neighbooring partition H:\ to I:\, delete the H:\ partition then extend the C:\ partition using the Disk Management console. After that I can simply rename I:\ to H:\ and have the same content as before. –  JFB Aug 9 '11 at 14:53

mfinni said it best for process. There are many backup/restore programs out there, but I have used the free/trial Acronis imaging/backup software to do similar backup/restores. It can all be done from a bootable CD, both backup and restore. And as always with backups, integrity check, integrity check, integrity check. :)

share|improve this answer
    
If I backup my files, change the partition table, then restore the files, will there be any problems? –  JFB Aug 9 '11 at 14:37

How large is your HDD where this system installed? Do you have any other partitions on this HDD with some free space?

Try to rebuild partitions on your HDD (backup data/recreate partitions/restore data or just use partitioning tools like gparted or commertial Acronis software to extend/move your partitions to obtain more space for system partition)

share|improve this answer
    
2 Tb, so size is not the issue, only partitioning and resizing. –  JFB Aug 9 '11 at 14:37
1  
So you can use any partitioning tool to move the partition 'sequentially after this one' and then extend your system partition using free space arranged 'between partitions' after this operation. –  Sergey Aug 9 '11 at 14:40

This is what Microsoft calls the solution for the "DLL-Hell". There is one Folder under C:\Windows\ (don't know the exact name; WOW64?) where Windows stores all DLLs from all programs installed on the system. It even keeps track of changes in the DLLs. So an update of a program duplicates the required space of DLLs from that program.

And there is no official way to get rid of that mess. Not as far as I know. But maybe a skilled Microsoft Administrator or Microsoft can give you better information about that.

share|improve this answer
    
That's what I keep thinking about how programs like Adobe Reader that updates itself all the time just keep accumulating space in C:\Windows even if it's installed somewhere else. I suppose that it's recommended to uninstall old versions after a while... –  JFB Aug 9 '11 at 15:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.