Below is a PowerShell script designed to disable Adobe Reader's automatic upgrading from 32-bit to 64-bit. Please note that this script assumes you have administrative privileges to execute the necessary changes. Additionally, the effectiveness of this script might depend on the version of Adobe Reader you're using, as Adobe periodically updates its software and configuration options.
This script performs the following actions to attempt to disable the auto-upgrade:
Stops the Adobe ARM (Adobe Reader and Acrobat Manager) Service if running, to prevent immediate upgrades.
Disables the Adobe ARM Service to prevent it from starting automatically.
Modifies Registry Settings associated with Adobe Reader's update behavior. Warning: Always exercise caution when editing the registry, as incorrect changes can cause system issues. It's recommended to backup your registry before proceeding.
Deletes Scheduled Tasks related to Adobe Reader updates (if present).
Script:
powershell
# Require elevated permissions
if (-Not (New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) {
Write-Host "Please run this script with Administrator privileges."
exit
}
# Stop Adobe ARM Service if running
$service = Get-Service -Name "AdobeARMservice" -ErrorAction SilentlyContinue
if ($service) {
Stop-Service -Name "AdobeARMservice" -Force
Write-Host "Adobe ARM Service stopped."
} else {
Write-Host "Adobe ARM Service not found or already stopped."
}
# Disable Adobe ARM Service
Set-Service -Name "AdobeARMservice" -StartupType Disabled -ErrorAction SilentlyContinue
if ($?) {
Write-Host "Adobe ARM Service disabled."
} else {
Write-Host "Failed to disable Adobe ARM Service. Check permissions."
}
# Modify Registry to Disable Updates for 64-bit Systems
$registryPath = "HKLM:\SOFTWARE\Policies\Adobe\Acrobat Reader\DC\Update"
if (Test-Path -Path $registryPath) {
Set-ItemProperty -Path $registryPath -Name "bUpdateDisabled" -Value 1 -Type DWORD -Force
Write-Host "Registry updated to disable Adobe Reader updates."
} else {
New-Item -Path "HKLM:\SOFTWARE\Policies\Adobe\Acrobat Reader\DC" -Name "Update" -Force
Set-ItemProperty -Path $registryPath -Name "bUpdateDisabled" -Value 1 -Type DWORD -Force
Write-Host "Registry key created and updated to disable Adobe Reader updates."
}
# For 32-bit Adobe Reader on 64-bit Windows, also update WOW6432Node
$registryPathWOW = "HKLM:\SOFTWARE\WOW6432Node\Policies\Adobe\Acrobat Reader\DC\Update"
if (Test-Path -Path $registryPathWOW) {
Set-ItemProperty -Path $registryPathWOW -Name "bUpdateDisabled" -Value 1 -Type DWORD -Force
Write-Host "WOW6432Node Registry updated to disable Adobe Reader updates."
} else {
New-Item -Path "HKLM:\SOFTWARE\WOW6432Node\Policies\Adobe\Acrobat Reader\DC" -Name "Update" -Force
Set-ItemProperty -Path $registryPathWOW -Name "bUpdateDisabled" -Value 1 -Type DWORD -Force
Write-Host "WOW6432Node Registry key created and updated to disable Adobe Reader updates."
}
# Delete Scheduled Tasks related to Adobe Reader Updates
Get-ScheduledTask -TaskName "Adobe Acrobat Update Task*" -ErrorAction SilentlyContinue | Unregister-ScheduledTask -Confirm:$false
if ($?) {
Write-Host "Adobe Reader update tasks removed (if existed)."
} else {
Write-Host "No Adobe Reader update tasks found or failed to remove."
}
Important Considerations:
Backup Registry: Before making any registry changes, consider backing up your registry. This script provides a basic safety net by checking for the existence of keys before modifying them, but unforeseen circumstances can still arise.
Adobe Reader Version: The script targets Adobe Reader DC. If you're using a different version, the registry paths or service names might vary. For other versions, adjust the paths accordingly (e.g., Acrobat Reader\2015 for older versions).
Security Implications: Disabling automatic updates might expose your system to security vulnerabilities if not manually updated. Regularly review Adobe's website for security patches and updates. Consider enabling updates for critical security fixes.
Testing: This script is provided as-is. While it's designed to work in most scenarios, testing it in a non-production environment first is highly recommended.
Troubleshooting Tips:
If the script fails to disable updates, ensure you're running it with Administrator privileges.
For versions other than DC, adjust the registry paths as needed.
If updates continue, check for additional tasks or services not covered by this script.
Alternative Solution:
For environments where disabling updates is not advisable, consider configuring updates through Group Policy Objects (GPOs) for managed networks. This allows centralized control over when and how updates are applied, ensuring security without completely disabling updates.
Running the Script:
Save the script as a .ps1 file (e.g., DisableAdobeUpdates.ps1).
Right-click the file and select Run with PowerShell, or open PowerShell as Administrator and navigate to the script's location to run it manually.