Disable Proxmox VE Subscription Nag with a Simple Script


Proxmox Virtual Environment (VE) is a powerful open-source virtualization management platform. While it offers many advanced features for free, users often encounter a subscription notice pop-up that can be distracting. The good news? This pop-up is optional and can be disabled without affecting system functionality. Below, we introduce a script that safely removes this notification.
What Does This Script Do?
This script is designed to:
Create a Backup: Before making any changes, the script creates a backup of the
proxmoxlib.js
file, which ensures that you can revert the modifications if needed.Modify Proxmox Code: It edits the
proxmoxlib.js
file, adding a small piece of code that bypasses the subscription check. This ensures that the nag screen does not appear during routine usage.Update APT Configuration: Adds a configuration file in
/etc/apt/apt.conf.d/
to ensure the changes persist even after Proxmox updates. This means you won’t need to reapply the script frequently.Restart Proxmox Services: Restarts the
pveproxy.service
to apply the changes immediately, ensuring a seamless user experience.
Why Is This Script Useful?
Many Proxmox users rely on the free features of the platform and find the subscription nag screen unnecessary. This script provides a quick and reliable way to disable it without compromising system security or functionality. The changes are lightweight and focus only on the subscription check mechanism, leaving all other Proxmox features untouched.
Read Before You Proceed
Before using this script, it’s crucial to:
Review the Script: Read through the script to understand what it does. Ensure you’re comfortable with the changes before executing them.
Test in a Non-Production Environment: If possible, test the script on a non-critical system to confirm it works as expected.
How to Use the Script
Save the script to a file, e.g.,
disable_proxmox_nag.sh
. You can get the script from my GitHub :Make the script executable:
chmod +x disable_proxmox_nag.sh
Run the script with root privileges:
sudo ./disable_proxmox_nag.sh
The script will:
Create a backup of the required file.
Modify the subscription check code.
Restart the necessary service to apply changes.
Output of the Script
The script provides real-time feedback, so you’ll know exactly what’s happening. For instance:
It confirms when the backup is created.
Informs you if the modification was successful.
Notifies you about the status of the
pveproxy.service
after the restart.
Important Notes
System Updates: Future Proxmox updates may overwrite these changes. If the subscription notice reappears, simply re-run the script.
Legal and Ethical Use: While this script disables the nag screen, supporting Proxmox by purchasing a subscription is encouraged if you're using it in a production environment.
By using this script, you can focus on leveraging the full potential of Proxmox VE without unnecessary distractions. Enjoy a seamless virtualization experience!
Subscribe to my newsletter
Read articles from Hoomaan directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
