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

Disable powershell

Post by xvendrell » Feb 14, 2020 11:09 am

Hello,

It's possible disable ALL POWERSHELL funtions?

Thank's!
Francesc Xavier Vendrell

oleg.feoktistov
Veeam Software
Posts: 144
Liked: 46 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Disable powershell

Post by oleg.feoktistov » Feb 14, 2020 11:17 am

Hi,

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

Thanks,
Oleg

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

Re: Disable powershell

Post by Net Runner » Feb 19, 2020 9:36 am

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: 144
Liked: 46 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Disable powershell

Post by oleg.feoktistov » Feb 19, 2020 12:50 pm

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 4 guests