We suggest to migrate the agent itself to different drive rather than pointing patch management alone to different folder . Please follow below steps for agent migration to different drive.
-
Stop SapphireIMSAgent service.
-
Stop SapphireIMSAgentUpgrade service.
-
Close services.msc window.
-
Kill agent tray icon if running (AgentServiceTray.exe).
-
Copy SapphireIMSAgent folder available in C: drive and place it in different drive where more space is available. Better to maintain same hierarchy (Example: NEW_DRIVE_LETTER:\Program Files (x86)\SapphireIMSAgent)
-
Open regedit and navigate to below path
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Tecknodreams\SapphireIMSAgent
-
Modify drive letter in ApplicationPath variable
-
In regedit, navigate to below path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SapphireIMSAgent
-
Modify drive letter in ImagePath variable.
-
In regedit, navigate to below path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SapphireIMSAgentUpgrade
-
Modify drive letter in ImagePath variable.
-
In regedit, navigate to below path
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\SapphireIMSAgent
-
Modify drive letter for values - DisplayIcon, InstallLocation, QuietUninstallString, Readme, UninstallString variables.
-
Close the regedit.
-
Start SapphireIMSAgent service.
-
Start SapphireIMSAgentUpgrade service.
-
After starting services, verify basic communication, one download job to slave machine and make sure it works properly.
-
Later you can clear the SapphireIMSAgent folder available in C drive to free up some space.