Cleanly removing Hermes Agent from Windows takes extra checks
On Windows, removing with the normal uninstaller may leave traces behind. The uninstall screen can say the job is finished while folders in , setup cache files, old , and user PATH entries remain. These leftovers can make Windows act as if the removed program still exists.
That can cause trouble when reinstalling a clean version of or switching to another agent. Direct testing found that after using the standard installer and built-in uninstaller, a settings folder and setup cache were still present. The hermes command also kept working in the terminal because PATH had not been cleaned.
The fix used a single script to clean the leftover folders and path settings together.
Key points
- The normal uninstaller may say is removed while leaving files and settings behind.
- Check for old settings folders and setup cache files.
- Old and user PATH entries can keep the hermes command alive.
- If hermes still works after uninstalling, PATH was likely not cleaned.
- A cleanup script can help prepare Windows for a clean reinstall.