The guest account is used to provide the ability to use Windows computers without privileges or using a dedicated account. Even it is not assumed as secure it has different uses. The Guest account was enabled with the operating systems Windows XP, Windows 7 but with Windows 8 and Windows 10, it is removed by default. But in this tutorial, we will learn how to create a Guest account in Windows 10 and Windows 11.
Open MS-DOS Command Prompt with Administrator Privileges
We will use MS-DOS in order to add the Guest account to Windows 10. In order to manage users via the MS-DOS command prompt, it should be opened with Administrative privileges or Administrator users. Type ms-dos
to the Start Menu and click to the Run as administrator
like below.
![](/wp-content/uploads/2022/02/image-36.png)
Add Guest Account
In order to add a Guest account, we will use the net user
command which is used to manage users via the command-line interface in Windows. We will provide the user name as Guest
and use /add
option to add user , /active:yes
like below. We will not use Guest and use User because the Guest user name is already used by Windows.
> net user User /add /active:yes
Remove Password for Guest Account
Now we should set the User account password as empty. We will use the net user
command again and set an empty password with *
sign like below.
> net user User *
Add Guest Account To Guest Group
Now we should add the guest account named User
to the Guests
local group for related privileges. We will also remove the newly create account User from the regular user group.
> net localgroup users User /delete
> net localgroup guests User /add
![](/wp-content/uploads/2022/02/image-37.png)
Guest Account Login
Now we can login with the newly created Gues account named User
like below.
![](/wp-content/uploads/2022/02/image-38.png)