Skip to content

Instantly share code, notes, and snippets.

@Carm01
Last active July 1, 2022 09:36
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Carm01/0df027dd1ddc57dd3044ca87565a6194 to your computer and use it in GitHub Desktop.
Save Carm01/0df027dd1ddc57dd3044ca87565a6194 to your computer and use it in GitHub Desktop.
These settings are designed to allow a user a better exxperience by removing annoyances. This works for Office 2016 and 2019
:: remove settings for individual and common apps
REG delete HKCU\Software\Microsoft\Office\16.0\Common\General /v "DisableBootToOfficeStart" /f
REG delete HKCU\Software\Microsoft\Office\16.0\Common\General /v "FirstRun" /f
REG delete HKCU\Software\Microsoft\Office\16.0\Common\General /v "AlertIfNotDefault" /f
REG delete HKCU\Software\Microsoft\Office\16.0\Excel\Options /v "AlertIfNotDefault" /f
REG delete HKCU\Software\Microsoft\Office\16.0\Excel\Options /v "DisableBootToOfficeStart" /f
REG delete HKCU\Software\Microsoft\Office\16.0\PowerPoint\Options /v "AlertIfNotDefault" /f
REG delete HKCU\Software\Microsoft\Office\16.0\PowerPoint\Options /v "DisableBootToOfficeStart" /f
REG delete HKCU\Software\Microsoft\Office\16.0\Word\Options /v "AlertIfNotDefault" /f
REG delete HKCU\Software\Microsoft\Office\16.0\Word\Options /v "DisableBootToOfficeStart" /f
ping 127.0.0.1 -n 1 -w 500> nul
:: Set all apps to not display the office startup Screen
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\General /v "DisableBootToOfficeStart" /d 1 /t REG_DWORD /f
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\General /v "FirstRun" /d 0 /t REG_DWORD /f
:: Hide Microsoft Office Upload icon systray display
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\FileIO /v "DisableNotificationIcon" /d 1 /t REG_DWORD /f
:: set all apps to not allow an alert if the app is not the default extension handler
REG ADD HKCU\Software\Microsoft\Office\16.0\Common\General /v "AlertIfNotDefault" /d 0 /t REG_DWORD /f
:: Set .docx as the default document handler
REG ADD HKCU\Software\Microsoft\Office\16.0\Word\Options /v "DefaultFormat" /d "" /t REG_SZ /f
:: Power point do not extend displays
REG ADD HKCU\Software\Microsoft\Office\16.0\PowerPoint\Options /v "DisableSetTopology" /d 1 /t REG_DWORD /f
:: Change theme ( Dark Grey = 3, Black = 4, White = 5, colorful = 0 ) changes after second open
REG ADD "HKCU\Software\Microsoft\Office\16.0\Common\Roaming\Identities\Anonymous\Settings\1186\{00000000-0000-0000-0000-000000000000}\PendingChanges" /v "Data" /d "04000000" /t REG_BINARY /f
::REG delete "HKCU\Software\Microsoft\Office\16.0\Common\Roaming\Identities\Anonymous\Settings\1186\{00000000-0000-0000-0000-000000000000}\PendingChanges" /f
REG ADD "HKCU\Software\Microsoft\Office\16.0\Common\General" /v "UI Theme" /d 4 /t REG_DWORD /f
:: Per user settings for office tweaks you might have to change the path depending on your version of office
REG LOAD HKU\DefaultUser %SystemDrive%\Users\Default\NTUSER.DAT
:: remove settings for individual and common apps
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\General /v "DisableBootToOfficeStart" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\General /v "FirstRun" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\General /v "AlertIfNotDefault" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Excel\Options /v "AlertIfNotDefault" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Excel\Options /v "DisableBootToOfficeStart" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\PowerPoint\Options /v "AlertIfNotDefault" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\PowerPoint\Options /v "DisableBootToOfficeStart" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Word\Options /v "AlertIfNotDefault" /f
REG delete HKU\DefaultUser\Software\Microsoft\Office\16.0\Word\Options /v "DisableBootToOfficeStart" /f
ping 127.0.0.1 -n 1 -w 500> nul
:: Set all apps to not display the office startup Screen
REG ADD HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\General /v "DisableBootToOfficeStart" /d 1 /t REG_DWORD /f
REG ADD HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\General /v "FirstRun" /d 0 /t REG_DWORD /f
:: Hide Microsoft Office Upload icon systray display
REG ADD HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\FileIO /v "DisableNotificationIcon" /d 1 /t REG_DWORD /f
:: set all apps to not allow an alert if the app is not the default extension handler
REG ADD HKU\DefaultUser\Software\Microsoft\Office\16.0\Common\General /v "AlertIfNotDefault" /d 0 /t REG_DWORD /f
:: Set .docx as the default document handler
REG ADD HKU\DefaultUser\Software\Microsoft\Office\16.0\Word\Options /v "DefaultFormat" /d "" /t REG_SZ /f
:: Power point do not extend displays
REG ADD HKU\DefaultUser\Software\Microsoft\Office\16.0\PowerPoint\Options /v "DisableSetTopology" /d 1 /t REG_DWORD /f
REG UNLOAD HKU\DefaultUser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment