Where Developers Matter Vista Enable Your Applications Fredrik Haglund, Regional Developer Evangelist

Slides:



Advertisements
Similar presentations
IEs Protected Mode in Windows Vista TM January 20, 2006 Marc Silbey Program Manager.
Advertisements

Working with the Windows Registry Computer Club of the Sandhills November 12, 2012.
Event slides will be posted at:
Presentation Heading – font Arial
Configuring Windows to run Dr.Web scanner remotely.
XP Tutorial 9 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Exploring Your Network Tutorial 9.
Windows7 安全机制 李德虎. Windows7 安全机制 UAC(User Account Control) ASLR(Address Space Layout Randomization) DEP(Data Execute Protection)
Windows Vista Security model and vulnerabilities.
©2006 Microsoft Corporation. All rights reserved. Application Compatibility in Windows Vista and the Application Compatibility Toolkit Micheal Sciacqua.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 5: Configuring Users and Groups. Windows Vista User Accounts User accounts are the primary means of authentication Built-in Accounts –Administrator:
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
Certified for Windows Vista. Introducing the Windows Vista Logo Programs.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Installation Requirements. Agenda Installation requirements Installation options Installing to correct folder locations Installing Windows resources Creating.
File sharing. Connect the two win 7 systems with LAN card Open the network.
FileSecure Implementation Training Patch Management Version 1.1.
6. Configuring & Deploying the Desktop Thomas Lee Chief Technologist – QA.
Working with Applications Lesson 7. Objectives Administer Internet Explorer Secure Internet Explorer Configure Application Compatibility Configure Application.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
Managing User Accounts, Passwords and Logon Chapter 5 powered by dj.
Windows Vista User Account Control (UAC) and Delphi Fredrik Haglund Developer Evangelist.
Operation system(windows) User Accounts. What is a user account?  A collection of information that tells Windows which files and folders you can access,
Raiders of the Elevated Token: Understanding User Account Control and Session Isolation Raymond P.L. Comvalius Independent IT Infrastructure Architect.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
CN1260 Client Operating System Kemtis Kunanuraksapong MSIS with Distinction MCT, MCITP, MCTS, MCDST, MCP, A+
Operating Systems JEOPARDY Computer Repair GeneralConcepts OS Tasks MoreConcepts Using the OS Misc
1 Chapter Overview Configuring and Troubleshooting the Display Configuring Power Management Configuring Operating System Settings Configuring and Troubleshooting.
Testing Applications on Windows Vista TM Edited By Michael Shaw.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 4 Microsoft Windows XP.
CSAS 2009 Running Windows as a Non- Administrator or how I learned to love “User” By: Kasey Dennler.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
Windows XP to Windows 7 using P2V Migration. Agenda Deploying Local P2V Migration for SA Retro Mode Scripts Customize MDT 2010 with Disk2VHD Windows Virtual.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Working with Windows 7 at CERN Michał Budzowski.
Installing SIGNZ on a stand- alone machine. These slides will guide you through the installation of the SIGNZ ‘server’ and ‘client’ components on one machine.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
Mark Aslett Microsoft Introduction to Application Compatibility.
User Account Control Requirements. Agenda Introducing UAC The shield icon UAC manifests Least User Access (LUA) predictor tool Partitioning an application.
Module 6: Configuring User Environments Using Group Policy.
Compatibility and Interoperability Requirements
Sage ACT! 2013 SDK Update Brian P. Mowka March 23, 2012 Template date: October 2010.
Getting Ready for Windows Vista ® Chuck Walbourn SDE, Game Technology Group.
Peter Himschoot Microsoft Regional Director BeLux U2U.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
Security Summit West 2004 Redmond, WA Darren Canavor Longhorn Security.
5 Lesson 5: Installing and Configuring Desktop Applications and Windows Store Apps MOAC : Configuring Windows 8.1.
Developing Windows ® 2000 Certified Applications Richard Clay Program Manager Windows Infrastructure Microsoft Corporation
Package & Deploy. OBJECTIVES Package Deploy Way to package.
Windows Vista: User Account Protection Securing Your Application with Least Privilege User Account Steve Hiskey FUN 406 Lead Program Manager, SBTU - Security.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
CHAPTER 5 MANAGING USER ACCOUNTS & GROUPS. User Accounts Windows 95, 98 & Me do not need a user account like Windows XP Professional to access computer.
Pat Altimore Sr. Consultant Microsoft Corporation SESSION CODE: WCL321.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
Windows Server 2003 群組原則設定與管理 林寶森
Module 6: Configuring User Environments Using Group Policies.
Windows Vista Inside Out Ch 3: Personalizing Windows Vista Last modified am.
Windows 7 SW Logo Kit No cost, Self-test w/ online submission 9 Requirements Less than 30 mins Windows ACK Windows App Certification Kit No cost,
Windows Vista Platform for the next generation of software.
Application Migration Fritz Ohman Alphageek
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
Windows Vista Configuration MCTS : User Account Security.
Working with Windows 7 at CERN
HP LIM 3.0 Installation & Initialization process
TechEd /20/2018 7:32 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Understanding Operating System Configurations
User Account Control in Windows Vista
Windows Operating System
Presentation transcript:

Where Developers Matter Vista Enable Your Applications Fredrik Haglund, Regional Developer Evangelist

Agenda What is User Account Control in Vista? Other Compatibility Issues on Vista Running as Standard User User Interface Changes in Vista Demo – Migration BDE COM and COM with Elevation Signing

Vista Enable Your Applications

What is User Account Control in Vista? Why? How?

UAC – Elevation Demo Over the Shoulder elevation prompt: Elevation prompt:

UAC – Architecture Access Token Split at Login Elevation Prompt Secure Desktop Installer Detection User Interface Privilege Isolation Virtualization/Redirection

UAC – Virtualization (Redirection)

Other Compatibility Issues on Vista Services Isolation IE – Protected Mode Windows Resource Protection 64-bit Windows Vista Networking Version Checking Shell changes Removed components – (WinHelp)

Running as Standard User Do not assume user is an Admin! Follow Guidelines A Standard User can not: Change files in Program Files folders Change files in Windows or System32 folders Change registry under HKLM\Software Change the local machines date and time Install or uninstall Services Register COM Server (globally)

User Interface Changes in Vista DWM – Desktop Window Manager Glass, Thumbnail and Flip 3D Rendering - Black borders, High Dpi, UI themes New UI elements: Shield, FileDialogs, TaskDialog, etc

New in C++/Delphi 2007 for Vista Enable Runtime Theme option Component: TTaskDialog, TFileOpenDialog, TFileSaveDialog Property TCustomForm.GlassFrame Property Application.MainFormOnTaskBar Function TaskMessageDlg Global var UseLatestCommonDialogs

Enable runtime theme

Manifest - requierdExecutionLevel asInvoker – (Default in D2007) highestAvailable requireAdministrator

Manifest content

Redesign Do not open files or registry keys with Write flag Save data, log files, etc. in the right location using SHGetFolderPath CSIDL_PERSONAL { My Documents } CSIDL_APPDATA { Application Data, new for NT4 } CSIDL_LOCAL_APPDATA { non roaming, user\Local Settings\Application Data } CSIDL_COMMON_APPDATA { All Users\Application Data } CSIDL_MYPICTURES { My Pictures, new for Win2K } CSIDL_COMMON_DOCUMENTS { All Users\Documents }

SHGetFolderPath

RunAsAdmin Launch application running as administrator Use Application.Handle to delay elevation if app is minimized. No handle always gives direct foreground elevation.

RunAsAdmin

Using COM class for Admin tasks COM Server must be an EXE EXE must have requireAdministrator to install COM objects correctly Registration of COM Class must add value LocalizedString (and resource string in executable) add key Elevation and value Enabled = 1

Elevated COM calls Use Moniker to create elevated CoClass from User Process

The Shield - SetElevationRequiredState Call function with Button as parameter to add Shield symbol

Test your application – identify problems Classify your application as Standard User, Admin or Mixed. Add application Manifest Redesign functionality User apps should write data to correct locations Split out admin stuff into a separate executable Redesign user interface Add shield to buttons Redesign installer Test again Optionally sign application (Authenticode) Determine whether to pursue the Windows Vista Logo program

Case Exampel: BDE Application Location of Database Files Virtualization Risk of Database Corruption Alias and BdeAdmin – Config Files TDatabase andTSession

Vista Enable Your Applications Demonstrations

Summary

What is User Account Control in Vista? Other Compatibility Issues on Vista Running as Standard User User Interface Changes in Vista Migration

Thank you