To set up a Guest/Visitor account with limited rights on a Windows 10 computer, open an elevated command window and use these commands:
- net user Visitor /add /active:yes
- net user Visitor *
You are prompted to enter and confirm a password but you can leave both blank since it’s a very limited account. - net localgroup users Visitor /delete
- net localgroup guests Visitor /add
You will now see an account called Visitor you can choose on the sign-on screen.