Exchange Management Shell blocked by software restriction

Mame Meier 5 Reputation points

Environment: Windows Server 2022 with Exchange Server CU13 German without October 2023 security update. This always fails with an error.

In the event viewer I see the following entry:

Installation of C:\Windows\SoftwareDistribution\Download\0bbd1796cf75dd8f25bd03b8f551eff1\img\Exchange2019-KB5030877-x64-en.MSP was not allowed by the Software Restrictions policy. The Windows Installer only allows the installation of items that have no restrictions. The authorization level returned by the software restrictions policy was 0x0 (status return value 0x800b010c).

Therefore, I searched through the web. An approach was written in a post about the Exchange Management Shell to clarify which certificate is installed.

I then discovered that when I accessed the Exchange Management Shell, I received the following error:

The file "D:\Exchange\bin\RemoteExchange.ps1" cannot be loaded because the operation is prevented by guidelines for the Software limitation, e.g. B. the policies created by Group Policy are blocked. the best of my knowledge, I have not applied any software restrictions in any policy to the Exchange Server. Also shows me gpresult /r

Where can I look further to find the “culprit” that is causing a software limitation?

Thank you for your help.

Greetings Markus
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,115 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,010 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Shaofan Lv-MSFT 4,710 Reputation points Microsoft Vendor

    Hello @Mame Meier

    Are you a system administrator? Software Restriction Policies (SRP) are Group Policy-based features that are rules set by administrators. You can check if there are any SRP at the following path. User's image

    Also, you can take a look at this: Troubleshoot Software Restriction Policies



    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

  2. Shaofan Lv-MSFT 4,710 Reputation points Microsoft Vendor

    Hello Mame,
    What is your result for typing "get-executionpolicy"?

    Try "Set-ExecutionPolicy Unrestricted -Scope CurrentUser"

    User's image


  3. Cimmerio 1 Reputation point

    I have the same problem. Any solution for the problem?

    0 comments No comments