Block Outlook for Windows PowerShell

Louis Rush 0 Reputation points
2023-09-21T11:35:28.44+00:00

Hi All,

Does anyone has a PowerShell script that will block users from upgrading to the new Outlook for Windows client if they haven't switched yet? Anyone that has upgraded should remain on the new version.

Thanks

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2023-09-22T02:38:49.0166667+00:00

    Hi @Louis Rush

    Does anyone has a PowerShell script that will block users from upgrading to the new Outlook for Windows client if they haven't switched yet? Anyone that has upgraded should remain on the new version.

    As far as I know, there's no PowerShell Script that can meet this requirement in all details. Generally, we can disable users' access to the new Outlook by running the Set-CASMailbox cmdlet and setting the OneWinNativeOutlookEnabled property to $false. But it's hard to exclude users who have already switched to the New Outlook as this requires touching the registry settings on the users' local machines.

    Given this, instead of using PowerShell, personally I'd suggest just hiding the New Outlook toggle in Outlook Desktop for all users by configuring the registry key though group policy (GPO):
    screenshot-of-try-the-new-toggle-for-outlook.

    (Important: Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.)

    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\General]
    "HideNewOutlookToggle"=dword:00000001
    
    

    enter image description here

    enter image description here

    With this registry implemented, users who have switched to the New Outlook will remain using it, and the others will be unable to access the New Outlook version as they cannot see the toggle.

    Here's an official article for reference in case you have the interest to learn more about the administrative tasks about the New Outlook.

    Enable or disable employee access to the new Outlook for Windows


    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.