Free Up Space on your Eee PC C Drive

If you have a small C drive that’s getting too full, you can move your c:\windows\Installer folder over to another drive to free up a large chunk of space, perhaps in the order of a gigabyte.

Moving the Windows Installer folder can potentially ruin your Windows installation. Please follow the instructions carefully.

You should start by creating a full backup of your computer. If you make a mistake, Windows may delete your Installer folder, rendering certain future installs and updates impossible.

I should also point out that I have only tested this procedure under Windows XP SP3.  Furthermore, there are lower-risk ways to free up space on your netbook C drive which you should do first -notably disabling and removing the hibernation and page files.

Edit: I have now created a batch file to automate the process.  Please see the Automated Method.

The overview of the procedure is as follows:

  1. Copy the c:\windows\Installer folder to another drive.
  2. Delete c:\windows\Installer.
  3. Create an NTFS Junction Point to make the Installer folder appear to be where it usually is.
  4. Set the permissions on the Junction Point and the new folder exactly right so that Windows doesn’t delete them both.

Here are the detailed steps…

  1. Backup your computer.
  2. Turn off Windows Updates (so that the Installer folder does not come in to use while you are working with it).
  3. Download Junction 1.05.  Extract and copy junction.exe to c:\windows\system32 for easy access from the command line.
  4. Copy the c:\windows\Installer folder to its new home on another drive, preserving file attributes and permissions.  I’m using d:\junctions\Installer.
  5. Make an additional copy of your Installer folder somewhere else, as a backup.
  6. On your new Installer folder (d:\junctions\Installer), set the permissions precisely as follows: 
    • Remove inherited permissions.
    • Give local administrators (the group) and system full control.
    • Give everyone read-only access.
    • Remove all other users.
    • Set ownership to the local administrators group.
    • No attributes (e.g. system, hidden, etc.) are required.
  7. Delete the c:\windows\Installer folder completely.
  8. Create a Junction Point using junction.exe that you downloaded earlier
    • junction c:\windows\Installer d:\junctions\Installer
  9. You can use dir /AL within the c:\windows folder to see your junction point shown as such.
  10. Open Windows Explorer and browse to your junction point at c:\windows\Installer.  You should see all the files stored in your target folder.
  11. When you use Explorer to set the folder permissions on c:\windows\Installer, you are setting the permission for the junction point itself.  Set them on the junction point as you did before for the target folder…
    • Remove inherited permissions.
    • Give local administrators (the group) and system full control.
    • Give everyone read-only access.
    • Remove all other users.
    • Set ownership to the local administrators group.
    • No attributes (e.g. system, hidden, etc.) are required.
  12. That’s it!  Now review your permission settings for c:\windows\Installer and d:\windows\Installer and ensure they are exactly as described.
  13. Turn Windows Updates back on, if that’s how you normally have them.
  14. Reboot your machine for certainty that no process anywhere is somehow caching some information about the way the Installer folder was before.
  15. Test that your changes don’t get overwritten by Windows.
 

Testing

The risk with this procedure, as mentioned before, is that if you haven’t set the permissions exactly right, Windows destroys your Installer folder and creates a new one with the right settings.  The point at which this happens appears to be the next time that the Installer folder needs to be accessed.  To test that this isn’t going to happen to you, you need to perform some install / uninstall / repair type operations using installers that actually utilise Windows Installer technology at this level.  Office 2007 is one example.  See if you can add or remove a component from Office or some other application and check that your junction point and target folder still exist afterwards.

This entry was posted in Windows and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

  1. By PETER on July 16, 2010 at 4:48 am


    PillSpot.org. Canadian Health&Care.No prescription online pharmacy.Best quality drugs.Special Internet Prices. High quality pills. Buy pills online

    Buy:Female Pink Viagra.Zetia.Amoxicillin.Nymphomax.SleepWell.Prozac.Lipitor.Buspar.Acomplia.Ventolin.Zocor.Benicar.Lasix.Aricept.Wellbutrin SR.Seroquel.Lipothin.Cozaar.Female Cialis.Advair….

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Prism IT Sydney | 0432 840 712