Microsoft MDT Build 6.3.8443.1000 steht ab sofort zur Verfügung

Ab sofort steht das Microsoft MDT Build 6.3.8443.1000 zur Verfügung. Das Tool kann auf der Seite Microsoft Deployment Toolkit (MDT) für x86 und x64 heruntergeladen werden. Das sind die Verbesserungen lt. Aaron Czechowski [Microsoft]:

  • Supported configuration updates
    • Windows ADK for Windows 10, version 1607
    • Windows 10, version 1607
    • Windows Server 2016
    • Configuration Manager, version 1606
  • Quality updates
    • Deployment Wizard scaling on high DPI devices
    • Johan’s „uber bug“ for computer replace scenario
    • Multiple fixes for the Windows 10 in-place upgrade scenario
    • Several fixes to Configure ADDS step
    • Removed imagex/ocsetup dependencies, rely solely on DISM
    • Includes the latest Configuration Manager task sequence binaries (version 1606)

Der Download-Link ist auch auf meiner Microsoft Download-Seite zu finden.

mdt8443

Entfernen der Windows 10 In-Box Apps

Im Unternehmen sind die In-Box Apps von Windows 10 nicht immer erwünscht. M. Niehaus hat auf seinem Blog einen Beitrag veröffentlicht, wie die Apps vor der Image-Erstellung zu deinstallieren sind. Etwas Vorsicht ist geboten, weil in der Standardeinstellung auch der Store deinstalliert wird. Voraussetzung für die folgenden Schritte ist das Kapitel ADK / MDT / Operating System Deployment der Serie Ein einfaches Netzwerk.

RemoveApps.zip herunterladen und xml-Datei erstellen

  1. Als Administrator an MDT1 anmelden
  2. Die Datei RemoveApps.zip herunterladen, entpacken und nach E:\OSDBuild\Scripts kopieren
  3. Während der ersten Ausführung des Scripts wird die Datei RemoveApps.xml mit folgendem Inhalt erstellt und im Verzeichnis des Scripts für die Wiederverwendung gespeichert:
    Microsoft.3DBuilder
    Microsoft.Appconnector
    Microsoft.BingFinance
    Microsoft.BingNews
    Microsoft.BingSports
    Microsoft.BingWeather
    Microsoft.CommsPhone
    Microsoft.ConnectivityStore
    Microsoft.Getstarted
    Microsoft.Messaging
    Microsoft.MicrosoftOfficeHub
    Microsoft.MicrosoftSolitaireCollection
    Microsoft.Office.OneNote
    Microsoft.Office.Sway
    Microsoft.People
    Microsoft.SkypeApp
    Microsoft.Windows.Photos
    Microsoft.WindowsAlarms
    Microsoft.WindowsCalculator
    Microsoft.WindowsCamera
    microsoft.windowscommunicationsapps
    Microsoft.WindowsMaps
    Microsoft.WindowsPhone
    Microsoft.WindowsSoundRecorder
    Microsoft.WindowsStore
    Microsoft.XboxApp
    Microsoft.ZuneMusic
    Microsoft.ZuneVideo
    
    1. Optional:
      1. Diese Liste markieren > kopieren
      2. Notepad öffnen > einfügen
      3. Zeilen der Apps löschen, welche nicht deinstalliert werden sollen > z.B. Microsoft.WindowsStore und Microsoft.WindowsCalculator
      4. Speichern unter > Encoding: UTF-8 > Name: RemoveApps.xml
      5. Datei nach E:\OSDBuild\Scripts kopieren
        REMOVE_APPS-001

Die Datei powershell.exe.config erstellen

  1. Notepad starten
  2. Die Datei powershell.exe.config mit folgendem Inhalt erstellen
    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration>
       <runtime>
          <loadFromRemoteSources enabled="true"/>
       </runtime>
    </configuration>
    
  3. Speichern unter > Encoding: UTF-8 > Name: powershell.exe.config
  4. Datei nach E:\OSDBuild\Scripts kopieren
    REMOVE_APPS-002

Task Sequence anpassen

  1. Deployment Workbench starten
  2. OSD Build Share\Task Sequences erweitern
  3. Die Task Sequence zum Erstellen des Windows 10-Images zum Bearbeiten öffnen
  4. Die Phase Postinstall erweitern
  5. Nach dem Schritt Inject Drivers folgende Schritte hinzufügen
    1. Type: Run Command Line
      1. Name: Copy powershell.exe.config
      2. Command line:
        xcopy "%SCRIPTROOT%\powershell.exe.config" "X:\Windows\System32\WindowsPowerShell\v1.0\" /Y

        REMOVE_APPS-003

    2. Type: Run Command Line
      1. Name: Set-ExecutionPolicy Bypass
      2. Command line:
        powershell.exe -command "Set-ExecutionPolicy Bypass"

        REMOVE_APPS-004

    3. Type: Run Command Line
      1. Name: RemoveApps
      2. Command line:
        powershell.exe -file "%SCRIPTROOT%\RemoveApps.ps1"

        REMOVE_APPS-005

  6. Task Sequence mit OK schließen

Die erforderlichen Features zu Windows PE hinzufügen

  1. OSD Build Share rechts anklicken > Properties
  2. Auf den Reiter Windows PE wechseln
  3. Platform > x64
  4. Unter Windows PE auf den Reiter Features wechseln
  5. Folgende Features zu Windows PE hinzufügen
    1. DISM Cmdlets
    2. .NET Framework
    3. Windows PowerShell
    4. Storage Management Cmdlets
      REMOVE_APPS-006
  6. Fenster mit OK schließen
  7. OSD Build Share rechts anklicken > Update Deployment Share
  8. Update Deployment Share Wizard
    1. Options: Completely regenerate the boot images > Next
      REMOVE_APPS-007
    2. Summary > Next
    3. Confirmation > Finish
      REMOVE_APPS-009

Windows 10-Image ohne In-Box Apps erstellen

  1. Die virtuelle Maschine Windows Capture von der neuen ISO-Datei starten
  2. Wizard folgen
  3. Nach der Installation des Betriebssystems werden die Apps entfernt
    REMOVE_APPS-010
  4. Startmenü ohne Apps vor Sysprep
    REMOVE_APPS-011
  5. Folgende Apps kann man nicht deinstallieren
    1. Microsoft Edge
    2. Support kontaktieren
    3. Windows Feedback

Das Script von M. Niehaus funktioniert einfach und problemlos. Leider gibt es diesen Bug mit Powershell, welchen Niehaus so kommentiert: „With any luck, there will be a permanent solution in a future ADK release.“

Teil 13b: Windows 10 Upgrade Task Sequence erstellen

In diesem Teil werde ich die Windows 10 Upgrade Task Sequence erstellen und einen Rechner von Windows 7 auf Windows 10 upgraden.

Windows 10 Upgrade Task Sequence erstellen

  1. Als Administrator an MDT01 anmelden
  2. Deployment Workbench starten
  3. OSD Prod Share erweitern
  4. Task Sequences rechts anklicken > New Task Sequence
  5. New Task Sequence Wizard
    1. General Settings
      1. Tsk sequence ID: UPGRADE-001
      2. Task sequence name: Windows 10 Enterprise x64 Version 1511 Upgrade > Next
        Upgrade-008
    2. Select Template: Standard Client Upgrade Task Sequence > Next
      Upgrade-009
    3. Select OS: Windows 10 Enterprise x64 Version 1511.1 > Next
      Upgrade-010
    4. Specify Product Key > Next
    5. OS Settings
      1. Full Name: Einfaches Netzwerk
      2. Organization: Einfaches Netzwerk
      3. Internet Explorer Home Page: about:blank > Next
        Upgrade-011
    6. Admin Password: Password1 > Next
      Upgrade-012
    7. Summary > Next
      Upgrade-013
    8. Confirmation > Finish
      Upgrade-014

Task Sequence konfigurieren

  1. Task Sequence zum Bearbeiten öffnen

Die Gruppe Preparation

  1. Folgenden Schritt einfügen
    1. Type: Run Command Line
    2. Name: Set Power Scheme High Perf
    3. Command line:
      powercfg.exe /SETACTIVE 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

      Upgrade-015

  2. Den Schritt Validate markieren
  3. Im Detailbereich folgende Einstellung ändern
    1. Ensure minimum memory (MB): 1990
      Upgrade-016

Die Gruppe Upgrade the Operating System

  1. Nach dem Schritt Copy Scripts folgende Gruppe einfügen
    1. Windows 10 Upgrade Drivers
  2. Den Schritt Inject Drivers nach Windows 10 Upgrade Drivers verschieben und wie folgt ändern
    1. Type: Inject Drivers
    2. Name: HP EliteBook 840 G3
    3. Choose a selection profile: Windows 10 x64 – HP EliteBook 840 G3
    4. Install all drivers from the selection profile
      Upgrade-032
    5. Reiter Options > Add… > Query WMI
      1. WMI namespace: root\cimv2
      2. WQL query:
        SELECT * FROM Win32_ComputerSystem WHERE Model LIKE "%EliteBook 840 G3%"

        Upgrade-018

Die Gruppe Post-Processing

  1. Den Schritt Set Power Scheme High Perf kopieren
  2. Nach dem Schritt Tattoo folgenden Schritt einfügen
    1. Type: Run Command Line
    2. Name: Set-ExecutionPolicy Bypass
    3. Command line:
      powershell.exe -command "Set-ExecutionPolicy Bypass"

      Upgrade-033

  3. Nach dem Schritt Set-ExecutionPolicy Bypass folgenden Schritt einfügen
    1. Type: Run Command Line
    2. Name: Remove Windows 10 In-Box Apps
    3. Command line:
      powershell.exe -file "%SCRIPTROOT%\RemoveApps.ps1"

      Upgrade-034

  4. Nach dem Schritt Remove Windows 10 In-Box Apps folgende Gruppe erstellen
    1. Install Driver Software\HP EliteBook 840 G3
      1. Reiter Options > Add… > Query WMI
        1. WMI namespace: root\cimv2
        2. WQL query:
          SELECT * FROM Win32_ComputerSystem WHERE Model LIKE "%EliteBook 840 G3%"
  5. In der Gruppe HP EliteBook 840 G3 folgende Schritte vom Typ Install Application einfügen
    1. Install Conexant HD Audio Driver
      1. Options > Continue on error aktivieren
    2. Install HP Hotkey Support
    3. Install HP lt4120 Snapdragon X5 LTE
    4. Install HP Wireless Button
    5. Install Intel Wireless Bluetooth
      Upgrade-022
  6. Die Schritte Windows Update aktivieren
  7. Nach dem Schritt Windows Update (Post-Application Installation) folgenden Schritt einfügen
    1. Type: Run Command Line
    2. Name: Set Power Scheme Balanced
    3. Command line:
      powercfg.exe /SETACTIVE 381b4222-f694-41f0-9685-ff5bb260df2e

      Upgrade-035

Die Gruppe Rollback

  1. Den Schritt Set Power Scheme Balanced an die letzte Stelle kopieren
    Upgrade-036
  2. Fenster mit OK schließen

Windows 7 auf Windows 10 upgraden

  1. CLIENT01 starten und als INTERN\Administrator anmelden
  2. Start > Ausführen > \\MDT01\OSDProd$\Scripts\LiteTouch.vbs
    Upgrade-037
  3. Windows Deployment Wizard
    1. Task Sequence
      1. Windows 10 Enterprise x64 Version 1511 Upgrade > Next
        Upgrade-038
    2. Credentials
      1. User Name: osd_build
      2. Password: Password1
      3. Domain: intern.einfaches-netzwerk.at > Next
        Upgrade-039
    3. Ready > Begin
      Upgrade-040
  4. Die Task Sequence startet
    Upgrade-048
  5. Dateien werden kopiert
    Upgrade-042
  6. Features und Treiber werden installiert
    Upgrade-043
  7. Einstellungen werden konfiguriert
    Upgrade-044
  8. Die Upgrade Task Seuqence ist abgeschlossen > Finish
    Upgrade-051
  9. Gott-sei-Dank, meine Dateien sind da, wo ich sie vorher gehabt habe
    Upgrade-052
  10. Der Windows.old-Ordner
    Upgrade-054

 

Fertig!