You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Search in All Title Contents

Specify additional command-line options to Setup during a Windows 10 upgrade when using ConfigMgr

Nov 15 2016

During the Microsoft Ignite 2016 OS Deployment pre-conference, I demonstrated the ConfigMgr inplace-upgrade task sequence, and if you want to specify additional command-line options you can use the “not-so-easy-to-find” OSDSetupAdditionalUpgradeOptions variable. For example for using the /InstallLangPacks or /ReflectDrivers switches.

Note #1: For MDT Lite Touch, the same variable is named WindowsUpgradeAdditionalOptions.

Note  #2: Adding language packs to the inplace-upgrade is needed if the machine has a language pack installed already, and you want Windows 10 to have the same language pack installed after the upgrade. The /ReflectDrivers switch can be used when having third party disk encryption on the machine you are trying to upgrade.


Task sequence action variables

Anyway, the OSDSetupAdditionalUpgradeOptions variable is part of the so-called task sequence action variables in ConfigMgr Current Branch. For a complete list of the action variables, check the online docs:

Task sequence action variables in System Center Configuration Manager

Creds: Thanks to Michael Niehaus (@mniehaus) for sending me the link when my Google/Bing search skills failed me :)


Here is an example of a task sequence configured to install a Swedish language pack by first using the download package content feature, and then using the OSDSetupAdditionalUpgradeOptions variable:

1. Add a Download Package Content action, select your language pack, and set the Save path as variable to LPs.

The added Download Package Content action.

2. The add a Set Task Sequence Variable action, where you set the following:
Task Sequence Variable: OSDSetupAdditionalUpgradeOptions
Value: /InstallLangPacks %LPs01%\sv-se

Note: The 01 number in the end of the %LPs01% must be added for this action to work.

The added Set Task Sequence Variable action.

When deploying this task sequence you will see that the extra variable added will modify the setup command line. This you can verify in the setupact.log file:

MOUPG  SetupHost::Initialize: CmdLine                =

The command line used for setup.

Additional Resources

For more notes, links and slides from the preconference, check out this blog post by Ami Casto (@MDTPro), one of the authors on Deployment Research.

Notes and slides from the Learn about Windows 10 Enterprise deployment pre-day at Microsoft Ignite 2016


Note: Also, in general, I recommend avoiding the Windows 10 operating system servicing plans feature in ConfigMgr (In the Windows 10 Servicing node), because of the lack of control. But if you do, Niall Brady (@ncbrady) has some nice info related to language packs when using it.

How can I use Windows 10 Servicing when a language pack is installed using System Center Configuration Manager (Current Branch)

The (IMHO) not so shiny Windows 10 Servicing node in ConfigMgr. Or rather the dashboard is shiny, but the servicing plans are not.


Written by Johan Arwidmark
Microsoft MVP and all-around geek

Deployment News

Happy deployment, and thanks for reading!

What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive


Where you can meet us!

Live Stream Recordings
ConfigMgr 1806 and W10 OSD

5 Days - Mega Geek Week 
(multiple classes, ConfigMgr, OSD etc.)
- Johan Arwidmark, Mikael Nystrom...
Jun 10, 2019, Chicago, IL, US

4 Days - Windows 10 OSD Classes
- Johan Arwidmark
May 20, 2019, San Diego, CA, US
Jun 17, 2019, Culemborg, NL
Jul 8, 2019, Phoenix, AZ, US

5 days - ConfigMgr Classes
- Johan Arwidmark and Kent Agerlund
Apr 8, 2019, Chicago, IL, US
Apr 22, 2019, Houston, TX, US

Video-based trainings

MDT, Windows 10 and ConfigMgr Books

Contact Info