Deleting pagefile.sys on shutdown
Posted
by
Daniel E. Shub
on Super User
See other posts from Super User
or by Daniel E. Shub
Published on 2012-11-14T09:08:59Z
Indexed on
2012/11/14
11:06 UTC
Read the original article
Hit count: 274
I have a Windows XP machine (it is a VM running in Xen) that I would like to backup. I have enabled ClearPageFileAtShutdown by following MS KB 314834. If I cleanly shutdown the XP machine and then mount the drive in another machine (which is trivial since the machine is virtual) I still have a large pagefile.sys. I was hoping that enabling ClearPageFileAtShutdown would result in a pagefile.sys with a size near zero.
I have two questions.
First, is it possible to have pagefile.sys be deleted, or have a drastic size reduction, at shutdown?
Second, can I exclude pagefile.sys from my backup?
© Super User or respective owner