Clear pagefile in Win2k

This is a follow up to the tip, Security breaches, submitted by Tertius Genis. I would like to point out a couple of flaws.

First, the math is bad. With a computer running 250 MB of RAM (how do you get 250MB?)

    Requires Free Membership to View

your page file would be 1.5 times the installed RAM. But this would be much closer to 384 MB (based on 256 MB of RAM, which is much easier to buy and install) not 775 MB as stated.

The other major flaw is sending "the average user," or even an administrator, into the registry needlessly is foolish if not career-ending. This is accomplished much more easily through the local security policies.

Local Security Settings
Local Policies
Security Options
Clear virtual memory page file when system shuts down.

This can also be set through the domain policies if you are in that enviroment.

Domain Security Policy
Windows Settings
Security Settings
Local Policies
Security Options
Clear virtual memory page file when system shuts down.
In the "define this policy" box, check enable.

Easy... and nobody has to put an incorrect entry in the registry and bugger the system.

You can also set this through the domain policies in Active Directory users and computers.

This was first published in December 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.