共用方式為


Restoring Application and Windows Settings Synchronized with UE-V 1.0

WMI and PowerShell features of Microsoft User Experience Virtualization (UE-V) provide the ability to restore settings packages. WMI and PowerShell commands allow you to restore application and Windows settings to the settings values that were on the computer the first time the application launched after the UE-V Agent was installed. This restoring action is performed on a per-application or Windows settings basis. The settings are restored the next time that the application is run or when the user logs on to the operating system.

To restore application settings and Windows settings with PowerShell

  1. Open the Windows PowerShell window. To import the Microsoft UE-V PowerShell module, enter the following command:

    Import-module UEV
    
  2. Enter the following PowerShell cmdlet to restore the application settings and Windows settings.

    PowerShell cmdlet Description

    Restore-UevUserSetting

    Restores the user settings for an application or restores a group of Windows settings

     

To restore application settings and Windows settings with WMI

  1. Open a PowerShell window.

  2. Enter the following WMI command to restore application settings and Windows settings.

    WMI command Description

    Invoke-WmiMethod -Namespace root\Microsoft\UEV -Class UserSettings -Name RestoreByTemplateId -ArgumentList <template_ID>

    Restores the user settings for an application or restores a group of Windows settings

     

Administering UE-V 1.0

Operations for UE-V 1.0