Reducing Pagefile.sys Size

Minimize the paging configuration, which by default will create a file “C:\pagefile.sys” the same size as your availble memory. Its important that the “\” be escaped with a “\”.

Minimize pagefile.sys
wmic pagefileset where name="C:\\pagefile.sys" set InitialSize=800, MaximumSize=1000

This command lists existing page files.

List configured paging files.
wmic pagefile list /format:list

The following commands add and delete page files if you would like to move it to another drive. After creating it you can then set the initialSize and MaximumSize as stated above. Its important that the “\” be escaped with a “\”.

List configured paging files.
wmic pagefileset create name="<Path to file>"
wmic pagefileset where name="<Path to file>" delete

Removing hiberfil.sys

Turning hibernate mode off will remove the C:\hiberfil.sys file. You will still have sleep mode available.

Turn off hibernate mode
powercfg -h off

Empty Recycle Bin

Empty Recycle bin on Windows 7
rd /s c:\$Recycle.Bin

Guide to Freeing Up Disk Space Under Windows 7

Copy Folder Recursively in Google Drive

[The Copy Folder Chrome plugin tool from the Chrome Web Store](… Continue reading

Drive a Successful Open Source Project

Published on October 05, 2016

Los Angeles Devops September 2016

Published on October 03, 2016