Forum Discussion
Remove the New Outlook toggle button
- Oct 09, 2023
blippie You can try using the Settings Catalog:
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was helpful in other ways, please consider giving it a Like.
Hi blippie,
you can try to use PowerShell script in Intune to remove the New Outlook toggle button from the outlook app (using HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Options\General DWORD: HideNewOutlookToggle Value: 1 registry key)
You can copy/past the script and save it as for example: AddOutlookRegistry.ps1
$RegistryPath = "HKCU:\Software\Microsoft\Office\16.0\Outlook\Options\General"
$RegistryName = "HideNewOutlookToggle"
$RegistryValue = 1
if (-not (Test-Path -Path $RegistryPath)) {
New-Item -Path $RegistryPath -Force
}
New-ItemProperty -Path $RegistryPath -Name $RegistryName -Value $RegistryValue -PropertyType DWORD -Force
Intune Deployment:
- Sign in to the Intune portal.
- Go to "Apps" > "All apps."
- Click "Add" and choose "Windows app (Win32)."
- Upload AddOutlookRegistry.ps1 as the app package.
- Set the install command to: powershell.exe -ExecutionPolicy Bypass -File AddOutlookRegistry.ps1
- Leave the uninstall command, detection rules, and detection method fields empty.
- Assign the app to the desired device or user groups.
This script will add the specified registry key and value for each user on the target devices through Intune.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
- blippieOct 09, 2023Copper Contributor
LeonPavesic I tried to add ps1 file and it won't allow me upload it. It needs to be in intunewin file, so not sure how you able to upload other than intunewin file when it comes to win32 app.