Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Implement and manage OneDrive, including multisession environments

A worked example

Single answer

Fabrikam has an Azure Virtual Desktop pooled host pool. The session hosts run Windows 11 Enterprise multi-session and are managed by Configuration Manager. Many users share each session host.

You are deploying the OneDrive sync app. The deployment must meet the following requirements:

  • The sync app must be installed once on each session host, not once for each user.
  • No OneDrive executable files may run from user profile folders.
  • The deployment must be performed centrally from Configuration Manager without administrators signing in to individual session hosts.
  • Configuration Manager must confirm the per-machine installation by using a detection rule.

Which deployment approach meets all the requirements?

Choose one answer
Why

On multisession hosts shared by many users, the per-machine option installs the sync app once per machine, in Program Files rather than in each user's %localappdata% folder. This keeps OneDrive executables out of user profiles. Setup with /allusers can be deployed through Configuration Manager instead of being run interactively on each host. The documented way to verify a per-machine installation is a registry detection rule on the Version value under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive.

  • Not correct: Deploy OneDriveSetup.exe without parameters from Configuration Manager to each user, with a detection rule on the Version value under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive. Without /allusers, the sync app installs per-user. That means one installation for each user account, under %localappdata% in the user profile.
  • Not correct: Deploy OneDriveSetup.exe /allusers from Configuration Manager, with a detection rule on OneDrive.exe under %localappdata%\Microsoft\OneDrive. A per-machine installation places OneDrive under Program Files or Program Files (x86), not under %localappdata%. A rule that looks in the user profile would not confirm the per-machine installation.
  • Not correct: Sign in to each session host, run OneDriveSetup.exe /allusers from a command prompt, and check the Version value under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive. This produces a per-machine installation. However, running setup from a command prompt on each host means an administrator works on every session host, and it raises a User Account Control prompt.
  • Correct: Deploy OneDriveSetup.exe /allusers from Configuration Manager, with a detection rule on the Version value under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OneDrive. The /allusers parameter installs the sync app once per machine under Program Files. Setup can be run by Configuration Manager. The HKLM OneDrive Version value is the documented detection rule for a per-machine installation.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free