where's my swap file in XP?

Joined
Jun 7, 2004
Messages
694
i'm looking to wipe my swap file once in a while....when i restart my computer, does that delete the swap?

if not, where can i find it in XP?

thanks............Bill
 
Bill Gates and Co say...

Shutdown: Clear virtual memory pagefileComputer Configuration\Windows Settings\Security Settings\Local Policies\Security Options

Description
Determines whether the virtual memory pagefile is cleared when the system is shut down.

Virtual memory support uses a system pagefile to swap pages of memory to disk when they are not used. On a running system, this pagefile is opened exclusively by the operating system, and it is well protected. However, systems that are configured to allow booting to other operating systems might have to make sure that the system pagefile is wiped clean when this system shuts down. This ensures that sensitive information from process memory that might go into the pagefile is not available to an unauthorized user who manages to directly access the pagefile.

When this policy is enabled, it causes the system pagefile to be cleared upon clean shutdown. If you enable this security option, the hibernation file (hiberfil.sys) is also zeroed out when hibernation is disabled on a portable computer system.

Default: Disabled.
 
Wiping generally refers to a secure delete adhering to parameters established by the DoD- XP won't do anything similar automatically. In fact, its a trivial task for an amateur with no assistance other than shareware to recover recently deleted files off of a system- all you are really doing when you are deleting a file is deleting the file allocation entry for that file- kind of like ripping out a specific index entry in the back of a book. It's more difficult to find but the info will still be there until overwritten multiple times. and even then, partial files can still be recovered.

I haven't tried this program but it does look like it will do what you want and more. BCwipe
this program is a 30 day free trial I believe so there is no risk on that end.

be careful though, anything you choose to delete with it will be really, really gone.

edited to add: this link: http://www.serverwatch.com/tutorials/article.php/2177271
 
Yeah, you can set Windows to automatically clear the file on shutdown, but be warned it will take a noticable amount of time compared to leaving it.

You can't see the swap file, it isn't an actual file that can be deleted. You never know what might be in there, and deleting it manually could cause some problems. However if you turn off the swap file completely I believe it will become visible and you could delete it. I just have a small partition of my HD set aside for the swap file, that way I know exactly where it is. :D
 
okay click with me....

click Start
right click My computer and click properties
click the advanced tab (at the top)
in the performance box click settings
click the advanced tab
in the virtual performance box click change


this is where you can change the setting for your paging file (aka swap file)
if you have 256 MB of ram you can just set it to "no paging file".

I do this for a living...and my source for this tip was Maximum PC-- last monthes edition. :cool:
 
the swap file in XP is located in (root drive usually c:)/pagefile.sys.

BUT BE WARNED.. as soon as XP boot up, is uses this file. so eraseing it is not a goo idea.. this file gets treated a "blank" for every boot, so in fact it just keeps overwriting it each time.. you should "defrag" the file to make is one contigeuos block of data on the hard drive. (defragging once every 2-3 months is a good idea depenging on how often your machine is used..)
 
Back
Top