How to block guest user to access cmd.exe ?

Bhushitd

Honorable
Mar 25, 2013
14
0
10,510
I want to create a user in which command prompt is disabled, and I can use same in Administrator account for logging into various devices.
Please help !!!
 
Solution
This would be how you would disable the action as a group policy:

http://technet.microsoft.com/en-us/library/cc975912.aspx

You'll want to enable the administrator account before doing this however, so that you are able to turn it back on again (there's a difference between an elevated account with administrative privileges, and the user account within the OS.

To do so, use the follow commands:

net user administrator /active:yes
net user administrator password *
The second command will then prompt you to set a password.

SixCoreFiend

Honorable
Jan 11, 2014
69
0
10,660
This would be how you would disable the action as a group policy:

http://technet.microsoft.com/en-us/library/cc975912.aspx

You'll want to enable the administrator account before doing this however, so that you are able to turn it back on again (there's a difference between an elevated account with administrative privileges, and the user account within the OS.

To do so, use the follow commands:

net user administrator /active:yes
net user administrator password *
The second command will then prompt you to set a password.
 
Solution

Bhushitd

Honorable
Mar 25, 2013
14
0
10,510
Thanxs @SixCoreFiend , i too stumbled on that link when i googled but was unable to reach there on PC , where can i find that "User Configuration\Administrative Templates\System" ?
Please help
Also it will take effect on the Guest account only or on all the accounts enabled ??