Does not require Administrator privileges. set /p="Install this extension, then press Enter: https://microsoftedge.microsoft.com/addons/detail/gamjhjfeblghkihfjdpmbpajhlpmobbp" set /p="Download this file, then press Enter: https://res-dod.cdn.office.net/owasmime/20.21.804.1/SmimeOutlookWebChrome.msi?v=4.0800" msiexec /a %USERPROFILE%\Downloads\SmimeOutlookWebChrome.msi /qb TARGETDIR="%LOCALAPPDATA%\Microsoft\Edge" REG ADD HKCU\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.microsoft.outlook.smime.chromenativeapp /ve /d "%LOCALAPPDATA%\Microsoft\Edge\SmimeOutlookWebChrome\native-app-host-manifest.json" set /p="Restart Edge, then press Enter."