{"id":75638,"date":"2023-06-05T13:12:02","date_gmt":"2023-06-05T17:12:02","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=75638"},"modified":"2023-06-05T13:12:02","modified_gmt":"2023-06-05T17:12:02","slug":"disable-guest-login-on-a-windows-device-using-a-command","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/disable-guest-login-on-a-windows-device-using-a-command","title":{"rendered":"Disable Guest Login on a Windows Device Using a Command"},"content":{"rendered":"\n
Using the Commands feature, IT admins can deploy scripts and commands to further their ability to manage systems in JumpCloud. 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. Learn more about commands in\u00a0Get Started: Commands<\/a>.<\/p>\n\n\n\n The command listed in this article is specific to disabling the Guest login account for Windows systems.\u00a0<\/strong>You can also accomplish the same goal using the\u00a0Built-in Guest Account Status<\/strong>\u00a0policy for Windows. See\u00a0Configure Settings for Windows Policies<\/a>.<\/p>\n\n\n\n Considerations<\/strong>:<\/p>\n\n\n\n When utilizing Windows, you have the ability to decide if you would like to run the command execution via PowerShell or CMD. Though some commands require that one or the other be specified,\u00a0with the Disable Guest Login example, you can execute using either Windows PowerShell or CMD:<\/p>\n\n\n\n\n