undergroundwires / privacy.sexy

Open-source tool to enforce privacy & security best-practices on Windows, macOS and Linux, because privacy is sexy
https://privacy.sexy
GNU Affero General Public License v3.0
4.17k stars 174 forks source link

Adobe Acrobat DC improvements #137

Open gitthangbaby opened 2 years ago

gitthangbaby commented 2 years ago

OS

Windows 10

Name

Adobe Acrobat tweaks, making it more offline and basic

Script code

:: Disable cloud dialogs, just simple Ctrl-O and Ctrl-S Windows dialogs (General\Basic Tools):

reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\AVGeneral" /v "bToggleCustomOpenExperience" /t REG_DWORD /d 1 /f reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\AVGeneral" /v "bToggleCustomSaveExperience" /t REG_DWORD /d 1 /f

:: remember docs plus don't ask when closing multiple files which compliments the first one (General\Basic Tools):

reg add "HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\DC\AVGeneral" /v "bPromptBeforeClosingMultipleTabs" /t REG_DWORD /d 0 /f reg add "HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\DC\SessionManagement" /v "bRestoreOnLaunch" /t REG_DWORD /d 1 /f

:: allow to remember that you've minimized the ANNOYING advertisement "Tools Pane" on the right, full of paid tools, none of them works out of the box (Documents\Open Settings) + actually minimize it:

reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\AVGeneral" /v "bRHPSticky" /t REG_DWORD /d 1 /f reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\AVGeneral" /v "aDefaultRHPViewMode_L" /t REG_SZ /d "Collapsed" /f reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\AVGeneral" /v "bExpandRHPInViewer" /t REG_DWORD /d 0 /f

:: turn off "Adobe notifications" at startup, reduces useless online connections (General\Messages from Adobe):

reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\IPM" /v "bShowMsgAtLaunch" /t REG_DWORD /d 0 /f

:: turn on forms auto complete which is off by default unfortunately (Forms\Auto complete):

reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\FormsPrefs" /v "bInlineAutoComplete" /t REG_DWORD /d 1 /f reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\FormsPrefs" /v "bRecordNewEntries" /t REG_DWORD /d 1 /f reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\FormsPrefs" /v "bShowDropDown" /t REG_DWORD /d 1 /f

:: avoid first launch intro (not present in UI) - wizard and UI walkthrough overlay (not in settings):

reg add "HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\DC\AVGeneral" /v "bisFirstLaunch" /t REG_DWORD /d 0 /f reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\FTEDialog" /v "bWelcomeCard_RdrInstall" /t REG_DWORD /d 0 /f reg add "HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\DC\AVGeneral" /v "bappFirstLaunchForNotifications" /t REG_DWORD /d 0 /f

:: disable upsell (all those offers to buy extra tools), so the first one actually removes the annoying blue buttons to upgrade, the second one is yet to be confirmed:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown" /v "bAcroSuppressUpsell" /t REG_DWORD /d 1 /f reg add "HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\DC\ArmUpsell" /v "bIsEnabled" /t REG_DWORD /d 0 /f

:: NSA (LOL) doubles down with very nice recommendations, and this will turn off all the cloud and "sign in" junk, and clean up the UI very well:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cCloud" /v "bAdobeSendPluginToggle" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cCloud" /v "bDisableADCFileStore" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cServices" /v "bUpdater" /t REG_DWORD /d 0 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cServices" /v "bToggleAdobeDocumentServices" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cServices" /v "bToggleAdobeSign" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cServices" /v "bTogglePrefSync" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cServices" /v "bToggleWebConnectors" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cWebmailProfiles" /v "bDisableWebmail" /t REG_DWORD /d 1 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Adobe\Acrobat Reader\DC\FeatureLockdown\cSharePoint" /v "bDisableSharePointFeatures" /t REG_DWORD /d 1 /f

:: NOT NEEDED change units to centimeters (not recommended, just a personal choice, making a note):

reg add "HKEY_CURRENT_USER\SOFTWARE\Adobe\Acrobat Reader\DC\Originals" /v "iPageUnits" /t REG_DWORD /d 3 /f

Revert code

N/A

Suggested category

Configure programs

Suggested recommendation level

NONE

Additional documentation/references

Adobe documentation of registry didn't look good, i captured the registry changes with a monitor. All verified by clean run. Also the reason to pay attention to this bloatware is no other PDF reader works as expected (for forms), so have to use it.

femdiya commented 2 years ago

Make a pull request. Also, provide a revert script and recommendation level.