How to disable Command Prompt on Windows 10 using Group Policy editor

Configurare noua (How To)

Situatie

On Windows 10 Pro (Enterprise or Education), the easiest way to block users from using Command Prompt is with the Local Group Policy Editor.

Solutie

Pasi de urmat

Open Start.

Search for gpedit.msc and select the top result to open the Local Group Policy Editor.

Browse the following path:User Configuration > Administrative Templates > System

On the right side, double-click the Prevent access to the command prompt policy.

https://cdn.mos.cms.futurecdn.net/wxQpmUeGEwXSFriyEPTKKj-970-80.jpg

Select the Enabled option.

(Optional) Under the “Options” section, use the drop-down menu to select whether you want to allow or deny running batch files (.bat and .cmd) on your computer when Command Prompt is disabled.Quick note: If the computer has batch files running at logon, logoff, startup, and shutdown, or use remote desktop services, it is not recommended to disable this feature.

Click the Apply button and then click the OK button.

Tip solutie

Permanent

Voteaza

(2 din 6 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?