https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyMTYyIiwiaGFzaCI6IjI3YTAwMTc0LWIzMDAtNDA0Yy1iZDgyLTY2YWFhMGJjZTExMiJ9
1-800-691-1991 | 9am - 8pm ET
EN

Windows File Level Restore running from Remote Shell on Windows 10 failing unexpectedly

Challenge

You are trying to start Windows File Level Restore running from Remote Shell on Windows 10 but it fails unexpectedly with a general error:

User-added image

In the log files (C:\ProgramData\Veeam\Backup\FLRSessions\Windows\FLR__<vm_name>_\VeeamAgent.MountVm.Client.log) you may observe following error code:

[05.09.2016 18:30:14] <  4728> mnt| Virtual space {b7ac05db-bfce-41fb-8d5c-780993e049de} was destroyed
[05.09.2016 18:30:14] <  4728> mnt| VeeamFCT driver communication library was deinitialized
[05.09.2016 18:30:14] <  4728> drv| ERR |CVeeamFCTDriver::FileMount: Failed to mount file 'C:\WINDOWS\system32\config\systemprofile\aoivmtwx.mot\veeamflr-0000417000007499-0000.flat'.
[05.09.2016 18:30:14] <  4728> drv| >>  |Details: FctVsAddFile() : HRESULT = 0x80070003
 

Cause

Windows environment variables for local system (SYSTEM) are missing or not set.

Solution

You need to recreate missing values in the following registry key on Windows with Remote Shell running: 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment 

Name: TMP 
Type: Expandable String Value 
Value: %SystemRoot%\TEMP 

Name: TEMP 
Type: Expandable String Value 
Value: %SystemRoot%\TEMP

Afterwards please restart Windows.
KB ID:
2162
Product:
Veeam Backup & Replication
Version:
9.x
Published:
2016-09-05
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later