Error: "The file cannot be accessed by the system"


Problem

The error message "The file cannot be accessed by the system" during backup of the user profile folder.


Cause

The cause is the WindowsApps folder. This folder is a location for installed Windows desktop applications. It was introduced with Windows 8 and is used as a location for installed Windows Store apps. Read/Write permissions are limited by operation system.


Suggestions and Resolution

Exclude folders manually

The only way to solve the issue is to exclude these folders from the backup plan.

  1. Open MBS portal and navigate to backup plan.
  2. Click Edit button for failing backup plan.

  1. Expand "Backup Source" section and click "Show Plain Text" link. Insert the following folders in the "Exclude Paths" field.
  • %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
  • %USERPROFILE%\AppData\Local\Packages
  • %USERPROFILE%\AppData\Local\Temp

  1. Save backup plan changes.
  2. Run backup plan as usual.

Exclude folders with the script

If the backup environment is huge and required too much manual work, use the script to add exclusions.

  1. Download the script.
  2. Run the script on required machines via RMM or GPO.

Exclusions will be added automatically to all file-level backup plans.


Contact Us

Tech questions: tech@cloudberrylab.com

Sales questions: sales@cloudberrylab.com