Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

UE-V Agent installation fails with error: The Offline Files service is not running


View products that this article applies to.

Symptoms

When installing the Microsoft User Experience Virtualization (UE-V) Agent on a system, the installation may fail with the following error (assuming the /quiet switch is not specified in the msiexec.exe command line):

The Offline Files service is not running. To enable Offline Files, navigate Control Panel / Sync Center / Manage Offline Files.

In the Microsoft_User_Experience_Virtualization_Agent.log file, the following error is logged:

Action start 15:14:07: LaunchConditions.
The Offline Files service is not running. To enable Offline Files, navigate Control Panel / Sync Center / Manage Offline Files.
MSI (s) (B4:3C) [15:14:07:885]: Product: Microsoft User Experience Virtualization Agent -- The Offline Files service is not running. To enable Offline Files, navigate Control Panel / Sync Center / Manage Offline Files.

Action ended 15:14:07: LaunchConditions. Return value 3.
Action ended 15:14:07: INSTALL. Return value 3. 
                                 
In the Application event log, the following event will be logged:

Log Name:      Application
Source:        MsiInstaller
Event ID:      10005
Level:         Error
Description:
Product: Microsoft User Experience Virtualization Agent -- The Offline Files service is not running. To enable Offline Files, navigate Control Panel / Sync Center / Manage Offline Files.

↑ Back to the top


Cause

The UE-V Agent installation failed because Offline Files was not enabled on the system.

↑ Back to the top


Resolution

To resolve the issue, enable Windows Offline files on the system.

Windows 7 and Windows 8

Run the following command from an elevated command prompt:

sc config cscservice start=auto

Windows Server 2008 R2 and Windows Server 2012

The Offline Files feature is not installed by default on Windows Server 2008 R2 or Windows Server 2012. In order to enable the Offline files feature the Desktop Experience pack must be installed. This is an optional server component that includes the Offline Files feature. Once installed, run the following commands at an elevated command prompt:

sc config csc start= system
sc config cscservice start= auto

↑ Back to the top


More Information

Synchronization for computers with always available connections

When using UE-V on computers which are always connected to the enterprise network (i.e. a Windows Server computer hosting VDI sessions) then Offline files should be disabled.

When the UE-V agent is configured to synchronize settings without using Offline Files, the settings storage server is treated as a standard network share. Settings are synchronized when the network is available. In this configuration the UE-V agent can be configured to give a notification if the import of application settings is delayed.

If the Offline Files feature will not be used, you must disable the UE-V default behavior before or during the UE-V agent deployment. To disable Offline Files for UE-V, perform one of the following:
  • Before deploying the UE-V agent, mark the “Do not use Offline Files” checkbox in the UE-V Group Policy setting.
  • During installation set the AgentSetup.exe parameter SyncMethod = None on the command line or in a batch file. For more information about deploying the agent, see Deploying the UE-V Agent.

↑ Back to the top


Keywords: kb, kbtshoot

↑ Back to the top

Article Info
Article ID : 2769614
Revision : 2
Created on : 3/27/2020
Published on : 3/27/2020
Exists online : False
Views : 130