A few weeks ago, I wrote a post about configuring Onedrive for a Horizon VDI/RDS deployment. While the guide was a good and flexible way of configuring OneDrive for specific users.
The setup had one major drawback being the Onedrive Installation was done in user context.
Meaning when a user logged onto the RDS, a OneDriveSetup.exe was called, this installed the OneDrive agent into the %localappdata% of the user. Again this was a working solution but the user profile gets bloated during the session and gets a performance hit during the installation.
In this update, I will be adjusting the guide to use a machine based OneDrive installation. This to enhance the existing setup and use all benefits of the Machine-based installer.
Fortunately, Microsoft has listened to the community and released a machine based installer that all users on a system will use.
The installation is rather straight forward as by start downloading the latest version of OneDrive, build 19.043.0304.0003 or higher. Run the OneDrive.exe with the following parameter “/AllUsers”, this will install the client to the “program files” folder on the system.
Also if you have pushed the initial OneDrive installer on the RDS/VDI base image, I suggest you remove this to have a clean setup when using the “Machine based” setup.
As mentioned I already made an initial blog on how to configure Onedrive with VMware UEM. I will be using the same configuration but adjust only a couple of settings using the machine based OneDrive installation.
First, we need to change the initial installer that runs at logon when the user logs onto the RDS/VDI. Change the path of the installer as shown below:
After changing the installation path, we need to adjust the process elevation. As the path we initially configured will not work anymore. The following path should be used:
As this setup is using the %program files% installer, the application blocking rule can be adjusted to the same path to ensure no OneDrive could be initialized.
As you can see with a small adjustment we can have a big advantage in our OneDrive setup (no more performance hit during logon & profile bloat).
This will hopefully help you in providing the end user an overall better experience when using OneDrive in there RDS/VDI environment.
If you like this post please help us by sharing this! Also leave a comment, If you have some questions.
More posts regarding UEM: Configuring printer in UEM with personalization.