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.

Slides:



Advertisements
Similar presentations
1 Module 7 Configuring the Windows NT Environment.
Advertisements

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.
The Windows Registry Adapted from
Chapter 3: Configuring the Windows Vista Environment.
Registry Analysis What is it? What does it contain?
Hands-On Microsoft Windows Server 2003 Administration Chapter 10 Monitoring and Troubleshooting Windows Server 2003.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 14 Optimizing Windows.
Chapter 5: Configuring Users and Groups. Types of User Accounts Administrator –Unrestricted access to performing administrative tasks –Use sparingly Standard.
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:
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
Hands-On Microsoft Windows Server 2008
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
Application Repackaging - Naushad Ali T Doddamani.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e Chapter 5 Optimizing Windows.
Operating System & Application Files BACS 371 Computer Forensics.
Working with the Windows XP Registry
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Users and Groups Security Architecture Editing Security Policies The Registry File Security Auditing/Logging Network Issues (client firewall, IPSec, Active.
A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e Chapter 5 Optimizing Windows.
COMP1321 Digital Infrastructure Richard Henson February 2012.
Windows 95 requirements l 80386DX or higher machine l at least 4 MB of RAM (8 MB recommended) l mouse l VGA or better monitor l hard drive with at least.
Administering Windows 7 Lesson 11. Objectives Troubleshoot Windows 7 Use remote access technologies Troubleshoot installation and startup issues Understand.
Course ILT Monitoring and management Unit objectives Identify the stages of the Windows startup process Use Windows 2000 Professional and Windows XP utilities.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
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.
September 18, 2002 Introduction to Windows 2000 Server Components Ryan Larson David Greer.
A+ Guide to Managing and Maintaining Your PC, 7e Chapter 14 Optimizing Windows.
1 Microsoft Windows Internals, 4 ed Chapter 4. Management Mechanisms The Registry 謝承璋 2008 年 05 月 07 日.
SIR SONS IN RETIREMENT Computer User Group.
Chapter 4 Optimizing Windows
Managing Windows Server 2008 R2 Lesson 2. Objectives.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 8 Managing and Supporting Windows XP.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
1 Chapter Overview Configuring and Troubleshooting the Display Configuring Power Management Configuring Operating System Settings Configuring and Troubleshooting.
5. Windows System Artifacts Part 1. Topics Deleted data Hibernation Files Registry.
Windows Vista Inside Out Chapter 22 - Monitoring System Activities with Event Viewer Last modified am.
Overview Introduction to Managing User Environments Introduction to Administrative Templates Using Administrative Templates in Group Policy Assigning Scripts.
Windows 7 Inside Out Chapter 21 - Performing Routine Maintenance Last modified
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Chapter 3 Configuring the Windows Server 2008 Environment
Windows Vista Inside Out Chapter 24 – Recovering From an Computer Crash Last modified am.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 23 – The Registry.
Ch 3. File Types and File Extensions File extensions are hidden by default –This prevents people from changing them –It's difficult to tell files with.
1 Windows 98 Ancillary Systems x The Process Scheduler provides system resources. The Windows Driver Model (WDM) allows Windows 98 and Microsoft Windows.
Windows management Unit objectives: Manage the operating system Configure Task Scheduler Manage resources on your computer Participate in a Remote Assistance.
Supporting Windows 9x Chapter 12 Key Terms By Bill Ward.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
IT Essentials 1 Chapter 5 Windows 9x Operating Systems.
Understanding and Using the Registry Chapter Twenty Two.
Managing Services and Registry Chapter 16 powered by dj.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 7 Under the Windows Desktop McGraw-Hill.
 The Registry contains configuration information for Windows.  Newly installed hardware components are updated and reflected in the Registry.
Windows Vista Inside Out Ch 3: Personalizing Windows Vista Last modified am.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
A+ Guide to IT Technical Support, 9th Edition
Chapter Objectives In this chapter, you will learn:
Under the Windows Desktop
Tutorial 13 Windows Registry.
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Lesson 10 Operating System Customization
Windows Under the Hood Chapter 13.
Windows Registry: Introduction
Presentation transcript:

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 directly with hardware – Need to run even when no user is logged on – Run with the System account (which has elevated privileges)

Using the Services Console A MMC snap-in In Computer Management – Or SERVICES.MSC at a command prompt Over 150 services installed in Windows 7

Actions on Services Start, stop, pause, resume, or restart – Pausing and resuming is less drastic than stopping and restarting May avoid cancelling jobs in process Essential services start automatically Some others must be manually started or stopped – Usually because of an error

Service General Properties Startup Types – Automatic (Delayed Start) Starts shortly after the computer starts – Automatic Starts when the computer starts

Service General Properties Startup Types – Manual Doesn't start automatically at startup, starts when needed – Disabled Can't be started

Essential Services Cannot be stopped Stop button grayed out Examples: – Group Policy Client – Plug and Play – Remote Procedure Call (RPC) – Security Accounts Managet (SAM)

Service Log On Properties Most Services run as "Local System Account"

Log On As A Service (not in textbook) The logon account must have the "Log On As A Service" right – Start, SEC – Local Security Policy – Local Policies – User Rights Assignment

Service Recovery Properties When it fails – Take No Action – Restart The Service – Run A Program – Restart The Computer

Dependencies If you stop a service upon which others are dependent, Windows also stops those services But if you start a service that depends on other services, Windows may not start the others

Managing Services from a Command Prompt net start Lists running services net start "service"Starts "service" net stop "service"Stops "service" net pause "service"Pauses "service" net continue "service" Resumes paused "service"

Managing Services from Task Manager Not in textbook

Demo: Process Explorer (not in book) Download Process Explorer v11.33 – Link Ch 10a

I Skipped These Sections Controlling Services With a Script Disable Services for Faster Performance Make Windows Shut Down Services Faster Reset a Broken Service

Tweaking the Registry Chapter 12

Editing the Registry is Dangerous A bad manual change can crash your system – Normally you use Control Panel to update the registry to avoid such disasters

The Registry Includes Information about all installed hardware Resources used by devices List of device drivers to load at startup Settings Windows 7 uses internally File type associations Backgrounds, color schemes Customization of the Start Menu and Taskbar

The Registry Includes Internet and network connections and passwords Settings for applications like Windows Explorer and Internet Explorer Settings and customization for third-party applications

Understanding the Structure of the Registry The registry consists of five root keys – HKEY_CLASSES_ROOT – HKEY_CURRENT_USER – HKEY_LOCAL_MACHINE – HKEY_USERS – HKEY_CURRENT_CONFIG Or HKCR, HKCU, HKLM, HKU, and HKCC

Subkeys Root keys (sometimes called predefined keys), contain subkeys – Subkeys look like folders in Regedit HKCU has these top-level subkeys: AppEvents, Console, Control Panel, … – A root key and its subkeys form a path – HKCU\Console

Values Every Subkey contains at least one value – But it may show (value not set) The default value (often undefined) Values have name, data type, and data

Root Keys HKEY_CLASSES_ROOT – Data relating filename extensions to associated programs HKEY_CURRENT_USER – Settings that apply to the currently logged-on user Group policies from HKEY_USERS\sid – sid is a Security Identifier, a unique number for each user The user's %userprofile%\ntuser.dat file

Finding a SID From a Command Prompt (not in textbook)

Finding SIDs in the Registry

Root Keys HKEY_LOCAL_MACHINE – Non-user-specific configuration data HKEY_USERS – Similar to HKEY_CURRENT_USER, for all users HKEY_CURRENT_CONFIG – Settings for the current hardware profile

Hives A key with all its subkeys and values is called a hive The registry is stored on disk as several separate hive files Hive files are read into memory when the operating system starts (or when a new user logs on)

HiveList HKLM\System\CurrentControlSet\ Control\HiveList

Avoiding Registry Mishaps Registry Editor changes the registry immediately No Undo command No File, Save command

Backing Up Before You Edit Registry Editor's File, Export – Registry Hive format is recommended for backups Because it restores the entire hive exactly BUT if you restore it to the wrong key, it does a lot of damage

.reg Files You can export a registry key in Registration Files format – Creates a.reg file – Can be edited in notepad – Right-click, Merge to insert values into registry

HKLM\System\CurrentControlSet This hive is so important, Windows backs it up To restore this hive, press F8 during bootup and use "Last Known Good Configuration"

Finding Registry Changes Export the entire Registry as a.REG file Make the changes you are interested in, such as in Group Policy Export the Registry again Compare the files with this command – FC /U pre-edit.reg post-edit.reg > reg-changes.reg

Finding Registry Values In Regedit, click Edit, Find Useful to find leftover keys from an application that doesn't uninstall correctly