Upload
roel-van-bueren
View
264
Download
8
Embed Size (px)
Citation preview
MET MICROSOFT DEPLOYMENT TOOLKIT EN SETUP COMMANDER
Windows 10 Deployment
Roel van Bueren: [email protected]
Roel van Bueren
ROVABU Software BV
Roel van Bueren
Setup Commander
Setup Commander
Setup Commander
Setup Commander
Setup Commander
Slideshare
WINDOWS
MDT 2013 Update 2 and the ADK for Windows 10
MDT 2013 Update 1
Microsoft Deployment Toolkit (MDT) 2013 Update 1 Overview
MDT 2013 Update 1
MDT 2013 Update 1
Microsoft Deployment Toolkit (MDT) 2013 Update 1 Overview
Windows Automated Installation Kit
•Windows Automated Installation Kit (Windows AIK or WAIK) is a collection of tools and technologies produced by Microsoft designed to help deploy Microsoft Windows operating system images to target computers or to a VHD (Virtual Hard Disk).
•The WAIK is a required component of the Microsoft Deployment Toolkit.
ADK and WAIK history
•WAIK = Windows Automated Installation Kit•WAIK 1.0 – Windows Vista•WAIK 1.1 – Windows Vista SP1•WAIK 2.0 – Windows 7 •WAIK 3.0 – Windows 7 SP1•ADK for Windows 8•ADK for Windows 8.1•ADK for Windows 10
Windows Assessment and Deployment Kit (ADK) Overview
WINDOWS
Deployment Scenario’s
Windows 7, 8(.1) to Windows 10
•Deployment Scenario’s:-Wipe and load-Inplace upgrade
MDT 2013 Update 1
•Windows 10 is adding in a new deployment scenario, the inplace upgrade scenario, which at this point in time has been tested by millions of Windows Insiders around the globe.
MDT 2013 Update 1
• Windows 10 is adding in a new deployment scenario, the inplace upgrade scenario, which at this point in time has been tested by millions of Windows Insiders around the globe.
http://www.setupcommander.com
Wipe and Load or Upgrade
Windows 8.1 Upgrade
WINDOWS
Wipe-and-load or Upgrade?
Inplace upgrade
•For a start, the inplace upgrade is quite interesting in the way it technically doesn’t require any new infrastructure, no new ADK, no new boot images etc.
Inplace upgrade
•It’s simply running setup.exe with some command line switches, and you can upgrade from Windows 7, Windows 8, and Windows 8.1.
•This scenario also makes sure all apps and data are still there when the machine is upgraded
Inplace upgrade
Inplace upgrade
•You can’t use an reference image that already have applications in it, you have to use the Microsoft media.
•There are restrictions for 3rd party antivirus and disk encryptions, that typically have to be uninstalled
•No upgrade from x86 to x64 (and vice versa)
Inplace upgrade
•Reference images-If you are using the traditional scenarios, you can create reference images with MDT 2013 Update 1, but they can’t be used for the inplace upgrade scenarios (bare metal, computer refresh, and computer replace).
-You also cannot deploy your Windows 7 SP1 reference image, upgrade it to Windows 10, and then run sysprep. Sysprep is not supported on an upgraded machine.
Inplace upgrade
•No upgrade from from MBR to UEFI-some of the security features in Windows 10 do require UEFI
•No upgrade for:-Windows to Go-Boot from VHD, -dual-boot / multi-boot systems.
http://www.setupcommander.com
Wipe and Load or Upgrade
http://www.setupcommander.com
http://www.setupcommander.com
http://www.setupcommander.com
http://www.setupcommander.com
http://www.setupcommander.com
http://www.setupcommander.com
WINDOWS
Still on Windows XP?
Windows XP to Windows 10
•Deployment Scenario’s:-Wipe-and-load
Windows XP to Windows 10
• Deployment Scenario’s:- Wipe-and-load
WINDOWS
Wipe-and-load
CustomSettings.ini
customsettings.ini
Applications
Applications
Applications
Applications
Applications
Drivers
Drivers
Drivers
Drivers
ENGL Driver Manager
Drivers
Packages
Packages
Packages
Packages
Packages
Packages
WINDOWS
Universal Windows Platform (UWP) apps (Windows store apps) versus Windows desktop apps
The Death of the Windows Desktop
The Death of the Windows Desktop
The Death of the Windows Desktop
• “Every time I mention the possibility that Microsoft might kill off the Windows desktop, I get pushback from IT admins, power users, developers, and anyone else who currently relies on complex desktop applications and can't imagine such a future. Folks, it's time to face reality. It isn't a question of whether this will ever happen. It's just a question of when”.
There's one glaring flaw in Microsoft's Windows 10 strategy
There's one glaring flaw in Microsoft's Windows 10 strategy
• Building real stuff for real PC users-Microsoft limits the API platform to build Universal Windows Apps, Wardell says, such that every app runs in what programmers call a "sandbox," meaning that it can't "touch" other apps.
WindowsApps
Get-AppXPackage
Get-AppXPackage
Remove-AppXPackage
• Removes an app package (.appx) from a user account.
Remove-AppXPackage
• Get-AppxPackage -AllUsers | Remove-AppxPackage• Just uninstalling an app for all users does not prevent the app from being installed for new
user accounts on the system
Get-AppXProvisionPackage
• Gets information about app packages (.appx) in an image that will be installed for each new user
Get-AppXProvisionPackage
Remove-ProvisionedAppXPackage
•Removes an app package (.appx) from a Windows image.
Remove-ProvisionedAppXPackage• Get-appxprovisionedpackage -online | remove-appxprovisionedpackage -online
Remove-ProvisionedAppXPackage• Get-appxprovisionedpackage -online | remove-appxprovisionedpackage -online
Deployment Image Servicing and Management Tool (DISM.exe)
•DISM enumerates, uninstalls, configures and updates features and packages in Windows images
•The Commands that are available depend on the image being serviced and whether the image is offline or running (online)
Remove-ProvisionedAppXPackage
Remove-ProvisionedAppXPackage
Remove-ProvisionedAppXPackage
WINDOWS
App-V 5
WINDOWS
Start Menu
Export-StartLayout
Export-StartLayout
Export-StartLayout
Export-StartLayout
LayoutModification.xml
• Import-StartLayout -LayoutPath C:\Temp\LayoutModification.xml -MountPath $env:SystemDrive\
•Copy LayoutModification.xml to C:\Users\Default\AppData\Local\Microsoft\Windows\Shell
LayoutModification.xml
LayoutModification.xml
LayoutModification.xml
LayoutModification.xml
LayoutModification.xml
•Pro:- No need of an Active directory - No need to maintain a reference image VM - Solution of choice for OS Deployment- Start menu can be captured from every where - Changing the start menu every five minutes is now fast and painless
LayoutModification.xml
•Cons - Unsupported (sort of) with Import-StartLayout cmdlet, but supported with the copy process !!… don’t ask…
GPO
GPO
WINDOWS
Microsoft One Drive
@echo offcls
rem --- rem http://www.reddit.com/r/Windows10/comments/3f45ix/easy_way_to_uninstall_onedrive_if_you_arent_using/rem ---
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
echo Closing OneDrive process.echo.taskkill /f /im OneDrive.exe > NUL 2>&1ping 127.0.0.1 -n 5 > NUL 2>&1
echo Uninstalling OneDrive.echo.if exist %x64% (%x64% /uninstall) else (%x86% /uninstall)ping 127.0.0.1 -n 5 > NUL 2>&1
echo Removing OneDrive leftovers.echo.rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1rd "C:\OneDriveTemp" /Q /S > NUL 2>&1rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
echo Removeing OneDrive from the Explorer Side Panel.echo.REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
WINDOWS
Cumulative update for Windows 10: November 10, 2015' (Security Update for Microsoft Windows (KB3105213).
WINDOWS
‘Windows 10 November update‘ or version '1511‘ or Threshold 2 (TH2) or build 10.0.10586
Questions?