Forum Discussion
Add registry keys
Rudy_Ooms_MVP
Thanks for the comment.
Here is the PowerShell script to add the registry keys:
New-Item -Path 'Registry::HKLM\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cIPM'
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown\cIPM' -Name 'bDontShowMsgWhenViewingDoc' -Value 00000000 -PropertyType DWord -Force -ea SilentlyContinue;
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Policies\Adobe\Adobe Acrobat\DC\FeatureLockDown' -Name 'bIsSCReducedModeEnforcedEx' -Value 00000001 -PropertyType DWord -Force -ea SilentlyContinue;
And here is how I deployed Adobe pro on Intune:
https://tdannecy.me/deploy-adobe-acrobat-pro-dc-with-intune
So how to merge the PowerShell script with win32app?
Is that what your suggestion?
Thanks a lot,
.\setup.exe /sAll
If you add that powershell script to the same folder as that exe file and convert it to an intunewinfile, you could also call up on this powershell script as install command
so instead of that install command in intune, change it to execute the powershell script
- admin-CPHFeb 09, 2023Brass Contributor
Rudy_Ooms_MVP
The install command is : msiexec /i AcroPro.msi /qDo you mean to add the script as a file to the folder before I convert it to exe?
If yes, How to call the script in the install command?
Thanks
- Feb 09, 2023Yep.... thats what I was trying to explain
the install command should look something like this
powershell.exe -executionpolicy Bypass -file .\add-reg-key-adobe.ps1- admin-CPHFeb 10, 2023Brass Contributor
Install command: msiexec /i AcroPro.msi /q powershell.exe -executionpolicy Bypass -file .\reg.ps1
Correct?