This article describes the improvements and issues that are fixed in the Azure File Sync Agent v12.1 release that is dated May 2021. Additionally, this article contains installation instructions for this release.
Improvements and issues that are fixed
The v12.0 agent release had two bugs which are fixed in this release:
Agent auto-update fails to update the agent to a later version.
FileSyncErrorsReport.ps1 script does not provide the list of per-item errors.
More information about the Azure File Sync Agent v12.1 release
This release is available for Windows Server 2012 R2, Windows Server 2016 and Windows Server 2019 installations.
A restart is required for servers that have an existing Azure File Sync agent installation if the agent version is less than version 12.0.
The agent version for this release is 184.108.40.206.
How to obtain and install the Azure File Sync Agent
The Azure File Sync agent is available from Microsoft Update, Microsoft Update Catalog, and Microsoft Download Center.
If the Azure File Sync agent is not currently installed on a server, use the agent installation package on the Microsoft Download Center. The agent installation package on Microsoft Update and Microsoft Update Catalog is intended for agent upgrades only.
To update existing agent installations, run AfsUpdater.exe (located in the agent installation directory) or download and install the update from Microsoft Update or Microsoft Update Catalog.
To obtain and install from Microsoft Update, follow these steps on a server that has Azure File Sync agent installed:
Server 2016 and Server 2019
Click Start, and then click Settings.
In Settings, click Update & security.
In the Windows Update window, click Check online for updates from Microsoft Update.
Verify the Azure File Sync agent update is listed and then click Install now.
Server 2012 R2
Click Start, and then click Control Panel.
In Control Panel, double-click Windows Update.
In the Windows Update window, click Check for updates.
Click Important updates are available.
Verify the Azure File Sync agent update is selected, and then click Install.
Microsoft Update Catalog
Go to the following website to manually download this update from the Microsoft Update Catalog:
To manually install the update package, run the following command from an elevated command prompt:
msiexec.exe /p packagename.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*v KB4588751.log
For example, to install the Azure File Sync agent update for Server 2016, run the following command:
msiexec.exe /p StorageSyncAgent_WS2016_KB4588751.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*v KB 4588751.log
Microsoft Download Center
Go to the Microsoft Download Center to manually download the agent installation package for new agent installations.
How to perform a silent installation for a new agent installation
To perform a silent installation for a new agent installation that uses the default settings, run the following command at an elevated command prompt:
msiexec /i packagename.msi /qb /l*v AFSv12Installation.log
For example, to install the Azure File Sync agent for Windows Server 2016, run the following command:
msiexec /i StorageSyncAgent_WS2016.msi /qb /l*v AFSv12Installation.log
Use the /qb switch to display restart prompts (if required), agent update, and server registration screens. To suppress the screens and automatically restart the server (if required), use the /qn switch.
To perform a silent installation with custom settings, follow the steps documented in KB4459986.