Unable to create an Disaster Recovery (SDR) disk; Failed to build SDR folder structure, error code = -39

book

Article ID: 100015186

calendar_today

Updated On:

Description

Error Message

 
Error code -39:Error occurred while building the Disaster Recovery Image.
 

SGMon log shows:
==============================================================================

​DRPREPWIZARD: [TIME] [0000] DRPREPWIZ: CBuildRecoveryDisk::RunProcess(529) - Info: Argument is ""C:\Program Files\Symantec\Backup Exec\sdr\Tools and Utilities\SreTools\win64-x64\SreBuildUtil.exe" -validate -paths -targetdir "C:\Users\ADMINI~1.WK&\AppData\Local\Temp\2\SDRStaging\disk" -pathsrt "C:\Program Files\Symantec\Backup Exec\sdr"" 
DRPREPWIZARD: [TIME] [0000] DRPREPWIZ: CBuildRecoveryDisk::RunProcess(529) - Info: Argument is ""C:\Users\ADMINI~1.WK&\AppData\Local\Temp\2\SDRtmpenv.bat" " 
DRPREPWIZARD: [TIME] [0000] DRPREPWIZ: CBuildRecoveryDisk::ProcessError(395) - Error: set path failed. With Return code0 
DRPREPWIZARD: [TIME] [0000] DRPREPWIZ: RunBuildSDR: InitBuildSDR Failed with error code: -39 
DRPREPWIZARD: [TIME] [0000] DRPREPWIZ: Error: Failed to build SDR folder structure, error code = -39
 

Cause

  1. Issue is caused by an invalid path, characters, or access to the user's temporary file location. Special characters such as & (ampersand), as seen above, can cause this issue. Note: The ~ (tilde) in the error section above is allowed since the OS does it automatically to shorten the path for the eight-dot-three naming convention.
  2. It has also been observed that some monitoring software, that maintains a connection to the user's temporary folder can cause this issue.
  3. Missing "Path" System variables in Environment Variables.

 

Resolution

  1. Use a local or domain account that does not have special characters in them and, if still unable to create the SDR, disable any services that may maintain a connection to the user's temp folder.

Check for special characters that may be present in the path to a user's temp folder do the following:

  1. Login to the Backup Exec Server with the account to be tested.
  2. Launch a command prompt window and type the following:
echo %TMP%
  1. If the resulting path either:
    1. Path does not exist or is incorrect.
    2. Contains special characters.

           Then create and/or log on to the system using a local/domain account that does not contain such characters to create the SDR disk.

2. Disable any services that may be monitoring the user's temp directory: Use the Windows services (services.msc) to access and review the services that are enabled. Use caution when disabling services. Contact the service's software support to better determine if it monitors the currently logon user's temp folder.

3. Under Backup Exec Server's System Properties --> Advanced -->Environment Variables --> System Variables, make sure the "Path" variable has below value present.

%SystemRoot%\system32

If the above given path is not there in the "Path" variable value under System variables, add it followed by a Semicolon (;) to append to existing values.

Issue/Introduction

When attempting to create a Disaster Recovery (SDR) disk the error is generated below and the process fails. Re-attempt generates the same error message.

Additional Information

ETrack: 3747397