Access is denied. (ExecuteProgram)

Application Message ID: 5 Product: DS-Client Category: System Software Version: Last Updated: 2020-02-19

Symptoms

The error may be reported when running backups for backup sets configured with VSS option, or for backup sets protecting System State and Services Database ( the VSS option will be used even if not selected when backing up the system state of computers running Windows Vista/2008 or newer ).

Usually this error comes together with other error messages, like: – Access is denied. (\\ICBSVR001\ADMIN$\complusbackup\vsscontrolin.dat) (End Snap) – Access is denied. (Scheduler – "C:\Windows\complusbackup\sfcfiles.exe")

Cause

1. Task Scheduler, Remote Registry or Volume Shadow Copy services are disabled / not running on the computer to be backed up.

2. The user provided when creating the backup set ( or backup set credentials updated later ) doesn't have rights to run the VSS snapshots or to connect to the remote Task Scheduler / Remote Registry service on the target machine and start these services if necessary.

3. When the backup set was created or credentials updated one ore more spaces have been mistakenly entered before or after the actual user-name.

4. "Remote Scheduled Task Management" is not enabled in Windows firewall configuration on the backup source computer.

5. In the From field of the backup set credentials screen an invalid domain name is entered or if there are multiple domains a domain name is entered which is not trusted with the domain of the source machine.
6. The VSS timeout needs to be increased.

7. DS-Client computer or the backup source computer runs Windows 2008 and the SP2 for this OS was not applied.

8. UAC is turned on (on the backup source computer) and a user different than the one called "Administrator" is used.

Workaround

1. Make sure the Task Scheduler and Remote Registry services are enabled/running and the Volume Shadow Copy service is not disabled on the backup source machine.

2. Ensure the backup set user-name can execute these tasks.

3. Ensure that no spaces before or after the backup set user-name ( In DS-User right click on the problematic backup set > Properties > Share > Connect as, click on '>>' to be able to edit/verify the user-name ).

4. On the backup source computer go to Start > Settings > Control Panel > System and Security > Windows Firewall > Allow programs to communicate through Windows Firewall, tick "Remote Scheduled Task Management" , save the change and try the backup again.

5. Enter the correct domain name in the From field of the backup set credentials screen.

6. Increase VSSKeepAliveTimeout from DS-User > Setup > Configuration > Advanced > Category: Communication > Parameter: VSSKeepAliveTimeout, set to 600 (default is 300). It is expected a response without 300 seconds but the server is sometimes slower to respond (maybe load is high), so adjust it as needed.

7. Apply SP2 for Windows 2008.
At a time when no backups are running for that backup source server, remove the folder C:\Windows\complusbackup (this is a hidden folder, so you have to enable viewing of hidden files and folders first), then try the backup again.

8. If the UAC is turned on in the backup source computer, either use the user called Administrator as the backup set credentials, or implement the LocalAccountTokenFilterPolicy registry key, for details please check dsuser.pdf (DS-Client User Guide) document.

דילוג לתוכן