ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Upgrade of Domain Manager hangs with execution of process hmwsaftercopy.exe

book

Article ID: 238908

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

During upgrade of Domain Manager, process hmwsaftercopy.exe and take several minutes/hours to be completed

Cause

If Alert Collector is installed, following command is executed during upgrade :

hmwsaftercopy.exe install "C:\Program Files (x86)\CA\DSM\webservices\HM"

If there are thousands of xml files in C:\Program Files (x86)\CA\DSM\AlertCollectorInput, completion of this command could take several hours

Environment

Client Automation - All versions.

Resolution

Delete all files older than 30 days in C:\Program Files (x86)\CA\DSM\AlertCollectorInput 

forfiles /P "C:\Program Files (x86)\CA\DSM\AlertCollectorInput" /D -30 /C "cmd /c del /Q @file"

And try again the upgrade