Update rollups for the Azure File Sync Agent are available
from Microsoft
Update and by manual download.
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 get and install an update package 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 update rollup package 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 update rollup package is selected, and then click Install.
Microsoft Update Catalog
Go to the following website to manually download the
update rollup package from the Microsoft Update Catalog:
Update Rollup for Azure File Sync Agent:
April 2019 (KB4481061)
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*vx storagesyncagentupdate.log
For example, to
install the Azure File Sync agent update for Server 2016, run the following
command:
- msiexec.exe /p StorageSyncAgent_WS2016_KB4481061.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*vx storagesyncagentupdate.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 AFSv5Installer.log
For example, to install the
Azure File Sync agent for Windows Server 2016, run the following command:
msiexec
/i StorageSyncAgent_V5_WS2016.msi /qb /l*v AFSv5Installer.log
Note: 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.
Note: To perform a
silent installation with custom settings, follow the steps documented in KB4459986.