1. Home
  2. Training Library
  3. Microsoft Azure
  4. Courses
  5. Managing Azure Virtual Desktop Session Host Images

Installing OneDrive

Contents

keyboard_tab
Course Introduction
1
Introduction
PREVIEW1m 57s
Imaging Basics
2
3
Sysprep
1m 44s
4
Snapshots
4m 53s
Session Hosts and Images
Course Conclusion
Start course
Overview
Difficulty
Intermediate
Duration
43m
Students
90
Ratings
5/5
starstarstarstarstar
Description

This course covers imaging in Azure to show you how you can build Azure Virtual Desktop session hosts as well as prepare for the AVD Specialty exam. This is going to cover a lot of information on the Windows OS, imaging tools, and how we work with images in Azure. Then we'll look at how to manage, maintain, and update those images. Finally, we'll cover how you can automate the whole process so you can scale as well as generate a new image each month or when a zero-day patch comes out, so you can stay secure.

Learning Objectives

  • Create a custom image
  • Deploy a session host with a custom image
  • Modify a session host image
  • Install language packs
  • Plan for image update and management
  • Create and use Azure Compute Gallery image
  • Automate custom images with Azure Image Builder

Intended Audience

  • Azure administrators with subject matter expertise in planning, delivering, and managing virtual desktop experiences and remote apps, for any device, on Azure
  • Anyone looking to learn more about Azure Virtual Desktop

Prerequisites

  • Windows operating system
  • Imaging a Windows OS
  • Azure Virtual Machines
  • VM snapshots
  • Azure Compute Gallery 
  • Azure Image Builder
Transcript

Each one of the steps is covered here in the Azure docs, beginning with downloading the OneDrive executable, which I've already done. I'll open a Command Prompt as administrator, navigate over to my folder. We'll add a registry entry so OneDrive can be installed for all users. Next, we can run the OneDrive installer itself with the command OneDriveSetup.exe /allusers. Once that's complete, we can run the next three commands from the docs. They are optional but recommended. The first one will allow OneDrive to start up at sign in for all users.

The second will set up a silent configuration for the user account. And the last command will set up known folder redirection, as well as associate OneDrive with the M365 tenant. And before you run this command, you'll need to add your tenant ID. This can be found in the Azure portal by going to Azure Active Directory. Here in the top middle, you'll see your tenant ID. Just copy that and paste it into the command and then run it. Once that's complete, you're ready for another snapshot.

About the Author
Avatar
Dean Cefola
Principal Azure Engineer
Students
174
Courses
3

Dean Cefola is a Principal Azure Engineer at Microsoft and has worked in the IT industry for over 20 years. Dean has been supporting Azure Virtual Desktop from the beginning and is the Microsoft FastTrack Global Leader for AVD.