Jump to content

Recommended Posts

Posted (edited)

Hi there

 

Just wondering how people are blocking access to Terminal.

 

I've tried via GPO "Don’t run specified Windows applications"

in which I've added: Powershell.exe OpenConsole.exe WindowsTerminal.exe, TerminalAZBridge.exe and wt.exe

 

However if i try and run Terminal from the start menu Terminal will open.

 

If i try and run Powershell or wt they don't run. OpenConsole and WindowsTerminal doesn't show in the start menu

 

So what methods are people using? from my understanding "software restriction policy" doesn't work on 22H2

 

Many thanks

Edited by tri_94
  • Like 1
  • 4 weeks later...
  • 3 months later...
Posted

use applocker but you need to edit the policy from a windows 11 client with gpo installed. you can then select the app from the list of locally installed apps to block it.

that's what I did

  • 1 year later...
Posted

Just run into this as well on our Windows 11 install.

 

Same issue that Group Policy not "Don’t run specified Windows applications" not working.

 

What are you specifically blocking in Applocker?

Posted

Just found this registry key very useful to remove the context menu option to "Open in Terminal"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{9F156763-7844-4DC4-B2B1-901F640F5155}"=""

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...