Support Center

(Windows) Commands Tab Policy - Disable Guest Login

Summary


Using the Commands Tab, many administrative users will deploy scripts and commands to further their ability for systems management using JumpCloud.  In working with a varied audience of users and environments, we have collaborated to create some "Policy" commands for purposes ranging from security to software management.

The command listed in this article are specific to disabling the Guest login account for Windows systems.


Considerations


When utilizing Windows, you have the ability to decide if you would like to run the command execution via either PowerShell or CMD.  Some commands will require that one or the other be specified.  With the Disable Guest Login example, you can execute using either Windows Powershell or CMD.  Note the following when wanting to switch between Windows PowerShell and CMD:
  • Select the "Windows PowerShell" option for PowerShell
  • Unselect the "Windows PowerShell" option for CMD


Execution

Windows (CMD or PowerShell)


In the below example you will mark the local Guest account as inactive and disallow login.

net user guest /active:no

You may re-activate the Guest account at a later time with the following.

net user guest /active:yes
 

Last Updated: Aug 05, 2016 01:52PM MDT

Related Articles
31b11a79e2c94470a66430cfe6d3eecd@jumpcloud.desk-mail.com
http://assets3.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete