PowerShell script exchange
Post Reply
xvendrell
Novice
Posts: 8
Liked: never
Joined: May 31, 2011 9:28 am
Full Name: Francesc Xavier Vendrell Font
Contact:

Disable powershell

Post by xvendrell »

Hello,

It's possible disable ALL POWERSHELL funtions?

Thank's!
Francesc Xavier Vendrell
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Disable powershell

Post by oleg.feoktistov »

Hi,

What do you mean by that? What is your case?

Thanks,
Oleg
Net Runner
Influencer
Posts: 20
Liked: 2 times
Joined: Apr 19, 2016 5:07 am
Contact:

Re: Disable powershell

Post by Net Runner »

If you are running VEEAM service on a dedicated server or inside an exclusive virtual machine you can disable Powershell completely using group policy settings:

In the Group Policy window, on the left-hand side, scroll down to User Configuration > Administrative Templates > System > Don’t run specified Windows applications.
In the properties window that opens, click the “Enabled” option and then click the “Show” button.
In the “Show Contents” window add --> powershell.exe

That will deny running Powershell on the specified host.
Do not implement this setting if there are other services running alongside with Veeam since it might break other stuff that depends on Powershell engine.
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Disable powershell

Post by oleg.feoktistov »

If you want to prevent possible malicious powershell scripts from running, I would either apply powershell execution policies using Set-ExecutionPolicy cmdlet or enable Group Policies under
Computer Configuration\Administrative Templates\Classic Administrative Templates\Windows Components\Windows PowerShell.

Check this Microsoft page.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests