Pages

Minggu, 29 April 2012

Create a secure Guest Account in Windows 7

by Mark Kaelin  | 

Find the guest account setting

In certain environments and situations, you may want to grant guest-user access to a workstation running Microsoft Windows 7. Best practices dictate that such access be as secure as possible. Here are several steps you can, and should, take before giving access to a guest user in Windows 7.

Note: This tip applies to Windows 7 Professional and Ultimate only. It does not apply to Windows 7 Home Premium.

Secure Guest Account
The first step is to enable guest accounts, which is disabled by default. Type "computer" into the Start Menu search box as shown and then click on the "Computer Management" item in the results.





Enable guest accounts
Navigate the left tree hierarchy to the Users Folder under Local Users and Groups. Double-click the Guest entry.






Uncheck to enable

On the next configuration screen, uncheck the Disable guest account box to enable guest accounts.















Set the guest account password

By default, the guest account password is blank, but that is an unnecessary security risk, so you should establish a password. Right-click the Guest entry in the Computer Management console and click the Change Password entry. The ensuing warnings are not a concern if you just enabled the guest account.







Local Security Policy

Another potential security problem occurs if the guest account is accessible by other users across the network. To prevent this, type "Local Security" into the Start Menu search box and then click the Local Security Policy entry as shown.










Deny access

Navigate to the Local Policies | User Rights Assignments entry. Scroll down the list of policies until you find "Deny access to this computer from the Network." Guest should be one of the denied accounts listed. If it isn't, add it.






Shut Down the System

Another potential security vulnerability occurs during the PC shutdown process. You should deny the guest account the ability to shut down a PC. Go back to the Local Security Policy consoled as you did before, navigate to Local Policies | User Rights Assignments and look for the entry "Shut Down the System."





Guest is not on the list

Double-click the entry to make sure the Guest account is not in the list.















DWORD should be 1

One last security concern is the Event logs – you don't want a guest account to have access to that information. The most efficient way to manage these settings is with a Registry edit.

Warning: Editing the Windows Registry should be done with caution; we recommend that you have a verified backup of the file ready in case of a catastrophic failure.

Type in "regedit" into the Start Menu Search box and then click the regedit.exe entry. Navigate down the keys until you reach this entry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Eventlog

Under this key are three important sub-keys: Application, Security, and System. There should be a key under each section: Restrict Guest Access. And each of those keys should have a corresponding DWORD of "1" that enables this restriction.