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

Run Docker Without Sudo

Update the /etc/docker/daemon.json as follow (will require root priveleges):``` json title:"/etc/docker/daemon.json"{"live-restore": tru...… Continue reading

Vagrantfile Modifications

Published on October 13, 2018

Add GUI to Dev VM

Published on October 13, 2018