Guest account

On this page 7

A guest account is a built-in, minimally privileged login that lets a temporary user work on a computer without a personal account and without access to other users’ files or system settings. Among user accounts in operating systems, it is the most restricted type: it typically has no password, no administrative rights and, in many implementations, no data that survives sign-out.

The guest account exists to solve a simple problem on shared machines. A visitor needs a browser or a document for a few minutes, and the owner does not want to hand over their own session or create a permanent account. The guest account provides that access while the operating system enforces separation through its normal permission and profile mechanisms.

How a guest account is isolated from other users

A guest account relies on the same access control model that separates every user on a multi-user system. The account receives its own security identity, belongs to a dedicated guests group with the fewest rights, and is denied write access to system directories, program folders and other users’ home directories. File permissions, registry permissions on Windows and POSIX permissions on Unix-like systems all apply in the normal way.

The second layer of isolation is the temporary profile. In most current implementations the guest’s home directory is created at sign-in and deleted at sign-out, so browser history, downloads and documents disappear. Some systems mount the guest home in memory or in a temporary location for this reason. The result is that each guest session starts from a clean state and leaves no trace for the next visitor.

The table below summarizes the restrictions that a typical guest account carries.

AreaGuest behaviorReason
AuthenticationNo password or a blank passwordFast access for visitors
PrivilegesLowest group, no elevationPrevents system changes
Software installationBlockedProtects system integrity
Other users’ filesNo accessPreserves privacy
Personal dataErased at sign-outLeaves no trace
Network accessUsually allowedEnables browsing and printing
Typical restrictions of a guest account

Guest accounts across operating systems

Each major desktop platform has treated the guest account differently, and availability has changed over time. The concept is consistent, but the default state, the cleanup behavior and the configuration path vary by system and version.

PlatformGuest supportData after sign-outNotes
WindowsBuilt-in Guest account, disabled by defaultProfile may persistNot offered as a normal sign-in option in current Windows
macOSOptional Guest UserDeletedEnabled in Users and Groups settings
ChromeOSGuest mode on the sign-in screenDeletedCan be disabled by management policy
Linux desktopsVaries by distribution and display managerUsually deletedOften provided by the login manager
Guest account support by platform

On Windows, the built-in Guest account still exists in the account database but is disabled by default, and current Windows editions do not offer it as a simple sign-in choice. Administrators who need a shared visitor login usually create a local standard account instead or use kiosk mode with assigned access. On macOS, the Guest User can be switched on in system settings, optionally restricted with parental controls, and is wiped completely at sign-out.

Guest account compared with other account types

A guest account differs from a standard user account mainly in persistence and identity. A standard account belongs to a known person, has a password and keeps its profile indefinitely; a guest account belongs to nobody in particular and usually forgets everything. It differs from a shared account in that the shared account keeps its data and is used by several known people with a common password.

Account typePrivilege levelData persistenceTypical user
Guest accountMinimalTemporaryVisitor or one-time user
Standard user accountNormal user rightsPermanentEveryday owner of a profile
Administrator accountFull control, with elevationPermanentPerson who manages the system
Shared accountUsually standardPermanentSeveral known people
Domain accountSet by central policyPermanent, often roamingEmployee in an organization
Guest account compared with neighboring account types

When to use a guest account and how to configure it

A guest account is the right choice when short, anonymous and infrequent access is needed on a personal or family computer. It is a poor choice for regular users, who should receive their own standard accounts, and for public machines that need tighter control, where a dedicated kiosk configuration is safer.

SituationRecommended choiceReason
Visitor needs a browser brieflyGuest accountNo setup, no lasting data
Family member uses the PC weeklyStandard user accountKeeps settings and files
Lobby or library terminalKiosk mode or managed guestLocks the session to approved apps
Child uses the computerStandard account with parental controlsAllows monitoring and limits
Technician needs temporary accessTime-limited standard accountAccountable and revocable
Choosing between a guest account and alternatives

When enabling a guest account, administrators should confirm that cleanup actually happens at sign-out, check whether shared folders or network drives are visible to the guests group, and consider limiting the session with parental controls or content filters. On managed devices, policy settings can disable guest access entirely.

Security risks and common mistakes

The main risk of a guest account is that anonymous access is still access. A guest can run programs within user rights, reach the local network and attempt to exploit unpatched vulnerabilities to gain higher privileges. For this reason many hardening baselines recommend keeping the Windows Guest account disabled and renamed.

  • Assuming the session is wiped: on some systems the guest profile persists, so earlier guests’ files remain.
  • Open shared folders: folders shared with Everyone may be readable by the guest.
  • No accountability: actions under a guest login cannot be tied to a person.
  • Network exposure: a guest on a trusted network can still scan or reach other devices.
  • Outdated system: an unpatched computer turns limited guest rights into an escalation path.

A plain-language summary

A guest account is like a visitor badge for a computer. It lets someone use the machine for a while, but only in a small, fenced area. The visitor cannot open the owner’s files, cannot install programs and cannot change important settings.

When the visitor signs out, the computer usually cleans up after them, deleting whatever they downloaded or browsed. The next person starts fresh, and the owner’s own space stays private and untouched.

An example from practice

A small architecture office keeps a Mac in its meeting room for clients. Clients often want to open a presentation from a USB drive or check an email attachment during a meeting, but the staff do not want anyone browsing the office’s project files.

The office manager enables the macOS Guest User, restricts it with parental controls so that only the browser and a presentation viewer can run, and confirms that the shared project folder on the network is not visible to guests. A client signs in as Guest without a password, opens the files and signs out after the meeting.

At sign-out, macOS deletes the guest home folder, including the downloaded attachment and the browsing history. The next client finds a clean desktop, and the office’s own accounts and files were never exposed.