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 “\”.
This command lists existing page files.
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 “\”.
Turning hibernate mode off will remove the C:\hiberfil.sys file. You will still have sleep mode available.