This PowerShell script disables the "New Outlook" toggle for all eligible user profiles on a Windows machine. It modifies the Windows registry settings for Microsoft Outlook to enforce this change.
- Retrieves all user SIDs from the
HKEY_USERSregistry. - Skips system and service accounts.
- Checks if the Outlook registry path exists for each user.
- Sets the registry values to:
UseNewOutlook=0inPreferencesHideNewOutlookToggle=1inOptions\General
- Displays a summary of the changes made.
HKEY_USERS\<User SID>\Software\Microsoft\Office\16.0\Outlook\PreferencesUseNewOutlook(DWORD) =0
HKEY_USERS\<User SID>\Software\Microsoft\Office\16.0\Outlook\Options\GeneralHideNewOutlookToggle(DWORD) =1
Run the script as an administrator:
powershell -ExecutionPolicy Bypass -File DisableNewOutlook.ps1- Administrator privileges.
- Windows machine with Microsoft Office 2016 (16.0) or later installed.
- PowerShell 5.1 or later.
- If the registry paths do not exist, the script will notify you but will not create them.
- Only user profiles with Outlook registry settings present will be modified.
This script is provided as-is without any warranty. Use at your own risk.
DaanSelen