The Azure File Sync agent is available from Microsoft
Update, Microsoft Update Catalog, and Microsoft Download Center.
Notes
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.
Microsoft
Update
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 KB4489736.log
For example, to
install the Azure File Sync agent update for Server 2016, run the following
command:
- msiexec.exe
/p StorageSyncAgent_WS2016_KB4489736.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater
/qb /l*v KB4489736.log
Microsoft
Download Center
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 AFSv6Installer.log
For example, to install the Azure File Sync agent
for Windows Server 2016, run the following command:
- msiexec /i StorageSyncAgent_V6_WS2016.msi
/qb /l*v AFSv6Installer.log
Notes
- 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.