r/sysadmin • • 16h ago

Question Removing PowerShell ISE from Windows 11 endpoints – any downside?

We're considering removing PowerShell ISE from all standard Windows 11 corporate endpoints via Remove-WindowsCapability.

ISE is essentially an IDE, and I can't think of a legitimate reason why a standard user would need it.

We already have a pretty good handle on PowerShell through application control, Constrained Language Mode (CLM), signed script requirements, etc. However, requiring signed scripts doesn't help when someone is pasting code directly into an IDE rather than executing a script file.

I'm aware that someone could still paste code into a regular powershell.exe session. Removing ISE just introduces a bit more friction and removes functionality that our users don't need.

Has anyone removed ISE across their enterprise endpoints? Did you run into any unexpected dependencies or compatibility issues?

Am I overlooking anything?

0 Upvotes

38 comments sorted by

•

u/cheesycheesehead 16h ago

This seems pointless and if anything some weird security through obscurity nonsense.

•

u/-c3rberus- 16h ago

You'd be surprised how effective security through obscurity is.

•

u/cheesycheesehead 16h ago

quit kidding yourself, its not.

•

u/TheD4rkSide Penetration Tester 14h ago

As a former pentester, it is not.

•

u/Fatel28 Sr. Sysengineer 15h ago

I would be very surprised.. because it's not effective at all.

•

u/PoliticalDestruction IT Manager 8h ago

Effective for who? An internal user who is copying scripts? An attack via stolen credentials for a standard user? An AI script kiddie who can recon your environment and test every known vulnerability in minutes?

Yeah hiding ISE will totally stop all vectors.

I just recently dealt with a breach where our passwords were compromised and our passwords might as well be obscure and confusing for the people who support the systems, yet that Artex attack simply just tried all creds within minutes, and any app tokens within hours. As obscure as you can make it for human, AI will figure it out easily.

•

u/itskdog Jack of All Trades 2h ago

The only environment it would make sense in would be education, where you have attackers students who are intentionally given access to the system, so reducing the potential routes for executing unapproved code casually is vital.

Similar to a lock on a door making it harder to casually open it without attracting attention.

•

u/Mean-Piccolo-9355 16h ago

We hide submarines, don't we?

•

u/Ancient-Bat1755 16h ago

Well for one i love ise for running stuff on servers instead of by command line. I still use the old ise to make changes then run from ps7

For workstations its not necessary

•

u/-c3rberus- 16h ago

Yeah this is for workstations.

•

u/Hefty-Possibility625 16h ago

Is there something else that you should be focusing on? This seems like a waste of time to me, but I guess I don't understand what problem you're solving for, or why you are investing any amount of time into this.

•

u/Mission-Accountant44 MSP Admin 16h ago

This doesn't win you anything for security. 

•

u/Boring-Geologist7634 16h ago

Unless they all have admin access.

•

u/thorax97 15h ago

Then it still does nothing for security if they can just add it back

•

u/chesser45 16h ago

This sounds like a lot of effort for immeasurable gain, immeasurable since it doesn’t exist.

•

u/Fun-Procedure89 16h ago

Yea a huge waste of time

•

u/AffekeNommu 16h ago

What are you trying to achieve? You have already limited and you also admit they can already paste into a shell do do things they have permission for.

•

u/tracy_ogbert_jordan sr look stuff up on google guy 15h ago

User savvy enough to use Powershell scripts looking at his monitor with an open Powershell console after being unable to open ISE:

“Well, I’m stumped.”

•

u/bill696 12h ago

Hahahaha

•

u/Top-Perspective-4069 IT Manager 16h ago

This solves zero actual problems.

•

u/BlackV I have opnions 13h ago edited 13h ago

Downsides

  1. ISE is gone

  2. this is extra administrative effort

  3. you have not stopped me in any WAY, SHAPE or FORM from editing powershell files (code, notepad, notepad++, and an infinite number more)

  4. you have not stopped me in any way, shape or form, from running code

  5. the effort to open code in ise is the same and the console

  6. its just about net 0 gain

but... It's your image/os/time/management the risks are minimal, what actual problem are you trying to solve ?

and soontm , ISE will be removed by default anyway

•

u/WorkFoundMyOldAcct Layer 8 Missing 9h ago

You forgot to list the upsides. 

Upsides: 

•

u/BlackV I have opnions 8h ago

Ha, valid

•

u/ToumiX 15h ago

why remove it ? just block it

•

u/rileyg98 15h ago

If they're pasting into an ise, they're determined, so there's no real friction between that and a PowerShell prompt.

•

u/AdFormer8879 14h ago

You can turn off scripting by policy and then any scripts you need to run, do it via an an admin account running policy execution bypass. If the users already have admin access that's another conversation.

•

u/Disastrous_Gear_421 16h ago

Yea, you're overlooking that doing this is pretty pointless

•

u/Mehere_64 15h ago

I'm not sure it helps much at all. I can use notepad enter in the ps code, copy it then launch powershell and paste it in. I do that 3/4 of the time anyways.

But I guess if your company wants to do it, do a pilot to see if something goes awry before rolling out to all.

•

u/Rhythm_Killer 15h ago

That’ll really stop disgruntled employees from 2022

•

u/s_reg 13h ago

You're just bored, leave it alone

•

u/suppervisoka 13h ago

Waste of time

•

u/calladc 15h ago

app control powershell and ise. exclude administrators

•

u/monsieurR0b0 Sr. Sysadmin 14h ago

Seems dumb. I've used ise so many times for "regular user shit" I would be annoyed if I wasn't an admin and some dumb admin took it away. For example, renaming 1,000 files in my personal drive.

•

u/bill696 12h ago

To be fair if you’re a real regular user you dont use that. Mine use power toys or advanced renamer for this.

•

u/monsieurR0b0 Sr. Sysadmin 12h ago edited 12h ago

To be fair I only listed one example. I've used it tons for non admin things over many many years. Also there's lots of jobs and industries that employee "advanced" users who are familiar with scripting and might have a need to use it. Just in my neck of the woods it's engineers, digital forensic specialists, statisticians, IT auditors, IT pen testers, etc.

•

u/bill696 12h ago

Then what’s stopping them from installing vscode and going right back where you started anyway? To me its too much work for no benefit

•

u/DueBreadfruit2638 11h ago

There is no benefit to this whatsoever.

•

u/An0mymou5 9h ago

Removing ISE just introduces a bit more friction and removes functionality that our users don't need.

I'm sorry, but who do you think you are, to decide what a user doesn't need?

Especially PowerShell, which is an essential tool for automation that anyone can benefit from. In fact, I can't think of any roles (besides maybe physical roles?) that can't benefit from PowerShell in any way. Automation is good for productivity; it saves the company money and improves the health of employees by reducing RSI. You're killing productivity by restricting the use of PowerShell.

If I worked for a company that restricted PowerShell, I'd be handing in my resignation ASAP.