Skip to main content



How can we help you?


Druva Documentation

App aware backup completes with could not create directory error

Heads up!

We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.

This article applies to:

  • Product edition: Phoenix

Problem description

App aware backup completing successfully with  “Could not create directory” error.


This error occurs when we are not able to create the directory VMWare in the location C:/ProgramData/Phoenix/ using the credentials which are assigned to this virtual machine from the credential store.


  1. Follow the instructions provided in the article to obtain job logs.

  2. Extract the logs and go to Phoenix<YYYYMMDD>_<timestamp>.log file to see the below traceback in the logs.

    [2019-10-29 14:02:19,555] [ERROR] Error <type 'exceptions.Exception'>:('Could not create directory: %s in guest os.', 'C:/ProgramData/Phoenix/VMWare'). Traceback -Traceback (most recent call last):
      File "agents/vmware/", line 2428, in init_backup
      File "agents/vmware/", line 194, in inject_binaries_and_files
      File "agents/vmware/", line 217, in check_and_create_directories_in_guest_os
    Exception: ('Could not create directory: %s in guest os.', 'C:/ProgramData/Phoenix/VMWare'


Propagate the rights to the account which is assigned to this virtual machine from the credential store so that it is able to create file/folder in C:/ProgramData/Phoenix/ directory.


  1. Once the changes are done, login to the virtual machine with the same set of credentials that were assigned to this virtual machine from the credential store.
  2. Open the command prompt and change directory to C:/ProgramData/Phoenix/ using the below command.

    cd C:/ProgramData/Phoenix/
  3. Create a folder in that location using the command mkdir abc.
    You should be able to create the folder and you should not see any Access denied errors.
    Note: Once testing is done you can delete abc folder.
  4. Once step 3 is verified, trigger a backup job for this VM and it should complete successfully.