Operating Systems
Operating Systems
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Roles of an Operating System
▪ All computers rely on an operating system (OS) to
provide the interface for interaction between users,
applications, and hardware.
▪ The operating system boots the computer and
manages the file system.
▪ Almost all modern operating systems can support more
than one user, task, or CPU.
▪ The operating system has four main roles:
Control hardware access
Manage files and folders
Provide user interface
Manage applications
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Characteristics of Operating Systems
▪ Control hardware access
OS automatically discovers and configures PnP hardware
▪ File and folder management
▪ User interface
Command line interface (CLI)
Graphical user interface (GUI)
▪ Application management
Open Graphics Library (OpenGL)
DirectX
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
The Types of User Interface
▪ Command Line Interface ▪ Graphical User Interface
(CLI): The user types (GUI): The user interacts
commands at a prompt. with menus and icons.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Protected Mode
▪ Has access to all memory
▪ Can manage multiple programs simultaneously
▪ Allows the system to use virtual memory
▪ Provides 32-bit access to memory, drivers, and I/O transfers
▪ Each program is assigned a space in memory
▪ Computer is protected from program errors
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Compare Operating Systems
▪ Desktop operating systems:
Microsoft Windows: Windows XP
Macintosh: Mac OS X
Linux: Fedora, Ubuntu, and others
UNIX
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Installing the Operating System
Reasons to perform a clean installation of an OS:
▪ When a computer is passed from one employee to another
▪ When the operating system is corrupted
▪ When a new replacement hard drive is installed in a
computer
Before performing a clean installation:
▪ Back up all data first
▪ Explain to the customer that existing data will be erased
▪ Confirm that all needed data has been successfully
transferred
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Main differences between 32-bit and 64-bit
operating systems
▪ 32-bit operating system
• capable of addressing only 4 GB of RAM
▪ 64-bit operating
• can address more than 128 GB of RAM
• enhanced performance in memory management
• has additional security features
✓ Kernel Patch Protection (KPP), with KPP, third-party
drivers cannot modify the kernel.
✓ mandatory driver signing, with mandatory driver signing,
unsigned drivers cannot be used.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Common architectures used by CPUs to
process data
▪ x86 (32-bit architecture)
• uses a complex instruction set computing (CISC)
architecture to process multiple instructions with a single
request.
• use fewer registers than x64 processors
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Hard Drive Setup Procedures
Operating system setup methods:
▪ Install an OS over a network from a server
▪ Install from a copy of the OS files stored on the hard
drive
▪ Install from OS files stored on CDs or DVDs
Partitioning and Formatting
▪ Hard drive must be logically divided (partitioned)
▪ File system must be created on the hard drive
▪ During the installation phase, most operating systems
will automatically partition and format the hard drive
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Hard Drive Setup Procedures
A technician should understand the process related to
hard drive setup.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Prepare the Hard Drive
▪ The first portion of the installation process deals with
formatting and partitioning the hard drive.
▪ The second portion prepares the disk to accept the file
system.
▪ The file system provides the directory structure that
organizes the user's operating system, application,
configuration, and data files.
▪ Examples of file systems:
The FAT32 file system
The New Technology File System (NTFS)
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Operating system can use one of two file
systems:
▪ File Allocation Table, 32-bit (FAT32): A file system
that can support partition sizes up to 2 TB or 2048 GB.
The FAT32 file system is supported by Windows 9.x,
Windows Me, Windows 2000, and Windows XP.
▪ New Technology File System (NTFS): A file system
that can support partition sizes up to 16 exabytes, in
theory. NTFS incorporates more file system security
features and extended attributes than the FAT file
system.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Create Administrator Account
▪ Setup creates the administrator account with the user
name “administrator”
Change this name to keep the administrator account secure
Only use the administrator account occasionally for critical
system changes
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Check Device Manager for Conflicts
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Disk Management Utility
▪ Used to display information and perform services such
as partitioning and formatting disks in Windows
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Disk Defragmenter
▪ Disk Defragmenter makes files on the hard drive
contiguous and speeds up the reading of files.
▪ To defragment a drive
Double-click My Computer on the desktop
Right-click the drive that you want to optimize
Choose Properties. On the Tools tab, click Defragment Now
▪ Temporary Files are used by many programs
Are designed to be automatically deleted later
Some must be deleted manually. Check these locations:
C:\temp, C:\tmp, C:\windows\temp, C:\windows\tmp,
C:\documents and settings\%USERPROFILE%\local
settings\temp
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Services
▪ Services are a type of application that runs in the
background and waits for requests
Only necessary services should be started
Services may be enabled if clients need them
Services may be stopped for troubleshooting purposes
▪ Four settings, or states, used to control services:
Automatic - Starts when the PC starts
Manual - Administrator must enable or disable the service
Disabled - Administrator may disable or stop a service
Stopped - The state of a service that has been disabled
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Dual-Boot Process
▪ There is a dual-boot process for multiple operating
systems on a computer.
▪ During the dual-boot process:
The boot.ini file indicates that more than one OS is present
You are prompted to choose the OS that you want to load
▪ To create a dual-boot system in Microsoft Windows:
More than one hard drive or a hard drive with more than one
partition
Install the oldest OS on the primary partition or the hard drive
marked with an active partition
Install the second OS on the second partition or hard drive
The boot files are automatically installed in the active partition
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 27
The Windows Registry
▪ Recognized by distinctive names, beginning with
HKEY_
▪ Every setting in Windows is stored in the registry
▪ Changes to the Control Panel settings, File
Associations, System Policies, or installed software are
stored in the registry
▪ Each user has their own section of the registry
▪ The Windows logon process uses the registry to set the
system to the state that it was in the last time the user
logged in
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 28
The Windows Registry Files
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 29
The NT Kernel and Security Authority
▪ Next, the NT kernel, NTOSKRNL.EXE, takes over
It starts the login file, WINLOGON.EXE
That program starts the Local Security Administration file,
LSASS.EXE (Local Security Administration)
LSASS.EXE is the program that displays the XP welcome
screen
▪ Heart of the operating system
▪ There are few differences between the Windows XP
and the Windows 2000 boot process
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Manipulating Operating System Files
▪ After you have installed Windows, you can use
MSCONFIG for post-installation modifications:
This boot configuration utility allows you to set programs that
will run at startup, and to edit configuration files
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Manipulating Operating System Files
▪ The registry is a database that contains information and
settings for all of the hardware, software, users and
preferences. REGEDIT allows users to edit the registry.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Manipulating Operating System Files
Pressing the F8 key during the boot process opens the
Windows Advanced Startup Options menu, which allows
you to select how to boot Windows.
▪ Safe Mode – Starts Windows but only loads drivers for basic
components, such as the keyboard and display.
▪ Safe Mode with Networking Support – Starts Windows
identically to Safe Mode and also loads the drivers for network
components.
▪ Safe Mode with Command Prompt – Starts Windows and loads
the command prompt instead of the GUI interface.
▪ Last Known Good Configuration – Enables a user to load the
configurations settings of Windows that was used the last time that
Windows successfully started. It does this by accessing a copy of
the registry that is created for this purpose.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 33
Describing Directory Structures
▪ Windows file system naming conventions:
Maximum of 255 characters may be used
Characters such as a period (.) or a slash (\ /) are not allowed
An extension of three or four letters is added to the filename to
identify the file type
Filenames are not case sensitive
▪ Windows filename extension examples:
.doc - Microsoft Word
.txt - ASCII text only
.jpg - graphics format
.ppt - Microsoft PowerPoint
.zip - compression format
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Describing Directory Structures
▪ Each file has a set of attributes that control how the file
may be viewed or altered.
▪ The following are the most common file attributes:
R - The file is read-only
A - The file will be archived the next backup
S - The file is marked as a system file and a warning is given if
an attempt is made to delete or modify the file
H - The file is hidden in the directory display
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 35
NTFS and FAT32
▪ FAT32 is used where files need to be accessed by
multiple versions of Windows. FAT32 is not as secure
as NTFS
▪ NTFS can support more and larger files than FAT32,
and provides more flexible security features for folders,
files, and sizes
▪ Partitions can be converted from FAT32 to NTFS using
the CONVERT.EXE utility, but not in the reverse
direction
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 36
Device Manager
▪ Used to view settings for
devices in the computer
▪ An exclamation mark
indicates a problem with a
device
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 37
Task Manager
▪ View all applications that
are currently running
▪ Close any applications that
have stopped responding
▪ Monitor the performance of
the CPU and virtual
memory
▪ View all processes that are
currently running
▪ View information about the
network connections
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Event Viewer and Remote Desktop
Event Viewer
▪ Logs a history of events regarding applications,
security, and the system.
▪ These log files are a valuable troubleshooting tool.
Remote Desktop
▪ Allows one computer to remotely take control of
another computer.
▪ This troubleshooting feature is only available with
Windows XP Professional.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 39
Performance Settings
Settings for advanced visuals and for virtual memory
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 40
Add or Remove an Application
▪ Utility to install or uninstall applications
▪ Tracks installation files for future thorough uninstall, if
desired
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Backup the Hard Drive
▪ Backup tools allow for recovery of data.
▪ Use the Microsoft Backup Tool to perform backups.
▪ Establish a backup strategy that will allow for the
recovery of data.
▪ Decide how often the data must be backed up and the
type of backup to perform.
▪ Windows XP uses Volume Shadow Copying, which
allows users to continue to work even as a backup is
taking place.
▪ It is only necessary to make copies of the files that
have changed since the last backup.
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Types of Backups
Clear
Description
marker
Normal Selected files and folders Yes
ITE PC v4.0
Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 44