Misleading "CAWA_E_20037 Unable to load user profile" message.

Document ID : KB000048401
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Jobs running in a R11.3 machine sporadically gets CAWA_E_20037 Unable to load user profile otherwise it does work normally.

It also works when the user force start the job.

Solution:

The problem is due to using UNC (Universal Naming Convention) path in the command jobs.

Command prompt does not support having a UNC path as the current directory, so CD \\host\directoryname does not work.

If an attempt is made to start CMD with a UNC current directory then it forces it to C:\Windows and it is not possible to determine the original working directory, thus leading to sending CAWA_E_20037 message.

Replace the UNC path with the explicit one (i.e. drive:\directory name) and the the jobs will be running fine.