Enable UE-V (User Experience Virtualization) during OSD with SCCM and use OneDrive as storage path

Introduction

UE-V is not something new, but when combined with OneDrive Known Folder Move, Enterprise State Roaming in Azure and OneDrive as the storage path for UE-V, you will find yourself with a very solid solution ensuring roaming of end users data and settings.

I have previously shown you how you can enable OneDrive KFM with SCCM. This time, I’m going to show you how you can enable UE-V during OSD with Configuration Manager, and how you make sure those settings are stored in OneDrive. I hope you can see the pattern here: No on-premise file share for UE-V settings – everything stored in the users OneDrive.

A peek at the UE-V configuration when OneDrive is set as storage path

Powershell

UE-V was included into Windows 10 in 1607. This simplifies management a lot, and today everything is doable through Powershell, which of course means that this is all done with a Powershell script.

My complete script is available for download on the TechNet Gallery. Link below.

>> https://gallery.technet.microsoft.com/Enable-UE-V-User-38459d8d <<

In short the script does following:

  • Tries to enable UE-V
    • Will fail if not Windows 10 1607 or later
  • Stores the selected UE-V templates into an array
  • Sets various UE-V configurations.
    • Which of these are External sync provider AND %OneDrive% as storagepath
    • And making sure not to sync Windows apps and settings (this is done with ESR in Azure)
  • Registering all the selected templates set in the array

Once the script has run either through OSD or by other means, running Get-UEVConfiguration on the computer should yield a result similar to below:

Configuration Manager

Putting the script to use in Configuration Manager is straight forward.

Add the Powershell script to a package, distribute to your distribution points and reference the script via a Run PowerShell Script step in your task sequence.

Below is an example from my Windows 10 1803 In-Place Upgrade Task Sequence. For your inspiration, I think it’s a good idea to introduce new additions like this with the Windows 10 feature updates (which happen semi-annually). You are already disrupting the end user and chances are they know about it and you have some sort of communication going already. Put that to good use, and introduce changes or additions like these alongside the new Windows 10 version.

OneDrive

So, how does it turn out from OneDrive side of things?

A hidden folder named SettingsPackages will automatically be created as shown below. Note this is taken directly from my OneDrive where Known Folder Move is configured as well. (this will rename the known folders to the danish equivalent)

And inside that SettingsPackages folder, folders for the various UE-V templates we enabled will be created. That happens once I begin to work with the associated applications. Also illustrated below.

Conclusion

This is a really easy way to quickly gain use and advantage of UE-V. There is no file share for storing the user data and there is no central template catalog. This is all OneDrive and using the local templates stored on the computer already.

And just to mention it again. This combined with OneDrive Known Folder Move and Enterprise State Roaming in Azure, you have something really neat going on for your users, and they might not even notice it 🙂

Please leave a comment if this was useful – thank you 🙂

10 thoughts on “Enable UE-V (User Experience Virtualization) during OSD with SCCM and use OneDrive as storage path”

  1. One of my client’s is a small organization managed solely with InTune and have known folder location enabled, could I simply adapt / deploy this via InTune to take advantage of UE-V?

    Reply
    • Yeah, there’s no dependency to ConfigMgr here – it was just an example on how to use it. You can use it with Intune no problem 🙂

      Reply
  2. How to handle UE-V managed settings which are linked to the start of the shellproces, like network printers? OneDrive isn’t accessible on that time?

    Reply
  3. It’s an old post, granted, but I’m only just looking at UA-V now. The link to your script in the Technet gallery is no longer valid, are you able to re-post it please? Thanks. 🙂

    Reply
  4. Hi, sorry..I know your post is a bit old. Though was trying this out, and wondering how or what creates the “SettingPackages” folder in OneDrive? AFter I run the “enable-UEV script, it does not get created.
    I am running this all locally right now, and plan, if it works, to attempt via Intune.

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.