1-800-691-1991 | 9am - 8pm ET
EN

Win32 error: The directory name is invalid.

KB ID: 1046
Product: Veeam Backup & Replication
Version: 5.x, 6.x
Published: 2011-07-19
Last Modified: 2020-08-13
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge


Cause

The %TEMP% or %TMP% folder is not accessible on the server you need to back up.

Solution

To resolve the issue, follow the next steps:
  1. Log on to the server with VSS credentials and run the SET command.

  2. Find lines like the following ones:
    TEMP=C:\DOCUME~1\USER\LOCALS~1\Temp
    TMP=C:\DOCUME~1\USER\LOCALS~1\Temp

  3. Make sure the specified folder exists and that you can perform read/write operations on it. 

In addition to user variables, you need to check system variables as well:

  1. Open System Properties, go to the Advanced tab.

  2. Click the Environment Variables button.

  3. Find the System variables section and make sure the TEMP directory name indicated here is valid.

User-added image

Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.