Отключение GUI
Используем менеджер «Manage» -> «Remove Roles or Features» -> NEXT снять галочку с чек-бокса «User Interfaces and Infrastructure» Потребуется перезагрузка
Включение GUI
cmd -> SConfig Restore Grafic User Interface (GUI)
Отключение GUI с помощью PowerShell
Remove-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra или Uninstall-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra Shutdown –r -t 0
Включение GUI с помощью PowerShell
Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra или Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra Shutdown –r -t 0