Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Veeam Agent for Windows deployment failing with Access Denied

Posted on 15/07/202620/07/2026 matheusgiovanini By matheusgiovanini No Comments on Veeam Agent for Windows deployment failing with Access Denied
  1. Home
  2. Backup
  3. Veeam Agent for Windows deployment failing with Access Denied

In this guide we shall discuss “Veeam Agent for Windows deployment failing with Access Denied”. I would like to share a troubleshooting case that took me a few long days to resolve. I hope this can help someone facing a similar issue in the future. The scenario was a VAW deployment to a customer Windows Server. Please see Action required: Update Devolutions Remote Desktop Manager Before July 21, and How to Back Up and Restore Microsoft Entra ID with Veeam Backup & Replication v13.

At first, the issue looked like a standard deployment or Windows Installer problem. The Veeam Backup & Replication server was able to reach the target server and upload the MSI package, but the Agent installation never completed.

The target server was also a bit unusual: it was heavily used through Remote Desktop sessions, with more than 60 users logged on. Because of that, it was not always easy to know if another MSI installation was really running, and we also had to perform all troubleshooting outside business hours.

Also, see Azure Resource Inventory (ARI) for Engineers: Improving Control and Compliance, Azure Load Balancer: Configuring for SQL Server Always On Availability Group Listener on Azure Virtual Machines, and Azure Virtual Desktop: Build Custom Session Host Images Using Image Builder Templates [Part 07].

First issue: another installation already in progress

The first error we saw from the VBR console was:

01/06/2026 22:34:43 Failed : [172.16.254.120] Installing package Veeam Agent for Windows Error: Another installation is already in progress. Another installation is already in progress.01/06/2026 22:34:43 Succeeded : [172.16.254.120] Deleting temporary folder01/06/2026 22:34:43 Failed : [172.16.254.120] Failed to install Veeam Agent for Windows: Unable to install package Veeam Agent for Windows on server 172.16.254.120 Error: Another installation is already in progress.

Since the server had many active RDS users, stopping or killing Windows Installer sessions was not something we could do casually. We had to wait for the approved maintenance window, check for active msiexec.exe  processes, kill the stuck ones, and then retry the deployment.

To check for active Windows Installer processes:

tasklist /fi "imagename eq msiexec.exe" /v

To stop a stuck process:

taskkill /F /PID <PID>

Or, if confirmed safe during the maintenance window:

taskkill /F /IM msiexec.exe

Please see Veeam Agent for Windows: VSS Error Caused by Old SQL Server References, Azure Virtual Desktop: Autoscaling Implementing and Monitoring Session Hosts [Part 05], and How to implement Azure Private Link for Azure Virtual Desktop [Part 06].

 Second issue: timeout and locked MSI

After clearing the stuck Windows Installer processes, we retried the deployment from the VBR console. This time, the MSI package was uploaded, but the installation ran for more than one hour and failed with a timeout.

6/29/2026 9:03:46 AM Succeeded : [172.16.254.120] Package Veeam_B&R_Endpoint_x64.msi has been uploaded (0:00:13)6/29/2026 10:18:47 AM Failed : [172.16.254.120] Installing package Veeam Agent for Windows Error: Reconnectable socket: failed to receive data synchronously, timeoutReconnectable socket: failed to receive data synchronously, timeout (1:15:00)

After that, Veeam also failed to delete the temporary MSI folder because the file was still locked by msiexec.exe:

Failed to delete file:C:\Windows\Veeam\Backup\Upload\…\Veeam_B&R_Endpoint_x64.msiFile locked by:C:\Windows\System32\msiexec.exeBackup agent is not installed

At this point, every attempt took a long time, and because all actions had to be done outside business hours, the troubleshooting became even more difficult.

Please see Azure Virtual Desktop: Connect to Session Hosts Using Entra ID [Part 04], Restoring a Physical Ubuntu Server to VMware using Veeam Agent and Export as Virtual Disks, and How to run the Cisco ASDM launcher

Moving to manual installation

Since the VBR console error was too generic, I decided to try a manual deployment to get a better installation log.

On the target server, I noticed that some Veeam components were installed, such as:

Veeam Installer ServiceVeeam Backup Transport / Deployment components

But the VAW itself was not installed.

So I exported the installation files from the Protection Group. This package includes the required MSI/EXE files, XML files, certificates, and scripts used to register the Agent back to VBR.

Then I ran the MSI manually with verbose logging:

msiexec /i "Veeam_B&R_Endpoint_x64.msi" /l*v C:\Temp\VAW_install_manual.log

That is when I finally got a more identifiable error:

VmACreateRecoveryMediaUpdateValueAccess denied

The MSI verbose log also showed:

Product: Veeam Agent for Microsoft Windows — Installation operation failed.Installation success or error status: 1603.MainEngineThread is returning 1603.Return value 3.

At this point, the issue was no longer just “deployment timeout”. The installation was failing locally on the Windows server with Access Denied during a specific MSI custom action.

Using ProcMon

The next step was to use Process Monitor / ProcMon to understand what was really receiving Access Denied. The first ProcMon filter I used was:

Process Name is msiexec.exe IncludeResult is ACCESS DENIED Include

Later, I also used a broader filter:

Path contains C:\ProgramData\Veeam\Setup\Temp IncludeResult is ACCESS DENIED Include

ProcMon showed Access Denied on a temporary Veeam setup component:

C:\ProgramData\Veeam\Setup\Temp\{GUID}\VmCreateRecoveryMediaUpdateValue

This matched the MSI custom action that was failing:

VmACreateRecoveryMediaUpdateValue

At first, I thought this could be related to NTFS permissions, GPO, antivirus, firewall, AppLocker, Software Restriction Policy, or something similar.

 

Please see The trust relationship between this workstation and the primary domain failed, How to Remove a profile on outlook, and Remove Microsoft Exchange Server: Using ADSIEdit Tool.

Checks performed

During the investigation, we checked several things:

  1. – Pending reboot registry keys
  2. – Windows Updates
  3. – Windows Installer service
  4. – Stuck msiexec.exe processes
  5. – Veeam Installer Service
  6. – Veeam Transport/Deployment services
  7. – Port 6160 connectivity
  8. – NTFS permissions on C:\ProgramData\Veeam\Setup\Temp
  9. – GPO result
  10. – Software Restriction Policies
  11. – AppLocker logs
  12. – Code Integrity logs
  13. – Defender/MDE events
  14. – ProcMon Access Denied events

Some useful commands used during the investigation:

Get-Service *Veeam*
netstat -ano | findstr ":6160"
Test-NetConnection <target-server-ip> -Port 6160
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" -ErrorAction SilentlyContinueGet-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" -ErrorAction SilentlyContinueGet-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" |Select-Object PendingFileRenameOperations
gpresult /h C:\Temp\gpresult.html
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers" /s
Get-WinEvent -LogName "Microsoft-Windows-AppLocker/EXE and DLL" -MaxEvents 100 -ErrorAction SilentlyContinue |Select-Object TimeCreated, Id, Message |Format-List
Get-WinEvent -LogName "Microsoft-Windows-CodeIntegrity/Operational" -MaxEvents 100 -ErrorAction SilentlyContinue |Select-Object TimeCreated, Id, Message |Format-List

Even after recreating the Veeam temporary folder and reapplying permissions, the installation still failed with the same Access Denied error.

So this did not look like a simple NTFS permission issue anymore.

Please see NSlookup Displays Error: UnKnown Default Server, how to Update Global Address List: Fixing the “Not Recognized” Error, and Hub Transport Server: Resolving ‘Failed to Reach Running Status’

The clue: filesystem filters

The command that finally gave us the right direction was:

fltmc filters

This command lists filesystem minifilters loaded in Windows. In this server, we found filters such as:

DatascrnWdFilterCbafilt

A brief explanation:

Datascrn – File Server Resource Manager / File ScreeningWdFilter – Microsoft Defender filesystem filterCbafilt – Carbon Black filesystem filter

These are not regular applications running in the foreground. They are filesystem filters loaded into the OS. Their job is to inspect, monitor, allow, deny, or control file operations at a lower level.

When these filters are enabled, they can intercept operations such as:

– File creation- File execution- MSI temporary custom actions- Access to temporary setup folders- Security-sensitive file operations

So even if NTFS permissions look correct, a filesystem filter can still block or interfere with an operation. That was the missing piece.

Resolution

During an approved maintenance window, with the customer’s Microsoft/security team involved, the filters were temporarily unloaded. The commands used were:

fltmc unload Datascrn
fltmc unload WdFilter
fltmc unload Cbafilt

After unloading these filters, the VAW installation completed successfully. Then the filters were loaded again:

fltmc load Datascrn
fltmc load Cbafilt
fltmc load WdFilter

After the Agent was installed, the backup job started and ran normally.

The important point is: in this case, the filters only had to be temporarily unloaded for the installation. After the Veeam Agent was installed, the filters were enabled again and the backup routine continued to work normally.

Please see Enable Virtualization in Windows: Fixing VirtualBox’s 32-bit Option, Domain Name System Protocol: Client Registration Issue, and How to fix VMware and HyperV are not compatible.

Important warning

Unloading filesystem filters can impact antivirus, EDR, file screening, DLP, or other security controls.

This should not be done without approval. In our case, it was done only during a maintenance window and with the customer’s Microsoft/security team involved.

Conclusion

This was a tricky case because the error looked like a normal Windows Installer or permission issue:

Access deniedError 1603Return value 3

But the root cause was related to filesystem filters intercepting the Veeam Agent MSI/custom action execution. So if you ever face a Veeam Agent for Windows installation failure with:

VmACreateRecoveryMediaUpdateValueAccess deniedError 1603Return value 3

and the usual checks do not solve it, it may be worth checking the loaded filesystem filters:

fltmc filters

This troubleshooting took several long days, with many attempts only possible outside business hours, but I hope sharing this path can save someone else some time. Hope this helps!

I hope you found this guide on “Veeam Agent for Windows deployment failing with Access Denied” very helpful. Please feel free to leave a comment below.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Backup Tags:fix Veeam Agent deployment failure, Veeam Agent, Veeam Agent deployment best practices, Veeam Agent firewall and SMB requirements, veeam agent for linux, Veeam Agent for Windows backup failure fix, Veeam Agent for Windows deployment access denied, Veeam Agent installation remote access denied, Veeam Agent push install error fix, Veeam Agent remote deployment failed, Veeam Agent Windows installation troubleshooting, Veeam Backup and Replication agent management troubleshooting, Veeam deployment credentials troubleshooting, Veeam deployment service access denied error, Veeam Installer Service permissions issue, Windows admin share access denied Veeam, Windows remote registry access Veeam Agent

Post navigation

Previous Post: Restoring a Physical Ubuntu Server to VMware using Veeam Agent and Export as Virtual Disks
Next Post: Backing Up OpenShift Is Not the Same as Recovering It

Related Posts

  • veeamONE integration with VBR
    Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
  • Veeam ONE Update e1780339954118
    How to Upgrade Veeam ONE to 13.0.2.6723 to Address Security Fixes Backup
  • MicrosoftOneDrive32
    Microsoft OneDrive Setup: Files On-Demand & Key Features Backup
  • Active Directory migration
    Migrate Active Directory Domain and Forest with Veeam Replica Backup
  • apply and install Veeam NFR Licence
    How to apply and install Veeam NFR License Backup
  • Backup is an attacker real target
    Hacker Thinking in Ransomware Attacks: Backup Is the real Target Backup

More Related Articles

veeamONE integration with VBR Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
Veeam ONE Update e1780339954118 How to Upgrade Veeam ONE to 13.0.2.6723 to Address Security Fixes Backup
MicrosoftOneDrive32 Microsoft OneDrive Setup: Files On-Demand & Key Features Backup
Active Directory migration Migrate Active Directory Domain and Forest with Veeam Replica Backup
apply and install Veeam NFR Licence How to apply and install Veeam NFR License Backup
Backup is an attacker real target Hacker Thinking in Ransomware Attacks: Backup Is the real Target Backup

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • dfg
    802.1x and EAP Authentication Types Security | Vulnerability Scans and Assessment
  • Disable Microsoft SQL Auto Close Option
    Disable SQL Auto Close: Auto Close is enabled for both ePO and ePO Events Databases Oracle/MSSQL/MySQL
  • Comprehensive Guide to Passkeys on Windows Devices
    Comprehensive Guide to Passkeys on Windows Devices Windows
  • ghm
    MDT Driver injection: How to import drivers in .exe format into Microsoft Deployment Toolkit Windows Server
  • Hibernation and faststartup
    Enable or Disable hibernation: How to fix the missing fast startup option on Windows Windows
  • Screenshot 2020 05 24 at 22.40.50
    The security database on the server does not have a computer account for this workstation trust relation [Part 1] Windows Server
  • whatsappImage
    How to add WhatsApp UWP on Windows 11 Windows
  • image 73
    How to manage and use Amazon S3 access points using the AWS Management Console AWS/Azure/OpenShift

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,752 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.