© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.

Slides:



Advertisements
Similar presentations
Windows Under the Hood.
Advertisements

Windows Vista Boot process. All the computer running Windows vista have the same start up sequence: Power-on self test (POST) phase Initial startup phase.
Windows XP Boot Process
DIT314 ~ Client Operating System & Administration CHAPTER 4 CONFIGURING HARDWARE DEVICES AND STARTUP PROCESS Prepared By : Suraya Alias.
计算机系 信息处理实验室 Lecture 5 Startup and Shutdown
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 3 Configuring the Windows Server 2008 Environment.
Configuration Files CGS2564. DOS Config.sys Device drivers Memory configuration Autoexec.bat Run programs, DOS commands, etc. Environment settings File.
Troubleshooting Windows. Failure to boot Is it hardware (OS not found)? Hard drive failure Is the system powered on? Is the power supply OK? Is the system.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 4: Troubleshoot System Startup and User Logon Problems.
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
A+ Guide to Software, 4e Chapter 5 Troubleshooting Windows 2000/XP Startup.
Administering Windows 7
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 15 Tools for Solving Windows Problems.
Tutorial 1 Exploring the Windows 7 Operating System
A+ Guide to Managing and Maintaining Your PC, 7e
McGraw-Hill/Irwin© 2006 The McGraw-Hill Companies, Inc. All rights reserved. 5-1.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e
Operating System & Application Files BACS 371 Computer Forensics.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCT, MCTS, MCDST, MCP, A+
OS and Application Files BACS 371 Computer Forensics.
McGraw-Hill/Irwin© 2006 The McGraw-Hill Companies, Inc. All rights reserved. 8-1.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
Overview Introduction to Windows NT Workstation 4.0. Installing Windows NT Workstation 4.0. Customizing and managing NT Workstation 4.0. Managing Windows.
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 6 Windows NT/2000 Operating Systems.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 15 Installing and Using Windows XP Professional.
A+ Guide to Managing and Maintaining Your PC, 7e
Module 3: Resolving Boot Process Issues. Overview Understanding the Boot Process Using Advanced Boot Options Using the Boot.ini file to Change Startup.
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
Microsoft ® Official Course Module 13 Troubleshooting and Recovering Windows 8.
A+ Guide to Managing & Maintaining Your PC, 8th Edition
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
1 Microsoft Windows Internals, 4 ed Chapter 4. Management Mechanisms The Registry 謝承璋 2008 年 05 月 07 日.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
1 Chapter Overview Understanding the Boot Process Editing the Registry Using Startup and Recovery Tools Safe mode LastKnownGood configuration Advanced.
Chapter 4 Optimizing Windows
Ch 11. Services A service is a specialized program that performs a function to support other programs Many services operate at a very low level – Interacting.
A Look under the Hood Chapter 8 The registry is a database that includes settings for: Device drivers Services Installed applications Operating system.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 8 Managing and Supporting Windows XP.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 14 Managing and Troubleshooting Windows 2000.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 6 Managing and Troubleshooting Windows 2000.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
14 Step-by-Step Instructions for an Upgrade Installation n Prepare for the installation Verify that all devices and applications are Windows 2000 compatible.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
1 Chapter Overview How Windows 98 Works How Windows 2000 Works Managing Windows.
Chapter 3 Configuring the Windows Server 2008 Environment
Windows Vista Inside Out Chapter 24 – Recovering From an Computer Crash Last modified am.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 23 – The Registry.
1 Windows 98 Ancillary Systems x The Process Scheduler provides system resources. The Windows Driver Model (WDM) allows Windows 98 and Microsoft Windows.
Cody, Brian, and Jerry. Contains configuration options for a boot menu. The file is hidden and read-only to protect it from user configuration. Microsoft’s.
Chapter Thirteen Booting Windows XP. Objectives Understand the Windows XP boot process Understand the Windows XP boot process Troubleshoot system restoration.
1 Understanding Hardware Profiles A hardware profile stores configuration settings for a set of devices and services. Microsoft Windows 2000 can store.
®® Microsoft Windows 7 for Power Users Tutorial 1 Exploring the Windows 7 Operating System.
How PC Works PC Works Based on Memory handling The registry Windows boot Windows architecture o systems and subsystem details o PE files  exe and dll.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
BIOS Identification and initialization of hardware devices Power-on self-test (POST) is started Bootmgr.exe starts once POST detects system.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Chapter Objectives In this chapter, you will learn:
Files Used in the Boot Process
Under the Windows Desktop
Tutorial 13 Windows Registry.
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Presentation transcript:

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 2 Learning Outcomes Define the role of the registry in Windows, and back up and modify the registry when needed Describe the Windows startup process Install and manage device drivers Troubleshoot common Windows problems

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 3 Understanding the Registry The Registry Defined – Database of configuration settings for Device drivers Services Installed application programs Operating system components User Preferences

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 4 Understanding the Registry Automatic Registry Changes when: – Windows starts up or shuts down – Windows Setup runs – Changes are mode through a Control Panel applet – A new device is installed – Any changes are made to the Windows configuration – Any changes are made to a user’s preferences – An application is installed or modified – Changes are made to application user preferences

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 5 Adding a new device creates changes in the registry

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 6 Understanding the Registry (cont.) Registry Files (hives) – DEFAULT – NTUSER.DAT – SAM – SECURITY – SOFTWARE – SYSTEM

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 7 Understanding the Registry (cont.) Registry file locations – C:\WINDOWS\SYSTEM32\CONFIG All but NTUSER.DAT

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 8 Figure 7-1 This view of the CONFIG folder shows registry files

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 9 Understanding the Registry (cont.) Registry File Descriptions – SYSTEM What to load at startup Order of loading at startup Settings for drivers, services, OS components – SOFTWARE Settings for installed software Other configuration information – SECURITY Security policies

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 10 Understanding the Registry (cont.) Registry File Descriptions – SAM Security Accounts Manager Local security accounts database – DEFAULT User profile settings Used when no user is logged on Logon screen

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 11 Understanding the Registry (cont.) Registry File Descriptions – NTUSER.DATA User profile for a single user Application preferences, screen colors, and more After a user logs on, that user’s NTUSER.DAT is loaded Saved in top-level personal folder for the user Hidden file

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 12 Figure 7-2 The default user profile used until a user logs on

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 13 Table 7-1 Locations of the Hives within the Registry

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 14 Understanding the Registry (cont.) Viewing and Editing the Registry – View and edit the registry with REGEDIT.EXE – Navigation similar to Windows Explorer – Key: a folder containing settings and other keys – Root keys: five keys at the top of the hierarchy – Value entry: settings within a key – Data type: format of a value entry

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 15 Figure 7-3 The registry root keys

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 16 Figure 7-4 Registry components

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 17 Table 7-2 Contents of Registry Root Keys

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 18 Table 7-3 Windows Registry Data Types (The Short List)

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 19 Understanding the Registry (cont.) Backing up the Registry – Create a Restore Point Backs up the registry and the entire OS – Use REDEGIT to back up all or a portion Use Export Registry File option Double-click on the.REG file to restore

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 20 The Windows Startup Process Phases of the Startup Process – Power-on Self-test – Initial Startup – Boot Loader Windows XP Boot Loader Phase – NTLDR reads BOOT.INI Windows Vista and Windows 7 Boot Loader Phase – BOOTMGR (boot loader) reads BCD – WINLOAD.EXE is OS loader – Detect and Configure Hardware

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 21 The Windows Startup Process Phases of the Startup Process (cont.) – Kernel Loading NTOSKRNL.EXE loads into memory Hardware abstraction layer (HAL) loads System portion of the registry loads Drivers required at startup load Kernel initializes services and drivers and loads other code Kernel switches Windows to GUI mode CSRSS.EXE user-mode code starts PAGEFILE.SYS created and WINLOGON.EXE started

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 22 This Windows 7 screen displays during kernel loading

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 23 The Windows Startup Process Phases of the Startup Process (cont.) – Logon User Logon Program Startup Plug and Play Detection

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 24 Figure 7-5 Log on to Windows 7

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 25 The Windows Startup Process Modifying System Startup – Modifying System Startup for Windows XP BOOT.INI must be modified directly or indirectly System Properties | Advanced | Startup and Recovery

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 26 Figure 7-6 The Advanced System Settings in Windows XP

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 27 The Windows Startup Process BOOT.INI for a Dual-boot System [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Windows XP Professional”/fastdetect multi(0)disk(0)rdisk(0)partition(2)\WINNT=”Windows 2000 Professional”/fastdetect

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 28 The Windows Startup Process Simple BOOT.INI [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Windows XP Professional”/fastdetect

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 29 The Windows Startup Process Modifying System Startup for Windows Vista and Windows 7 – Boot configuration database (BCD) is a hidden part of the registry C:\BOOT\BCD Contains – Locale information – Location of the boot disk – Location of the Windows files – Other startup information

© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 30 The Windows Startup Process Modifying System Startup for Windows Vista and Windows 7 – Directly edit BDC using BCDEDIT – Modify in Startup and Recovery dialog