Sccm package for windows 10

Using the steps described in this post, you can easily perform Windows 10 1903 upgrade using SCCM 1902. I will use an SCCM upgrade task sequence to perform the Windows 10 upgrade. I will cover the steps to upgrade Windows 10 1809 to Windows 10 1903 using SCCM upgrade task sequence.

The latest version of SCCM is version 1902. SCCM 1902 is also a baseline version. So you can either upgrade your Configuration Manager to version 1902 or use the SCCM 1902  baseline media to install the version 1902 from scratch.

Before you upgrade to SCCM 1902, check out the SCCM 1902 features. To know about SCCM 1902 prerequisites, read this post.

Install and Update Third Party Applications with Patch My PC

Install and Update Third Party Applications with Patch My PC

Windows 10 1903

Windows 10 version 1903 or Windows 10 May 2019 Update (build 18362) is out. Microsoft released Windows 10 May 2019 Update version 1903 to only the Release Preview ring Insiders. The announcement was made on 8th April 2019.

As per another announcement, “The May 2019 Update will remain in the Release Preview ring for an increased amount of time in order give us additional time and signals to detect any issues before broader deployment“.

If you are not in either slow or release preview rings, you may join the Windows Insider Program. To get the Windows 10 version 1903, you can download it via Settings > Update & Security > Windows Update > Check for updates.

If you are an MSDN subscriber, you can download the Windows 10 1903 ISO file. I assume the Windows 10 version 1903 will be released for public soon. The steps covered in this post will still be relevant even with final release of Windows 10 version 1903.

Note – Before performing Windows 10 1903 upgrade, you must have a proper plan for the roll out. As you will push upgrade package to your enterprise laptops, a proper planning is a must. I suggest you first perform the upgrade in a lab environment. Deploy it to a limited group and test all your business applications before broad deployment.

SCCM Version required for Windows 10 1903 Upgrade

When you deploy or upgrade Windows 10 to version 1903, the SCCM client agent should be compatible with Windows 10 version.

If you want to manage Windows 10 1903 as client, you need at least SCCM 1806. I am currently assuming this is true because I don’t see the information updated in below matrix. If I am wrong here, I will update the post once I get the correct information.

If you are using Configuration Manager 1810 or 1902, you are good to perform the Windows 10 1903 upgrade.

SCCM Version required for Windows 10 1903 Upgrade

The following table lists the versions of Windows 10 that you can use as a client with different versions of Configuration Manager.

Windows ADK Requirement

Always ensure that you’re running a supported version of the Windows ADK. Microsoft always recommends using the Windows ADK that matches the version of Windows you’re deploying.

For example, in my lab setup I am SCCM 1902 installed and Windows ADK version is 1903. You can always update an existing installation of a Windows ADK on an SCCM server. Here is my Step-by-Step Guide to Update Windows ADK on SCCM Server – https://www.prajwaldesai.com/update-windows-adk-sccm-server/

Windows ADK Requirement

When you deploy operating systems with Configuration Manager, the Windows ADK is a required external dependency

To get the Windows ADK release history and download links, read this post.

SCCM Windows 10 Upgrade Options

If you wish to upgrade your Windows 10 to version 1903 using SCCM, there are two ways to do it. I am talking about performing the Windows 10 upgrade in an enterprise setup.

  • Use an Upgrade Task Sequence
  • Use Servicing plans

Configuration Manager allows you to create servicing plans to form deployment rings. This is to ensure that Windows 10 systems are kept up-to-date when new builds are released.

The second way to upgrade Windows 10 is by using an SCCM upgrade task sequence. Probably this method is preferred by many and I am going to cover the same in this post.

Windows 10 1903 Upgrade using SCCM

As I mentioned above, by using an SCCM upgrade task sequence, we will perform Windows 10 upgrade. I have got some Windows 10 machines in my setup and they are currently on version 1809. All the Window 10 machines are 64-bit and are enterprise editions.

If you have the Windows 10 1903 ISO file, extract the contents. You can mount the ISO file and copy the contents. Create a folder (usually a folder within Sources directory) and paste the copied contents to the folder.

Add Operating System Upgrade Package

The first step is to add operating system upgrade package using SCCM console.

  • Launch SCCM console.
  • Navigate to Software Library > Operating Systems > Operating System Upgrade Packages.
  • Right click Operating System Upgrade Packages and click Add Operating System Upgrade Package.
Add Operating System Upgrade Package

Specify the path to Windows 10 1903 media. Select the architecture as x64 and language based on your choice. Click Next.

Add Operating System Upgrade Package

On the General page, specify the name, version and comment for operating system upgrade package. Click Next.

Add Operating System Upgrade Package

Click Next on Summary page.

Add Operating System Upgrade Package

On the Completion page, click Close.

Add Operating System Upgrade Package

Distribute Operating System Upgrade Packages

You must distribute the Windows 10 upgrade package after adding/importing it. Right click Windows 10 upgrade package and click Distribute Content.

Ensure the content is distributed to all the distribution points.

Add Operating System Upgrade Package

Create SCCM Upgrade Task Sequence

After adding the Windows 10 1903 upgrade package, we will now create a new task sequence which will be an upgrade task sequence.

Right click Task Sequences and click Create Task Sequence.

Create SCCM Upgrade Task Sequence

Select Upgrade an operating system from an upgrade package. Click Next.

Create SCCM Upgrade Task Sequence

Specify the task sequence information such as name and description. Click Next.

Create SCCM Upgrade Task Sequence

You must now select an operating system upgrade package. Click Browse and select Windows 10 1903 upgrade package. That’s the package that you imported in the above step.

Under Properties you should see list of editions, language, architecture and OS version. Select the edition index which is Windows 10 Enterprise.

If you have a KMS server in your setup, you can skip entering the product key. In case you use MAK keys to activate the OS, enter the correct Windows 10 product key.

Click Next.

Create SCCM Upgrade Task Sequence

You can include software updates if you wish to install them along with operating system. At this point, I will choose Do not install any software updates. Click Next.

Create SCCM Upgrade Task Sequence

If you have any list of Applications that should be installed along with this upgrade, select them by clicking Yellow icon. If not just click Next.

Create SCCM Upgrade Task Sequence

On the Summary page, click Next.

Create SCCM Upgrade Task Sequence

Click Close.

Create SCCM Upgrade Task Sequence

You should see the newly created task sequence under Task Sequences. You may edit the Task Sequence before upgrade and make required changes. In my case, since I am only performing the upgrade, I won’t modify the task sequence.

Deploy Windows 10 1903 Upgrade Task Sequence

Once your task sequence is ready, you are good to deploy to it a collection.

Right click the Task Sequence and click Deploy.

Deploy Windows 10 1903 Upgrade Task Sequence

On the General page, click Browse and select a collection. The collection that I have selected contains Windows 10 1809 machines. Click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

Select the purpose as Available. By selecting Available, the windows 10 upgrade task sequence appears in software center. The upgrade begins only when user clicks Upgrade.

You may select the purpose as Required but be careful when you select that option. Selecting Required will force the deployment at the deadline. Click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

Under Scheduling, you can specify when the deployment will become available and when it gets expired. Click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

Click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

On Alerts page, click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

Click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

On the Summary page, click Next.

Deploy Windows 10 1903 Upgrade Task Sequence

Finally, on Completion page, click Close.

Deploy Windows 10 1903 Upgrade Task Sequence

Launch Windows 10 1903 Upgrade Process

So we have almost reached the final step which is performing the upgrade. Login to Windows 10 computer and initiate a Machine Policy Retrieval and Evaluation Cycle from Control Panel > Configuration Manager Icon.

Launch Software Center and click Operating Systems. Our upgrade task sequence is available, click Install.

Windows 10 Upgrade Process

To upgrade the operating system on the computer you must acknowledge. Click Install. From this point, there is no user intervention required. The upgrade process should begin now.

Windows 10 Upgrade Process

You will notice the task sequence steps getting executed one by one.

Windows 10 Upgrade Process

Most of all, which log file should i open to monitor the upgrade process ??. Sometimes the upgrade may halt and there could be several reasons for that.

Hence it is very important that you know which log file should you refer while the upgrade process is running. The answer is C:\Windows\CCM\Logs\SMSTSLog\SMSTS.log.

Before the upgrade begins, first the install.wim file is downloaded.

Windows 10 Upgrade Process

Notice the Windows Upgrade Setup Progress seen in the log file.

Windows 10 Upgrade Process

Working on updates..That should bring a smile on your face.

Windows 10 Upgrade Process

The upgrade process is complete. We have successfully upgraded Windows 10 1809 to Windows 10 1903 using SCCM upgrade task sequence.

Windows 10 Upgrade Process

Still Need Help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Deploying Windows 10 with System Center Configuration Manager (SCCM)

There are a number of different ways Configuration Manager can be used to Deploy Windows 10.

  • In-place Upgrade: Windows 7, 8, 8.1, or 10 to the latest version. The upgrade process retains the applications, settings, and user data on the computer.
  • Refresh an existing computer (Wipe and Transfer Settings): Wipe an existing computer and installs a new operating system on the computer. You can migrate settings and user data after the operating system is installed.
  • Bare Metal Install on a New Computer: Install Windows on a new computer.
  • Replace an existing computer and transfer settings: Install Windows on a new computer. Optionally, you can migrate settings and user data from the old computer to the new computer.

https://i0.wp.com/www.systemcenterdudes.com/wp-content/uploads/2016/02/11924-01.png?resize=704%2C652&ssl=1

In-place Upgrade

This method is used to upgrade Windows 7, 8, 8.1 to 10. You can also do build-to-build upgrades of Windows 10 such as 1607 to 1709. Additionally, starting in Configuration Manager 1802, the Windows 10 in-place upgrade task sequence supports deployment to internet-based clients managed through the cloud management gateway (CMG). This method is the most robust and has no external dependencies, such as the Windows ADK

With the in-place upgrade you:

  • CANNOT change domain membership
  • CANNOT change disk partitions
  • CANNOT change architecture (x86 to x64)

Preparing the Upgrade Package

  1. Add operating system upgrade packages to Configuration Manager (the extracted ISO path)

    Image result for Operating System upgrade packages.

  2. Distribute operating system images to a distribution point
  3. Apply software updates to an operating system upgrade package

    Image result for Operating System Upgrade Packages group, click Schedule Updates

Create an In-place Upgrade Task Sequence

  1. Create a New Task Sequence -> Upgrade an operating system from upgrade package

  2. Select he Upgrade Package from the previous step
  3. Set Product key, Include Updates and Install Applications preferences
  4. Complete the wizard
  5. Add steps to get the previous OS in an upgrade state, such as

    1. Battery checks
    2. Network/wired connection checks
    3. Remove incompatible applications
    4. Remove incompatible drivers
    5. Remove/suspend third-party antivirus.

Pre-Cache Content on Client

You can optionally pre-deploy the Upgrade Package to clients so that they do not have to download it if they click to install it in Software Center. This is called pre-cache of the content.

Download Package Content Step

You can also use the Add Download Package Content step to customize such things as detect the client architecture, hardware type for each driver package.

Deploy the Task Sequence to Computers

There are two ways in which you can deploy this task sequence to computers

  • Use Software Center to deploy over the network
  • Use USB drive to deploy without using the network
  • Cloud Management Gateway (1802 and above)

Deploy with Software Center

  1. Task Sequence -> Deploy
  2. Set Deployment Settings, Scheduling, User Experience, Distribution Points
  3. With 1802 you can now also choose to save this deployment as a template.

Deploy with USB Drive

  1. Select your task sequence and choose Create Task Sequence Media

Deploy with Cloud Management Gateway (CMG)

Starting with Configuration Manager 1802, you can use a CMG to deploy a task sequence.

  1. Ensure all of the content referenced by the in-place upgrade task sequence is distributed to a cloud distribution point.
  2. When deploying the task sequence, check the additional options:

    1. Allow task sequence to run for client on the Internet, on the User Experience tab of the deployment.
    2. Download all content locally before starting task sequence, on the Distribution Points tab of the deployment.
    3. Other options such as Download content locally when needed by the running task sequence do not work in this scenario.
    4. Pre-download content for this task sequence, on the General tab of the deployment

Refresh an Existing Computer (Wipe and Transfer Settings)

Let’s look at how we can partition and format (wipe) an existing computer and install a new operating system onto it and transfer the settings as well. We need to install a state migration point to store and restore user settings on the new operating system after it is installed. This is called a Refresh

Prepare for a Refresh Scenario

There are several infrastructure requirements that must be in place before we can deploy operating systems with Configuration Manager.

Dependencies External to Configuration Manager

  • Windows ADK for Windows 10
    • User State Migration Tool (USMT) (transfer user settings)
    • WinPE images (PXE boot media)
  • Windows Server Update Services (WSUS) (for updates during deployment)
  • Windows Deployment Services (WDS) (PXE boot environment)

    • Also DHCP enabled
  • Internet Information Services (IIS) on the site system server
  • Device drivers ready

Configuration Manger Dependences

  • OS Image
  • Driver catalog (import the device driver, enable it, and make it available on a distribution point)
  • Management point
  • PXE-enabled distribution point
  • Install a State Migration Point and configure it

Prepare WinPE Boot Image

  1. Two default images are provided by Configuration Manager in \\servername>\SMS_<sitecode>\osd\boot\<x64> or <i386>
  2. Add Boot Image (Operating Systems -> Boot Images)

  3. Distribute Boot Images to Distribution Points
  4. Boot Image Properties -> Data Source tab, select Deploy this boot image from the PXE-enabled distribution point

Prepare an Operating System Image

  1. Decide to use the default install.wim or capture a reference computer and make your own .wim file.
  2. Add the Operating System Image to Configuration Manager (Operating Systems -> Add Operating System Image)

  3. Distribute the Operating System to a Distribution Point
  4. Schedule Software Updates to the Operating System Image
    Image result for Operating System Upgrade Packages group, click Schedule Updates

Create a Task Sequence

  1. Create a New Task Sequence -> Install an existing image package

  2. Choose setting such as Image package (and image), partitions, product key
  3. Choose to Join A Domain
  4. Choose to install the Configuration Manager Client
  5. Choose Under State Migration

    1. Capture user settings: capture the user state.
    2. Capture network settings: Captures network settings
    3. Capture Microsoft Windows settings: Capture the computer name, registered user and organization name, and the time zone settings.

Deploy the Task Sequence

You have a few different options to choose when deploying the task sequence.

  • Use PXE to deploy over the network
  • Use Multicast to deploy over the network
  • Use Software Center to deploy over the network
  • Create an image for an OEM in factory or a local depot

    1. Create Task Sequence Media
  • Use USB Drive to deploy Windows over the network

Bare Metal Install on a New Computer

Let’s look at how we can partition and format (wipe) a new computer and install a new operating system onto it.

Prepare for a Bare Metal Scenario

There are several infrastructure requirements that must be in place before we can deploy operating systems with Configuration Manager.

Dependencies External to Configuration Manager

  • Windows ADK for Windows 10
    • User State Migration Tool (USMT) (transfer user settings)
    • WinPE images (PXE boot media)
  • Windows Server Update Services (WSUS) (for updates during deployment)
  • Windows Deployment Services (WDS) (PXE boot environment)

    • Also DHCP enabled
  • Internet Information Services (IIS) on the site system server
  • Device drivers ready

Configuration Manger Dependences

  • OS Image
  • Driver catalog (import the device driver, enable it, and make it available on a distribution point)
  • Management point
  • PXE-enabled distribution point

Everything else here is the same as a Refresh. Follow the directions above, skipping the sections where we would use the State Migration Point.

Replace an existing computer and transfer settings

Let’s look at how we can partition and format (wipe) a destination computer and install a new operating system onto it and transfer the settings as well from a source computer. We need to install a state migration point to store and restore user settings on the new operating system after it is installed. This is called a Refresh

Prepare for a Replace Scenario

There are several infrastructure requirements that must be in place before we can deploy operating systems with Configuration Manager.

Dependencies External to Configuration Manager

  • Windows ADK for Windows 10
    • User State Migration Tool (USMT) (transfer user settings)
    • WinPE images (PXE boot media)
  • Windows Server Update Services (WSUS) (for updates during deployment)
  • Windows Deployment Services (WDS) (PXE boot environment)

    • Also DHCP enabled
  • Internet Information Services (IIS) on the site system server
  • Device drivers ready

Configuration Manger Dependences

  • OS Image
  • Driver catalog (import the device driver, enable it, and make it available on a distribution point)
  • Management point
  • PXE-enabled distribution point
  • Install a State Migration Point and configure it

Configure State Migration Point

The scenario for a replace is similar to a restore. The exception is we need to configure the State Migration Point with settings to assure we have a spot to store our migration data that is not on the computer.

http://apprize.info/microsoft/system/system.files/image288.jpg

We must specify:

  1. The drive on the server to store the user state migration data.
  2. The maximum number of clients that can store data on the state migration point.
  3. The minimum free space for the state migration point to store user state data.
  4. The deletion policy for the role. Either specify that the user state data is deleted immediately after it is restored on a computer, or after a specific number of days after the user data is restored on a computer.
  5. Whether the state migration point responds only to requests to restore user state data. When you enable this option, you cannot use the state migration point to store user state data.

In this article, we will explain how the System Center Configuration Manager Console tool is installed on your Windows 10 PC. In some cases, you can easily operate on the SCCM Console screen from your Windows 10 operating system computer without the need to connect to the SCCM server. Now we can start the installation process. We need to go to our client computer and copy the SCCM Console Setup file. For this, we right-click on the ”Windows” button of our Windows 10 computer and click on the ”Run“ option.

Run option

Run option

We need to connect to the “c$” of our server. We can connect as ”\\SCCM\c$”. Continue by clicking the “OK” button.

\\SCCM\c$

\\SCCM\c$

When we connect to the c$ screen of our SCCM Server, we can go to the Path we have specified below and copy the “SCCM Console Setup” file to our desktop.

SCCM Console Setup

SCCM Console Setup

When we open the folder that we have moved to the desktop, we right-click the “ConsoleSetup” program and click the “Run as Administrator” option.

ConsoleSetup - data-lazy-src=

ConsoleSetup -> Run as Administrator

On the “Microsoft Endpoint Configuration Manager” page, click the “Next” button.

Microsoft Endpoint Configuration Manager

Microsoft Endpoint Configuration Manager

On the “Site Server” page, we write the “FQDN” of the server in the box to which “Site Console” screen you want to connect to. Then we click the “Next” button. Since there is only one site in our lab environment, we continue by typing the name of our server.

Site Server

Site Server

On the “Installation Folder” page, we select where the program will be installed. We leave it the same. Then we click the “Next” button.

Installation Folder

Installation Folder

On the “Ready to Install” page, we start the installation process by clicking the “Install” button.

Ready to Install

Ready to Install

On the “Please Wait” page, we wait a bit until the installation is finished.

Please Wait

Please Wait

On the last page, we will complete the installation process by clicking the “Finish” button.

SCCM setup wizard finished

SCCM setup wizard finished

When you click on the start menu, you will see that the SCCM Console tool is installed.

SCCM Console

SCCM Console

When you type the name of your server by selecting the “Connect to site” option, the automatic name filling process will be performed. After the name filling process; By selecting the “Connect” option, the connection to the Console screen will be successfully established. In addition, the warning on the screen shows that the user we have become “Logon” does not have SCCM Console login authority.

Connect to site

Connect to site

For this; In order to give SCCM Console login authorization to the relevant user, we can authorize the relevant user or our own user by clicking the “Security” folder in the “Administration” section of our SCCM server and selecting the “Administrative Users” option. After the authorization is completed, we see that we have successfully accessed the SCCM Console screen.

Administrative Users

Administrative Users

We have successfully accessed the SCCM Console screen.

SCCM Console screen

SCCM Console screen

Any SCCM admin would find it very useful and bit more convenient to have the console installed on their local machine. This is especially the case as apposed to remoting into the Site server whenever they want to administer SCCM. For me personally, I have always found it very useful to have the console on hand so today we’re going to go through the steps to install the SCCM admin console on a Windows 10 machine.

  • To start off you’ll need to have admin rights to your machine
  • You’ll need to know the name of site server you’re going to connect to
  • Navigate to <SCCM site server installation path>\Tools\ConsoleSetup
SCCM Install Path Location

In my case, PAC-SCCM01 is my primary server and the installation path is “E:\Program Files\Microsoft Configuration Manager”

Once you’re in that folder follow these steps to install the SCCM administrative console on your Windows 10 machine.

  • Double click on ConsoleSetup.exe
  • Click Next and follow prompts
  • Enter in your Primary Server name e.g. PAC-SCCM01
  • Finish installation and open application

SCCM Admin Console On Windows 10

So hopefully you were able to install the admin console on your Windows 10 machine and have it work like a charm. It’s great knowing that you can connect locally without having to RDP into a different machine.

If you’re interested in more content like this, be sure to check out our SCCM category and SCCM playlist on YouTube.

Paul Contreras

Hi, my name is Paul and I am a Sysadmin who enjoys working on various technologies from Microsoft, VMWare, Cisco and many others. Join me as I document my trials and tribulations of the daily grind of System Administration.

As I’ve already described in one of my previous post, language pack integration could be a hell of a ride. Since Windows 10 Version 1809 Microsoft changed the way how language packs are installed. Microsoft now provides “LanguageExperiencePacks” that contain partially-localized language packs. These “LanguageExperiencePacks” that are provided as appx-packages still require base language packs.

Requirements

  • VLSC W10 1909 Image: Download the Windows 10 installation media from the “Volume Licensing Service Center“. Do not download the sources from other official Microsoft sites like https://my.visualstudio.com/ . The language pack integration with dism will fail if not using a VLSC image! Example Image: SW_DVD9_Win_Pro_10_1909.3_64BIT_English_Pro_Ent_EDU_N_MLF_X22-27457.ISO
  • VLSC W10 1903 Multi Language Pack: Even when installing W10 1909 the language pack for 1903 is required! Example: SW_DVD9_NTRL_Win_10_1903_32_64_ARM64_MultiLang_LangPackAll_LIP_X22-01656.ISO
  • VLSC W10 1903 Features on Demand: Even when installing W10 1909 the features on demand pack for 1903 is required! Example: SW_DVD9_NTRL_Win_10_1903_64Bit_MultiLang_FOD_1_X22-01658.ISO

Installation Order

  1. Install language packs (e.g Microsoft-Windows-Client-Language-Pack_x64_de-de.cab)
  2. Restart
  3. Install “LanguageExperiencePack” (e.g. LanguageExperiencePack.de-DE.Neutral.appx)
  4. Activate language pack for all users (e.g.  C:\Windows\System32\control.exe intl.cpl /f:”configuartion.xml”)
  5. Restart

Create SCCM Package

Start creating an individual SCCM package “MS_W10 1909 LanguagePack de-DE_x64_MU_01” containing all necessary content for language activation:

 Microsoft-Windows-Client-Language-Pack_x64_de-de.cab

This file was extracted from the VLSC media file “SW_DVD9_NTRL_Win_10_1903_32_64_ARM64_MultiLang_LangPackAll_LIP_X22-01656.ISO” and contains the gui translation for the german language.

 LanguageExperiencePack.de-DE.Neutral.appx

This file was extracted from the VLSC media file “SW_DVD9_NTRL_Win_10_1903_32_64_ARM64_MultiLang_LangPackAll_LIP_X22-01656.ISO” Do not forget to copy the “License.xml” file!

 Microsoft-Windows-LanguageFeatures-Basic-de-de-Package[…].cab & […]Handwriting-de-de[…].cap & […]OCR-de-de[…].cap & […]Speech-de-de[…].cap & […]TextToSpeech-de-de[…].cap

These files were extracted from “SW_DVD9_NTRL_Win_10_1903_64Bit_MultiLang_FOD_1_X22-01658.ISO” and include the translation parts for different recognition parts. 

 SCCM_Install_APPX.ps1

This PowerShell Script will install the “LanguageExperiencePack.de-DE.Neutral.appx”. The script will search the root folder of the sccm package for *.appx and License.xml files. Ensure that you anly have one appx package and one License.xml file available otherwise the script will fail.

$LogFileLocation = "C:\ProgramData\SCCM_Install-LanguageExperiencePack.log"

#Start Script
Start-Transcript -path $LogFileLocation -Force

function Write-Log($string)
{
    $dateTimeNow = Get-Date -Format "dd.MM.yyyy - HH:mm:ss"
    $outStr = "" + $dateTimeNow +" "+$string
    Write-Output $outStr
}

function Get-ScriptName
{
    if ($hostinvocation -ne $null) {$hostinvocation.MyCommand.Path}
    else {$script:MyInvocation.MyCommand.Path}
}

[string]$ScriptName = Get-ScriptName
[string]$ScriptDirectory = Split-Path $ScriptName


Write-Log "------------ Start Script  ------------"
Write-Log ""
Write-Log $ScriptName
Write-Log ""
Write-Log "------------------------------------"
Write-Log "Install APPX Package"
Write-Log "------------------------------------"

$appxbundle = Get-ChildItem -Path $ScriptDirectory -Filter *.appx -ErrorAction Stop
$appxbundlepath = $ScriptDirectory + "\" + $appxbundle

Write-Log ""
Write-Log "APPX Bundle Package Path: $appxbundlepath"

$license = Get-ChildItem -Path $ScriptDirectory -Filter License.xml -ErrorAction Stop
$licensepath = $ScriptDirectory + '\' + $license

Write-Log "License File: $licensepath"

Add-AppxProvisionedPackage -Online -PackagePath $appxbundlepath -Licensepath $licensepath


Write-Log ""
Write-Log "------------- End Script -------------"

Stop-Transcript

 SCCM_SetLangPack.ps1

This PowerShell script will search the SCCM package root folder for the file “de-DE.xml” containing the language configuration for the operating system. If you like to use a different xml file name just rewrite line 31.

$LogFileLocation = "C:\ProgramData\SCCM_SetLangPack.log"

#Start Script
Start-Transcript -path $LogFileLocation -Force

function Write-Log($string)
{
    $dateTimeNow = Get-Date -Format "dd.MM.yyyy - HH:mm:ss"
    $outStr = "" + $dateTimeNow +" "+$string
    Write-Output $outStr     
}

function Get-ScriptName
{
    if ($hostinvocation -ne $null) {$hostinvocation.MyCommand.Path}
    else {$script:MyInvocation.MyCommand.Path}
}

[string]$ScriptName = Get-ScriptName
[string]$ScriptDirectory = Split-Path $ScriptName


Write-Log "------------ Start Script  ------------"
Write-Log ""
Write-Log $ScriptName
Write-Log ""
Write-Log "------------------------------------"
Write-Log "Get Language XML Path"
Write-Log "------------------------------------"

$XMLfile = Get-ChildItem -Path $ScriptDirectory -Filter de-DE.xml -ErrorAction Stop
$XML = $ScriptDirectory + "\" + $XMLfile

Write-Log ""
Write-Log $XML
Write-Log ""

Write-Log "------------------------------------"
Write-Log "Set Language XML as Active"
Write-Log "------------------------------------"
Write-Log ""
Write-Log "Execute $env:SystemRoot\System32\control.exe intl.cpl,,/f:`"$XML`""

& $env:SystemRoot\System32\control.exe "intl.cpl,,/f:`"$XML`""

Write-Log ""
Write-Log "Start Sleep for 2 seconds"
start-sleep -seconds 2

Write-Log ""
Write-Log "------------- End Script  -------------"

Stop-Transcript

 de-DE.xml

  • Set language as default language for all users
  • Set the system locale to “de-DE”
  • Set the GEOID to “94”
  • Set “en-US” as fallback language
  • Add the German keyboard layout “0407:00000407”
  • Remove the English keyboard layout “0409:00000409”

<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<!--User List-->
<gs:UserList>
<gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/>
</gs:UserList>
<!-- user locale -->
<gs:UserLocale>
<gs:Locale Name="de-DE" SetAsCurrent="true"/>
</gs:UserLocale>
<!-- system locale -->
<gs:SystemLocale Name="de-DE"/>
<!-- GeoID -->
<gs:LocationPreferences>
<gs:GeoID Value="94"/>
</gs:LocationPreferences>
<gs:MUILanguagePreferences>
<gs:MUILanguage Value="de-DE"/>
<gs:MUIFallback Value="en-US"/>
</gs:MUILanguagePreferences>
<!-- input preferences -->
<gs:InputPreferences>
<!--de-DE-->
<gs:InputLanguageID Action="add" ID="0407:00000407" Default="true"/>
<!--en-US-->
<gs:InputLanguageID Action="remove" ID="0409:00000409"/>
</gs:InputPreferences>
</gs:GlobalizationServices>

Modify Task Sequence

Get your Windows 10 deployment Task Sequence (TS) and add the following steps to your TS.

Fixing errors in settings menu

Right after the succesfull installation I’ve noticed several error messages in the settings menu:

It took me hours to figure out that the installation of the newest Cumulative Update will fix all these errors.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Программа для настройки разрешения экрана windows 10
  • Приложение aqara home для windows
  • Как запустить текстовый документ от имени администратора в windows 10
  • Cкачать windows 10 pro
  • Msi tools for windows x64