Improve Windows security with these three tips

Find out how to clear the Windows page file, prevent users from changing their passwords, and deny guest access to various system logs.

Keeping up to date on patches and security updates isn't always enough to make Windows as secure an environment as you'd like. Three steps you can take to make your desktops more secure are clearing the pagefile on shutdown, disabling guest access to event logs, and preventing users from changing their passwords until prompted.

Not every organisation will want to take these steps, but, depending on your situation and the type of business you do, these can be good security options.

Clearing the pagefile

When Windows writes memory data to the pagefile, it can contain sensitive information that you don't want to be accessible on the disk, including passwords.

If anyone in your organisation works with sensitive information, clearing the pagefile on that desktop is an important step to take to ensure that data isn't accessible to unauthorised users.

By modifying a registry setting, you can have Windows clear the pagefile on shutdown. This will wipe data written to disk and prevent sensitive files from being accessible. However, the system may take longer to shut down because the computer must write to each page in the pagefile to erase the data contained in it.

To clear the pagefile each time Windows is shut down, perform the following steps:

  1. Run Regedit.
  2. Locate the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.
  3. Set the value for ClearPageFileAtShutdown to 1.

If the value doesn't exist, add the following:

  • Value Name: ClearPageFileAtShutdown
  • Value Type: REG_DWORD
  • Value: 1

You must restart the computer for the setting to take effect.

Because this may lengthen the shutdown time, you may want to give the setting a trial period to see how it works out. If shutdown takes an excessively long time, you may want to change the value for the setting back to 0. But if securing sensitive data is critical to your organization, slow shutdowns may be something you're willing to live with. For additional information, see Microsoft Knowledge Base article 182086.

Restricting event log access

The default access setting for Windows event logs allows guest and anonymous users to view them. This can make sensitive data openly accessible to users who should not be able to view it.

A simple tweak of the registry, however, can rectify the possible security opening. You can block guest and anonymous users from viewing event logs by performing the following steps:

  1. Run Regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog.
  3. Select the Application folder under EventLog.
  4. On the menu bar, choose Edit | New | DWORD Value.
  5. Type RestrictGuestAccess and press [Enter].
  6. Double-click the new RestrictGuestAccess entry.
  7. In the Edit DWORD Value dialog box, type 1.
  8. Repeat the previous steps to create the same DWORD entry in the Security and System subkey folders.

This will prevent unauthorised users from having access to sensitive information stored in event logs, information that might be used to gain access to other locations or files that should be secure.

Advertisement

Talkback 0 comments

Sponsored content

Power Centre - Content from our premier sponsors

Blogs

  • David Braue Can not-so-smart meters help the NBN?
    It was interesting to witness Conroy's recent enthusiasm to spruik the NBN's role in supporting the Smart Grid, Smart City initiative. What a pity that Conroy hadn't yet seen the damning report from the Victorian auditor-general about that state's smart-meter roll-out.
  • Array Can the Telco Reform Act be win-win?
    In the second of our two programs looking at the Senate Inquiry into the Telecommunications Legislation Amendment Bill, we hear from shareholders, bureaucrats and industry groups.
  • Array Has New Zealand's smiling assassin delivered?
    One year into its tenure, how has the new New Zealand Government performed on issues of technology and telecommunications?
  • More blogs »

Tags

Back to top

Featured