What is UE-V?
Here is a technet HOWTO for roaming profiles so you can read about what you should not use. ;)
Whats the pros?
- Its included in all Windows versions since at least Windows XP.
- It is kind of easy to setup using GPOs.
- All files sync on login/logoff.
- Long login/lofff times.
- Problems with some programs using APPDATA in a bad way.
- Large profiles on servers unless you limit the profile max size.
- Problems with corrupted profiles if you set the profile max size limit.
- Does not play well with Windows 10.
UE-VWhat you do with UE-V is kind of the opposite of roaming profiles.
You create a template for each program and define one or more processes and what folder/registry paths should be "roamed". When the process starts, the UE-V engine will check for settings in the UE-V-Settings location and download them to local cache. Then the settings will be applied to the system and the program will start.
When the program exits, UE-V will take all the settings, make a "blob" and send them to the settings location. This means you can work on multiple computers and still get the latest versions of your settings, as long as you close the program on all the computers in the right order.
And thanks to the compressed blobs, download speed is increased.
Whats the pros?
- From Windows 10 1607 UE-V is included in all Enterprise/Education licenses and you don't need a subscription to Microsoft Software Assurance Program.
- The UE-V client is included with Windows 10 1607.
- Fast login times.
- Program settings "roam" when started/stopped.
- You can use the UE-V "Sync provider" and file servers or use Dropbox/Google Drive/Onedrive and a local folder for the user settings.
- Very easy to start using.
- You can make a lot of templates because only settings for the programs the user runs will be "roamed".
- Use multiple computers at the same time without worry to loose the settings because the wrong computer was logged off last.
- You have to create a template for every program you want to "roam".
- Since the settings have to be downloaded before the program is allowed to start, some programs with large "APPDATA" will become slow to start.
- For Windows versions older than Windows 10 1607 you need to download MDOP and install the UE-V client on all clients.
Setup UE-VI choose to do this with a GPO, but you can use powershell as well.
This is a strange one, it doesn't do anything to Windows 10 1607. Maybe it have to be used for earlier versions of Windows. I don't know.
Use User Experience Virtualization (UE-V)
This is the main switch for Windows 10 1607.
It seems that there are default templates located in:
I will begin testing to see if I can get the Windows Settings to sync.
|When you are done it should look something like this.|
Settings using PowershellI use this on my test-computer that is not joined to a domain.
First we need to import the module:
Then you can make all settings in one command like this (make sure to change the paths):
Create UE-V templates
There is a "Microsoft User Experience Virtualization (UE-V) Template Generator" included in the Windows ADK 1607.
One problem I have to address is the problem I have with the Template Wizard crashing at random.
Two fresh Windows 10 installations, on one of them the wizard works just fine and on the other it crashes. I cannot find anything that would make the other work and the other not, same default settings and same "Windows Defender" etc.
Some tips when using the Wizard:
- The wizard say you should just close the program as soon as it has started. I find it better to toggle some settings in the programs before I close it. That way the AppMonitor have a better chance to find all settings locations.
- Sometimes you will get a ton of results, where many files are listed separately instead of en entire folder or registry key. I just unselect all and choose one of them for each "base" folder/key. In the last step of the wizard you can edit these and make them recursive.
- The wizard often select a folder one level to high. For example:
%APPDATA%\CompanyName\ExamplesoftwareIf the company only make one software it may be fine, but if they have multiple software, you don't want all software settings in all of the templates.
- Make sure you don't select any folders with cached information, like browser cache etc.
- The wizard is very limited and can only create templates for one process at a time. You can just add more if you edit the file manually. In this example OBS Studio:
- There are also a lot of additional settings you can apply like folder exceptions etc, but I haven't had time to try them yet. As soon as I have, I will update this text.
Force reload templates on test-client
On the computer you create/test UE-V on. After modifying or creating new tempelate, run this command to reload all templates.
In an Administrators Windows Powershell:
Unregister-UevTemplate -All ; Register-UevTemplate '\\SERVER\SHARE\UEV\Templates\*.xml'
To see what templates are loaded
Get-UevTemplate|Sort-Object -Property TemplateID|Format-Table
When testing I noticed that sometimes settings wont sync if you deleted folders while testing. I think the syncprovider gets confused. That can be fixed by deleting the local cache folder for the UE-V template you are testing. They are located under:%LocalAppdata%\Microsoft\UEV
You can now find my UE-V templates in my GIThub repository