View
1.302
Download
1
Embed Size (px)
DESCRIPTION
More info on http://techdays.be.
Citation preview
Windows 8 Client Part 2 "The application internals for IT-Pro’s"
Tom DecaluwéInfrastructure Manager
Macintosh Retail GroupContact me:
[email protected]://trycatch.be/blogs/decaluwet
1. After this session
2. On the booth floor
3. This evening during the ask the experts
4. By email: [email protected]
I want to hear your questions
What we will Cover
Windows 8 Internals Windows 8 Application
Windows 8 UI
New vs Old
Fast and Fluid
Two interfaces one OS
Metro UI
Default
Desktop UI
Quick Pain Relief
+D
Administrative tools
Start screen > Win logo + I > tilesAdministrative tools > yes
Charms Bart
Search
Share
Start
Devices
Settings
*Mouse top or bottom right cornder of the screen* win+c
Settings menu
Variable
Fixed
Switch list
An alternative to ALT + TABWin + tab
Right click start-or-Win + x
Easy shutdown / launch menu
Menu option CommandShut down shutdown.exe /s /t 00Restart shutdown.exe /r /t 00Log off shutdown.exe /lSleep or Hibernate rundll32.exe
powrprof.dll,SetSuspendState
Lock rundll32.exe user32.dll,LockWorkStation
Switch user tsdiscon.exe
Windows 8 App
Windows Store
Sideloading
Custom install
The app interface
Windows apps are special
• Delivered via the App store or sideloading• Launch via dynamic Tiles• Can be placed into background• Full-screen, chromeless interface• Multiple display types and views• Touch as primary input• Are distributed via app packages (.appx)• Store apps require 1024x768• Snap view requires 1366x768
App view
Snap view
Closing an app
Uninstall an application
• Classic app• Win8 app
Apps can be build in
• JavaScript• Visual Basic• Visual C#• Visual C++
What has fundamentally changed
User launches apps
User manages app lifetime
User selects app for foreground
System manages app lifetime
App 1 App 2 App 3Running
Suspended
Terminated
… App N
Apps suspend after a short
delay
App terminated under memory
pressure without
notification
Apps resume instantly from
suspend
Exception to suspend in background
- Audio apps- Upload / download apps- Lock screen app’s
Process lifetime walkthrough
What happens during the suspend1.App gets about 5 sec to save state2.System resources focused on app user is interacting with in
the foreground3. Inactive apps have no impact on battery life or
responsiveness, they are suspended by the OS4.Enables instant switching between apps!
When do apps Terminate
1. System needs more memory2. User switch occurs3. System shutdown4. Apps crash
Apps do not get notified when they are getting terminated
Process state transitions
Running
App
Suspended
App
suspendingTerminated
AppLow
Memory
Code gets to runNo code
runsApp not running
resuming
App gets 5s to handle suspend
App is not notified before
termination
Apps are notified when they have been
resumed
User Launches App
Splash screen
8 stages of an app lifecycle
1.App Launch2.App Activation3.App Suspend4.App Resume5.App Close6.App Crash7.App Visibility8.App Removal
DEMO
Changing how apps are launched
App launch from Start Activate via contracts=> tile, search, share,
etc.
DEMO
vs
Splash screen during activation
• System provided Splash Screen mechanism provides consistent transition to your app• Shown while Windows launches your app• Presented during activation• Developer provides color and image in app manifest• Apps need to present a window within 15 seconds of activation or the app will be
terminated
ApplicationOptional extendedsplash screenapp controled
Launch contract
System controled splash screen
Application launch
DEMO
Always just user
Distribution via App Store
• You must register for a developer account• Pass certification process• Adhere to MS requirements• Free of malware• Technical compliance test
• App is then signed by MS and released to public• You create a download / purchase page
Distribution via sideloading
• Requires Enterprise edition• Target must be domain joined or via sideloading product key• GPO set to “Allow all trusted apps to install”• Apps must be signed• Install via add-appxpackage PowerShell command
The logon interface
Lock screen
Provides basic glance information
1. Time & date2. Calendar update3. Network4. Power
Computer Configuration > Administrative Templates > Control Panel > Personalization. “Do not display the lock screen.”
Start screen
1. Live Tiles = living icons “glance and go”2. PIN3. Group4. Name groups
Pin to start screen
Application PIN Directory / webpage pin
Lock / sign off / Shutdown / reset / sleep1.Shut down, Restart, and Sleep -- are confusing
2.Lock and Sign out
Two accounts, one user , one box
Microsoft Account
Local / Domain account
Why
Use Windows Store
Roam App settings
Roam User settings
Single sign on
Connected Accounts
How
Sign in each app
Link to Microsoft account
On / off / managed sync
The Group Policy is located in Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options and is called Accounts: Block Microsoft accounts.
Computer Configuration, Administrative Templates, Windows Components, Sync your settings.
Secure?
• roam data over WWAN• all user data is encrypted on the client before it is sent to the
cloud• transmitted using SSL/TLS• The most sensitive information, like your credential
information, is encrypted once based on your password and then encrypted again as it is sent across the Internet
Why
• Associate the most commonly used Windows settings with your user account, Saved settings are available on each Windows 8 PC you sign in to
• Windows 8 Metro style app settings and last-used state persist across all Windows 8 PCs linked PCs
• Website and application login credentials are automatically synced across Windows 8 linked PCs
• Automatically sign in to apps and services that use Windows Live ID for authentication
File system
Libraries
File History
Library vs folder
• A folder is a storage area on a drive, just like a real folder in a file cabinet. Windows 8 divides your computer’s hard drives into many folders to separate your many projects. For example, you store all your music in your My Music folder and your pictures in your My Pictures folder.
• A library, by contrast, is a super folder. Instead of showing the contents of a single folder, it shows the contents of several folders. For example, your Music library shows the tunes living in your My Music folder, as well as the tunes in your Public Music folder. (The Public Music folder contains music available to everyone who uses your PC.)
File History
• Previous versions to USB or network• Offline caching• Flexible time interval
Performance of history
Performance => File History, on the other hand, takes advantage of the NTFS change journal. (no need to scan whole drives and folders
File History was designed to be easily interrupted and to quickly resume. This way, File History can resume its operation, without the need to start over when a system goes into sleep mode, a user logs off, the system gets too busy and needs more CPU cycles to complete foreground operations, or the network connection is lost or saturated.
• Uses NTFS journals• Adapts depending on CPU or I/O load
Integrate windows 8 with SkyDrive
Remote Connect for SkyDrive
DEMO
Windows Live
SkyDrive
Libraries
File History
+
+
+
UE-V
Native malware protection
Windows Defender- Defends against all sorts of malware- Real time scanning out of the box
Mitigation features - security development livecycle - Defense Mitigations - UEFI-Secure boot
URL and application reputation- SmartScreen for IE and Windows
Windows 8 Defender
It’s Windows Defender + MS Essentials all in one
Improved user experience
Improved performance.
MS SmartScreen for IE and Explorer
Reputation-based technologies
DEMO
Mobile networks and Wi-Fi
Wi-Fi
Visual
Wi-Fi Direct
Wi-Fi Direct
Wi-Fi Direct offers high bandwidth wireless connectivity between your device and PCs
Wireless connection timers
Windows 7
Windows 8
Metered network
Tells the system to be conservative with bandwidth
Ex. Only downloads critical securityupdates
Wi-Fi Offloading for low power
Device offload enables Connected StandbyKeep network connected while CPU is in deepest idle state
Achieved by offloading functionality to Wi-Fi device
Wi-Fi devices support wake patterns and power-saveWake patterns used for Push Notifications
Wi-Fi driver does auto-Power Save Mode (PSM)
Visuals
DEMO
The new Explorer
FASTER
More Secure
The Evolution
What was being used
The ribbons Collapse the ribbon
Search Tab:
Library Tools:
Picture Tools
Disk tools
Home Tab:
Share Tab:
View Tab
File Tab
All of the approximately 200 commands in the ribbon now have keyboard shortcuts
Copy / past / delete / …
Controle• consolidated the copy experience• pause, resume, and stop each copy
operation • click any open the source or destination
folders
Graphing• speed of data transfer• transfer rate trend• how much data in left to transfer
File collision interface
Simplified resolverone-click, bulk management
Detailed resolverfine-grained control
Picture orientation
Win7
Win8
Task manager
The new Task Manager
Better than ever but it’s still not process explorer
- Simple and advanced view- Startup => no longer in msconfig- App history
What people use it for
Two views
Simplified viewFast and easy to end a
process
Detailed viewMore controle
Detailed view
• Lighting up the resource usage
• Search interface
Grouping • applications• background
processes• Windows processes
Friendly names for background processes • No more svchost.exe
Application grouping
IE 10
Two browsers
Internet Explorer 10- touch and mouse /
keyboard- Full immersive- Smooth scaling
Internet Explorer for the desktop
Metro App IE
1.Do Not Track (DNT) on by default2.Enhanced protected mode3.Active Thumbnails4.Flip ahead feature (off by default)5.Pinning + interactive on desktop6.Plugins (flash, no toolbar,… add-ons)
IE quick swap
To quickly move to IE 10 desktop from metro
DEMO
:(
Cheat sheet
Windows 8 is great!
Share your enthusiasm
END“Part 2”