Upload
ngi-ngn-online
View
431
Download
1
Embed Size (px)
Citation preview
Windows 10 – Tools, tools, toolsRoel van [email protected]@ngn.nl
Welcome
Roel van Bueren
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”.
What is a Windows Store app?
• A Windows Store app is a new type of application that runs on Windows 8(.1) and 10 devices.
• Based on the Windows Runtime API and differs from traditional desktop apps in its design and in the way users can interact with it on Windows 8(.1) and 10 devices.
There's one glaring flaw in Microsoft's Windows 10 strategy
There's one glaring flaw in Microsoft's Windows 10 strategy
• Universal apps (Windows Store)– Microsoft hasn't given developers any real reason to build Universal Windows Apps.
• Old PC apps work just fine– It's a common sentiment. Thanks to Windows 10's support for legacy apps, it'll run any
existing software without any changes to the code. And if it ain't broke, why fix it? • Nobody uses Windows on phones
– "Microsoft's recent de-emphasis on Windows phones has gutted the promise of Windows 10 Mobile, leaving the primary usefulness of Universal Applications — same app on desktop-laptop-tablet and phone -- in question,"
• 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.
• Downward spiral– But over the long run, it means that developers will gradually find less and less reason to build
for Microsoft's platforms at all.
There's one glaring flaw in Microsoft's Windows 10 strategy
http://www.setupcommander.com
The future of application development
What is a Windows (Phone) Store app?
What is a Universal Windows app?
What is a Universal Windows app?
WindowsApps
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
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.
Wipe and Load or Upgrade
http://www.setupcommander.com
Windows 8.1 Upgrade
MDT 2013 Update 1 Release Notes
• The MDT product documentation published on TechNet is current as of MDT 2013; it has not yet been updated for MDT 2013 Update 1
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 Assessment and Deployment Kit (AD) Overview
Windows Assessment and Deployment Kit (ADK) Overview
Windows Assessment and Deployment Kit (ADK) Overview
Windows Assessment and Deployment Kit (ADK) Overview
Wipe-and-load or Upgrade
http://www.setupcommander.com
Wipe and Load or Upgrade
http://www.setupcommander.com
Upgrade
http://www.setupcommander.com
Upgrade
http://www.setupcommander.com
Upgrade
http://www.setupcommander.com
Upgrade
Upgrade
http://www.setupcommander.com
Upgrade
http://www.setupcommander.com
Upgrade
http://www.setupcommander.com
Windows XP to Windows 10
• Deployment Scenario’s:– Wipe-and-load
Windows 7, 8(.1) to Windows 10
• Deployment Scenario’s:– Wipe and load– Inplace 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
• 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.
Wipe-and-load
Lite Touch Windows PE
Lite Touch Windows PE
CustomSettings.ini
Select a Task Sequence
Computer Name
Applications
Applications
Applications
Applications
Applications
Applications
Applications
Drivers
Drivers
Drivers
Drivers
ENGL Driver Manager
Packages
Packages
Packages
Packages
Packages
Packages
Packages
WServerNews Sept 21
• Microsoft does allow enterprises to manage their own intranet based apps store.
• However, the apps store moves the focus for applications from being system based to user based.
• Microsoft has not made the process to manage apps easy, compared to applications hosted on Windows 7.
WServerNews Sept 21
• Some apps can be uninstalled using the Settings control.
• Other apps can only be uninstalled using PowerShell (but apps that can be uninstalled using the Settings control can also be uninstalled using PowerShell).
WServerNews Sept 21
• Furthermore, uninstalling an app using Settings only uninstalls it for the current user.
• To uninstall it for all existing accounts requires the use of PowerShell.
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
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 System Image Manager
• Windows System Image Manager (Windows SIM) creates and manages unattended Windows Setup answer files in a graphical user interface (GUI).
• Windows SIM does not modify the Windows image itself; Windows SIM is used only to create an answer file. This answer file is used during Windows Setup to apply the settings to the Windows installation.
Windows System Image Manager
Windows System Image Manager
Pin to taskbar
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
Pin to taskbar and/or Start• Const CSIDL_COMMON_PROGRAMS = &H17
Const CSIDL_PROGRAMS = &H2Const CSIDL_STARTMENU = &HB
Dim objShell, objFSODim objCurrentUserStartFolderDim strCurrentUserStartFolderPathDim objAllUsersProgramsFolderDim strAllUsersProgramsPathDim objFolderDim objFolderItemDim colVerbsDim objVerb
Set objShell = CreateObject("Shell.Application")Set objFSO = CreateObject("Scripting.FileSystemObject")Set objCurrentUserStartFolder = objShell.NameSpace (CSIDL_STARTMENU)strCurrentUserStartFolderPath = objCurrentUserStartFolder.Self.PathSet objAllUsersProgramsFolder = objShell.NameSpace(CSIDL_COMMON_PROGRAMS)strAllUsersProgramsPath = objAllUsersProgramsFolder.Self.Path
Pin to Taskbar or Start• ‘VLC media player
If objFSO.FileExists("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VideoLAN\VLC media player.lnk") Then Set objFolder = objShell.Namespace("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VideoLAN") Set objFolderItem = objFolder.ParseName("VLC media player.lnk") Set colVerbs = objFolderItem.Verbs For Each objVerb in colVerbs If Replace(objVerb.name, "&", "") = "Pin to Start" Then objVerb.DoIt
If Replace(objVerb.name, "&", "") = "Pin to taskbar" Then objVerb.DoIt NextEnd If
Pin to Taskbar or Start
• Before:
Pin to Taskbar or Start
• Before:
Pin to Taskbar or Start
• After:
Pin to Taskbar or Start
• After:
Taskbar and Navigation properties
Windows 8.1
Taskbar and Navigation properties
Zenworks and Windows 10
ZENworks and ENGL Imaging Toolkit 10
ZENworks and Windows 10
ZENworks and Windows 10
ZENworks and Windows 10
ZENworks and Windows 10
Questions?