Skip to content

TechRepublic

  • Top Products
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • Accounting
  • CRM
  • Academy
Resources
  • TechRepublic Premium
  • TechRepublic Academy
  • Newsletters
  • Resource Library
  • Forums
  • Sponsored
Go Premium
Popular Topics
  • Top Products
  • AI
  • Developer
  • Payroll
  • Security
  • Project Management
  • Accounting
  • CRM
  • Academy
  • Project Management
  • Innovation
  • Cheat Sheets
  • Big Data
  • Tech Jobs
View All Topics
Go Premium
Microsoft

Create a secure Guest Account in Windows 7

By Mark W. Kaelin August 24, 2010, 12:55 AM PDT

Image
1
of 9

459656.png
459656.png
Create a secure Guest Account in Windows 7

Find the guest account setting

Find the guest account setting

ntIn 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.
nt
ntNote: This tip applies to Windows 7 Professional and Ultimate only. It does not apply to Windows 7 Home Premium.
nt
ntSecure Guest Account
ntThe 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.
nt
ntThis gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic. The gallery was originally published in August 2010.

Create a secure Guest Account in Windows 7

Enable guest accounts

Enable guest accounts

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

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

Uncheck to enable

Uncheck to enable

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

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

Set the guest account password

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.

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

Local Security Policy

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.

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

Deny access

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.

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

Shut Down the System

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.”

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

Guest is not on the list

Guest is not on the list

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

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

Create a secure Guest Account in Windows 7

DWORD should be 1

DWORD should be 1

One last security concern is the Event logs u2013 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.

This gallery is also available as a TechRepublic blog post and download. Image created by Mark Kaelin for TechRepublic.

  • Microsoft
  • Account Information

    Share with Your Friends

    Create a secure Guest Account in Windows 7

    Your email has been sent

Share: Create a secure Guest Account in Windows 7
Image of Mark W. Kaelin
By Mark W. Kaelin
Mark W. Kaelin has been writing and editing stories about the information technology industry, software, hardware, gaming, finance, accounting, and technology geekdom for more than 30 years.
  • Account Information

    Contact Mark W. Kaelin

    Your message has been sent

  • |
  • See all of Mark W.'s content

Daily Tech Insider

If you can only read one tech story a day, this is it.

TechRepublic TechRepublic
  • TechRepublic on Facebook
  • TechRepublic on X
  • TechRepublic on LinkedIn
  • TechRepublic on YouTube
  • TechRepublic on Pinterest
  • TechRepublic RSS
Services
  • About Us
  • Newsletters
  • RSS Feeds
  • Site Map
  • Site Help & Feedback
  • FAQ
  • Advertise
  • Do Not Sell My Information
  • Careers
Explore
  • Downloads
  • TechRepublic Forums
  • Meet the Team
  • TechRepublic Academy
  • TechRepublic Premium
  • Resource Library
  • Photos
  • Videos
  • Editorial Policy
  • Legal Terms
  • Privacy Policy
© 2025 TechnologyAdvice. All rights reserved.
CLOSE

Create a TechRepublic Account

Get the web's best business technology news, tutorials, reviews, trends, and analysis—in your inbox. Let's start with the basics.

Already registered? Sign In
Use Facebook
Use Linkedin

* - indicates required fields

CLOSE

Sign in to TechRepublic

Not a member? Create an account
Use Facebook
Use Linkedin

Lost your password? Request a new password

CLOSE

Reset Password

Please enter your email adress. You will receive an email message with instructions on how to reset your password.

Check your email for a password reset link. If you didn't receive an email don't forgot to check your spam folder, otherwise contact support.

Back to login
1 Finish Profile
2 Newsletter Preferences
CLOSE

Welcome. Tell us a little bit about you.

This will help us provide you with customized content.

No thanks, continue without
1 Finish Profile
2 Newsletter Preferences
CLOSE

Want to receive more TechRepublic news?

Newsletter Name
Subscribe
Daily Tech Insider
Daily Tech Insider AU
TechRepublic UK
TechRepublic News and Special Offers
TechRepublic News and Special Offers International
Executive Briefing
Innovation Insider
Project Management Insider
Microsoft Weekly
Cloud Insider
Data Insider
Developer Insider
TechRepublic Premium
Apple Weekly
Cybersecurity Insider
Google Weekly
Toggle All
No thanks, continue without

You're All Set

Thanks for signing up! Keep an eye out for a confirmation email from our team. To ensure any newsletters you subscribed to hit your inbox, make sure to add [email protected] to your contacts list.

Back to Home Page
×