Shrink primary boot partition

/* again, this is intended for a Sony Vaio laptop but general principles apply (some isolated steps e.g. running the diskcleanupwizard or disabling system restore can be used to free up some disk space. */

1 : run diskcleanup wizard right-click computer –> properties –> disk cleanup

2 : disable system restore ctrl-pan –> system –> advanced system settings –> system properties

–> system protection –> uncheck C and turn off system restore –> OK

3 : disable the page file ctrl-pan –> system –> advanced system settings –> system properties

–> advanced –> performance : settings –> advanced –>

–> virtual memory : change –> uncheck automatic

–> select No paging file –> OK

4 : disable kernel debugging ctrl-pan –> system –> advanced system settings –> system properties

–> advanced –> startup and recovery : settings –> debugging : (none)

5 : disable hibernation mode Vaio control centre –> power management –> power options

low battery action : uncheck auto-hibernate

6 : reboot

/*** Note : step 7 not executed as C:/pagefile.sys.file is not there ***/ –>

7 : delete the page file open an administrator command prompt window

/* sub your user name for $USER */

–> takeown /f C:/pagefile.sys.file

–> icacls winload.exe.mui /grant $USER:F   /* icacls has replaced cacls */

–> /*** the web page says to delete en-US/winload.exe.mui ***/

Note : there is a winload.exe.mui in /windows/system32/en-US and in /windows/system32  pagefile.sys.file is not found.

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: