--- title: Managing the UE-V Service and Packages with Windows PowerShell and WMI description: Managing the UE-V service and packages with Windows PowerShell and WMI author: MaggiePucciEvans ms.pagetype: mdop, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 ms.date: 04/19/2017 --- # Managing the UE-V service and packages with Windows PowerShell and WMI **Applies to** - Windows 10, version 1607 You can use Windows Management Instrumentation (WMI) and Windows PowerShell to manage User Experience Virtualization (UE-V) service configuration and synchronization behavior. >**Note** For a complete list of UE-V cmdlets, see [User Experience Virtualization in Windows PowerShell](https://technet.microsoft.com/library/mt772286.aspx). ## To configure the UE-V service with Windows PowerShell 1. Open a Windows PowerShell window. To manage computer settings that affect all users of the computer by using the *Computer* parameter, open the window with an account that has administrator rights. 2. Use the following Windows PowerShell commands to configure the service.
Windows PowerShell command | Description |
---|---|
|
Turns on the UE-V service. Requires reboot. |
|
Turns off the UE-V service. Requires reboot. |
|
Displays whether UE-V service is enabled or disabled, using a Boolean value. |
|
Gets the effective UE-V service settings. User-specific settings have precedence over the computer settings. |
|
Gets the UE-V service settings values for the current user only. |
|
Gets the UE-V service configuration settings values for all users on the computer. |
|
Gets the details for each configuration setting. Displays where the setting is configured or if it uses the default value. Is displayed if the current setting is valid. |
|
Configures the UE-V service to not synchronize any Windows apps for all users on the computer. |
|
Configures the UE-V service to not synchronize any Windows apps for the current computer user. |
|
Configures the UE-V service to display notification the first time the service runs for all users on the computer. |
|
Configures the UE-V service to not display notification the first time that the service runs for all users on the computer. |
|
Configures the UE-V service to notify all users on the computer when settings synchronization is delayed. Use the DisableSettingsImportNotify parameter to disable notification. |
|
Configures the UE-V service to notify the current user when settings synchronization is delayed. Use the DisableSettingsImportNotify parameter to disable notification. |
|
Configures the UE-V service to synchronize all Windows apps that are not explicitly disabled by the Windows app list for all users of the computer. For more information, see "Get-UevAppxPackage" in [Managing UE-V Settings Location Templates Using Windows PowerShell and WMI](uev-managing-settings-location-templates-using-windows-powershell-and-wmi.md). Use the DisableSyncUnlistedWindows8Apps parameter to configure the UE-V service to synchronize only Windows apps that are explicitly enabled by the Windows App List. |
|
Configures the UE-V service to synchronize all Windows apps that are not explicitly disabled by the Windows app list for the current user on the computer. For more information, see "Get-UevAppxPackage" in [Managing UE-V Settings Location Templates Using Windows PowerShell and WMI](uev-managing-settings-location-templates-using-windows-powershell-and-wmi.md). Use the DisableSyncUnlistedWindows8Apps parameter to configure the UE-V service to synchronize only Windows apps that are explicitly enabled by the Windows App List. |
|
Disables UE-V for all the users on the computer. Use the EnableSync parameter to enable or re-enable. |
|
Disables UE-V for the current user on the computer. Use the EnableSync parameter to enable or re-enable. |
|
Enables the UE-V icon in the notification area for all users of the computer. Use the DisableTrayIcon parameter to disable the icon. |
|
Configures the UE-V service to report when a settings package file size reaches the defined threshold for all users on the computer. Sets the threshold package size in bytes. |
|
Configures the UE-V service to report when a settings package file size reaches the defined threshold. Sets the package size warning threshold for the current user. |
|
Specifies the time in seconds before the user is notified for all users of the computer |
|
Specifies the time in seconds before notification for the current user is sent. |
|
Defines a per-computer settings storage location for all users of the computer. |
|
Defines a per-user settings storage location. |
|
Sets the settings template catalog path for all users of the computer. |
|
Sets the synchronization method for all users of the computer: SyncProvider or None. |
|
Sets the synchronization method for the current user: SyncProvider or None. |
|
Sets the synchronization time-out in milliseconds for all users of the computer |
|
Set the synchronization time-out for the current user. |
|
Clears the specified setting for all users on the computer. |
|
Clears the specified setting for the current user only. |
|
Exports the UE-V computer configuration to a settings migration file. The file name extension must be .uev. The |
|
Imports the UE-V computer configuration from a settings migration file. The file name extension must be .uev. |
Windows PowerShell command |
Description |
|
Extracts the settings from a Microsoft Notepad package file and converts them into a human-readable format in XML. |
|
Repairs the index of the UE-V settings location templates. |
Windows PowerShell command |
Description |
---|---|
|
Displays the active UE-V service settings. User-specific settings have precedence over the computer settings. |
|
Displays the UE-V service configuration that is defined for a user. |
|
Displays the UE-V service configuration that is defined for a computer. |
|
Displays the details for each configuration item. |
$config.Put() |
Defines a per-computer settings storage location. |
|
Defines a per-user settings storage location. |
|
Sets the synchronization time-out in milliseconds for all users of the computer. |
|
Configures the UE-V service to report when a settings package file size reaches a defined threshold. Set the threshold package file size in bytes for all users of the computer. |
|
Sets the synchronization method for all users of the computer: SyncProvider or None. |
|
To enable a specific per-computer setting, clear the setting, and use $null as the setting value. Use UserConfiguration for per-user settings. |
|
To disable a specific per-computer setting, clear the setting, and use $null as the setting value. Use User Configuration for per-user settings. |
|
Updates a specific per-computer setting. To clear the setting, use $null as the setting value. |
|
Updates a specific per-user setting for all users of the computer. To clear the setting, use $null as the setting value. |
WMI command | Description |
---|---|
|
Extracts the settings from a package file and converts them into a human-readable format in XML. |
|
Repairs the index of the UE-V settings location templates. Must be run as administrator. |