You are on page 1of 76

Maintaining and Troubleshooting

Microsoft Windows
Maintaining and Troubleshooting Microsoft Windows

• Install and Manage Windows Applications


• Manage Windows Performance
• Troubleshoot Windows

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 2
Application Installation and Configuration
• OS requirements:
• Software build for macOS will not run on Windows.
• Some applications might not be supported in newer operating systems.
• System requirements:
• CPU speed
• GPU speed
• RAM
• Disk space
• Installation and deployment:
• Distribute on CD/DVD, run from a USB drive, or download from the Internet.
• Permissions and other security considerations:
• To run an application, the user needs to be granted read/execute permission.
• Ensure that software is only installed from trusted sources.
Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 3
Windows Programs and Features (Slide 1 of 3)

• Applications install to the Program Files directory.


• Data files install to the user home directory or All Users directory.
• 64-bit Windows and 32-bit Applications.
• Applications are installed to the Program Files (x86) directory.
• 64-bit shared system files are stored in %SystemRoot%\system32.
• 32-bit shared system files are stored in %SystemRoot%\syswow64. windows on windows
Deployment: system
• Use setup app for the program to install it. installment for many
devices
• Exit other applications.
• Might need to disable anti-virus software during installation.
• Use Programs and Features to repair or uninstall applications.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 4
Windows Programs and Features (Slide 2 of 3)

• Use Programs and Features to:


• Repair or uninstall applications.
• Enable or disable optional Windows components.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 5
Windows Programs and Features (Slide 3 of 3)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 6
Software Configuration (Slide 1 of 3)

• Configuration is specific to each program.


• Configuration might be through:
• File→Options
• Edit→Preferences
• Help menu

Default Programs applet in Windows 8.1


Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 7
Software Configuration (Slide 2 of 3)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 8
Software Configuration (Slide 3 of 3)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 9
Application and Print Services (Slide 1 of 4)
Service: Windows machines run services to provide functions.
Background: A process that runs without a window and does
not require any sort of user interaction.

• Services provide functionality to Windows such as:


• Logon
• Network browsing Dependencies
• Indexing files C

• Services may be installed by: B

• Windows A

• An application
• Anti-virus
• Database
• Backup software
Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 10
Application and Print Services (Slide 2 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 11
Application and Print Services (Slide 3 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 12
Application and Print Services (Slide 4 of 4)

• The Component Object Model


(COM+, Distributed COM
[DCOM], and ActiveX) used by
developers to link software
applications and leverage
Windows services.
• Data Sources or ODBC Data
enables to control data
connections

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 13
Task Manager (Slide 1 of 7)

• Can end unresponsive application.


• User can end items they started.
• Administrative user must end items not started by the user.
• Can monitor system key resources.
• Open using:
• Ctrl+Shift+Esc.
• Ctrl+Alt+Delete, then select Task Manager.
• Right-click the taskbar and select Task Manager.
• Significant differences between Windows 7 and Windows 8.1/10.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 14
Task Manager (Slide 2 of 7)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 15
Task Manager (Slide 3 of 7)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 16
Task Manager (Slide 4 of 7)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 17
Task Manager – Windows 10 (Slide 5 of 7)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 18
Task Manager (Slide 6 of 7)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 19
Task Manager (Slide 7 of 7)

• t as k l i s t
• t as k l i s t / f i “ memus age gt 150000”
• Shows processes using more than 150 MB
• t as k l i s t / s v
• Shows list of services within each process
• t as k k i l l
• t as k k i l l / pi d pr oc es s _i d
• t as k k i l l / i m i mage_name
• Use / t option to halt all child processes
• Use / f option to terminate without user notification
• Open an administrative level command prompt to terminate Explorer

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 20
Activity

Discussing Windows Application Management

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 21
Activity

Configuring Windows Applications and Services

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 22
System Properties (Slide 1 of 2)

Windows 7 system properties.


Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 23
System Properties (Slide 2 of 2)

Windows 10 Settings
Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 24
Advanced System Properties (Slide 1 of 3)
Remote Assistance: A Windows remote support feature
allowing a user to invite a technical support professional to help
them over a network using chat.
Remote Desktop: A Windows feature that allows a remote user
to initiate a connection at any time.
• Remote settings
• System protection
• Advanced settings

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 25
Advanced System Properties (Slide 2 of 3)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 26
Advanced System Properties (Slide 3 of 3)

• Performance options:
• Configure desktop visual effects
• Virtual Memory
• Foreground/Background processing
priority
• Startup and recovery options
• Environment variables
• User Profiles

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 27
Virtual Memory (Slide 1 of 2)
Virtual memory or Pagefile: An area on the hard disk allocated
to contain pages of memory that is used when there is not
sufficient physical RAM available.

• Windows sets appropriate


level for pagefile.
• Each physical disk has a
pagefile.
• Pagefile doesn’t have to
use contiguous disk space.
• Virtual memory is not as
fast as physical memory.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 28
Virtual Memory (Slide 2 of 2)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 29
Windows Performance Management Tools (Slide 1 of
4)
• Task Manager
• Resource Monitor
• Reliability Monitor
• Performance Monitor

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 30
Windows Performance Management Tools (Slide 2 of
4)

Performance Monitor in Windows 8.1.


Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 31
Windows Performance Management Tools (Slide 3
of 4)
Objects: A data structure in Windows that represents system
resources.

• Objects:
• Processor
• Physical Disk
• Memory
• Paging File
• Counters for each object
• Instances for multiple objects

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 32
Windows Performance Management Tools (Slide 4 of
4)
Data Collector Sets: Windows log files that record information
for viewing in real time or at a later date.
Counter logs: Windows log files that allow you to collect
statistics about resources and can be used to determine system
health and performance.
Trace logs: Windows log files that allow you to collect statistics
about services, including extensions to Event Viewer to log data
that would otherwise be inaccessible.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 33
Activity

Discussing Windows Performance Management

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 34
Event Viewer (Slide 1 of 2)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 35
Event Viewer (Slide 2 of 2)

• Principal Windows log files: • Event types:


• System Log • Information
• Security Log • Warning
• Application Log • Error
• Setup • Critical
• Successful Audit
• Failure Audit

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 36
The System Configuration Utility (Slide 1 of 5)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 37
The System Configuration Utility (Slide 2 of 5)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 38
The System Configuration Utility (Slide 3 of 5)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 39
The System Configuration Utility (Slide 4 of 5)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 40
The System Configuration Utility (Slide 5 of 5)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 41
Troubleshooting Tips for Windows System Issues (Slide
1 of 3)
• For slow performance:
• Wait for these processes to complete.
• If the process or system continues to be unresponsive, you can either restart the
service or kill the task process.
• If killing the process doesn't restore system performance, try restarting the
computer.
• If the service or process becomes unresponsive again after restarting, disable it
and check with the software vendor for any known problems.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 42
Troubleshooting Tips for Windows System Issues (Slide
2 of 3)
• Consider these troubleshooting techniques and solutions:
• Apply updates.
• Defragment the hard drive.
• Examine power management issues.
• Check for underpowered components.
• Disable application startup.
• Disable Windows services and/or applications.
• Perform a security scan.
• Check the configuration of anti-virus software.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 43
Troubleshooting Tips for Windows System Issues (Slide
3 of 3)
• If a service fails to start:
• Try to start the service manually.
• Verify the service has sufficient privileges.
• Verify any dependent services are started.
• Check system files and scan for malware.
• Try reinstalling affected application.
service registration
• Re-register software component using regsvr32.
• Check whether the service is supposed to run.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 44
Troubleshooting Tips for Application Issues (Slide 1 of
2)
• If an application crashes:
• Try to preserve any data being processed.
• Give the process time to become responsive again.
• If necessary, kill the process.
• Try to recover data from temporary files or folders if necessary.
• Attempt to identify whether the cause is in the data file.
• If you can’t determine the cause, try to uninstall then reinstall the application.
• If available, in Programs and Features, use the Repair option.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 45
Troubleshooting Tips for Application Issues (Slide 2 of
2)
• If you are having printing issues:
• Use the printer's property dialog to try printing a test page.
• Open the print queue and check for stalled print jobs.
• Restart the print spooler service.
• Check for any driver updates or known issues.
• Check permissions configured on the printer.
• Check for disk problems on the partition hosting the spool folder.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 46
Blue Screens and Spontaneous Shutdowns (Slide 1 of
2)
BSoD: This indicates an error from which the system cannot
recover. F8

• Use System Restore


• Safe Mode less requirement
• Rollback Driver
• Remove new hardware or program
• Check seating of hardware and cables
• Run diagnostics, c hk ds k, scan for malware
• Record stop error code and search Microsoft Knowledge Base for known
fixes and troubleshooting tips

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 47
Blue Screens and Spontaneous Shutdowns (Slide 2 of
2)

critical error

Blue Screen (of Death or BSoD


Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 48
Troubleshooting Tips for File and Memory Corruption
(Slide 1 of 3)
Windows Resource Protection: A Windows feature that
prevents essential system files, folders, and registry keys from
being replaced to help prevent application and OS failure.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 49
Troubleshooting Tips for File and Memory Corruption
(Slide 2 of 3)
• System File Checker
• sfc /scannow sfc /?
• sfc /scanonce sigverif
• sfc /scanboot

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 50
Troubleshooting Tips for File and Memory Corruption
(Slide 3 of 3)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 51
Troubleshooting Tips for Boot Problems (Slide 1 of 2)
POST: A hardware checking routine built into the PC firmware.
MBR: Sector on a hard disk storing information about
partitions configured on the disk.
Boot sector or VBR: Loads the boot manager, which for
Windows is bootmgr.exe.
BCD: Windows stores information about operating systems
installed on the computer in a boot configuration data store.
bcdedit /?

boot partition OS
system partition,(system volume) windows 10

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 52
Troubleshooting Tips for Boot Problems (Slide 2 of 2)

• Boot process
• Verify the boot process is functioning normally
• Failure to boot/Invalid boot disk
• No OS Found
• boot r ec / f i xmbt
• boot r ec / f i xboot
• boot r ec / r ebui l dbcd
• Graphical interface fails to load/Black screen
• Try pressing Windows+Ctrl+Shift+B to test whether the system is responsive
• Slow boot/Slow profile load
• Check for corrupt profile

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 53
Safe Boot (Slide 1 of 4)

• Safe Mode loads only basic drivers and services needed to start the system.
• You can add in drivers and app services one by one to see where a problem
occurs.
• It’s also helpful when you are running analysis and recovery tools.
• Default display resolution for Safe Mode is SVGA (800x600).
• Different ways to access Safe Mode:
• System Configuration utility if you can sign on to Windows.
• Advanced Boot Options menu in Windows 7.
• Power→Shift + Restart in Windows 8 and 10.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 54
Safe Boot (Slide 2 of 4)

Advanced Boot Options in Windows 7.


Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 55
Safe Boot (Slide 3 of 4)

Windows 10 Startup options

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 56
Safe Boot (Slide 4 of 4)

Windows 10 Startup options Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 57
WinRE and Startup Repair (Slide 1 of 2)

Windows 7 System Recovery Options

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 58
WinRE and Startup Repair (Slide 2 of 2)

new

Windows 10 Startup Troubleshooting—Advanced options.


Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 59
System Restore (Slide 1 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 60
System Restore (Slide 2 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 61
System Restore (Slide 3 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 62
System Restore (Slide 4 of 4)

Roll Back Device


Drivers feature

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 63
System Repair and Reinstall (Slide 1 of 4)

Image: A duplicate of an operating system installation (including


installed software, settings, and user data). file page

• System Restore
• System Repair
• Recovery Image
• Removable hard drive
• 2:1 compression is ideal but may be lower
• Keep image up-to-date or use with separate data backup
• Use with Advanced Boot Option or System Image Recovery

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 64
System Repair and Reinstall (Slide 2 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 65
System Repair and Reinstall (Slide 3 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 66
System Repair and Reinstall (Slide 4 of 4)

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 67
Guidelines for Troubleshooting Windows Issues (Slide
1 of 6) important
• Examine log files and Event Viewer to get information about what has
happened on the system.
• Use the System Configuration Utility to modify system settings and files
that affect the way the computer boots and loads Windows.
• Use Task Manager to attempt to locate a reason for slow system
performance.
• Use Event Viewer to attempt to determine why a service fails to start.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 68
Guidelines for Troubleshooting Windows Issues (Slide
2 of 6)
• If an application crashes:
• Try to preserve any data that was being processed.
• See if the process will become responsive again or if you need to kill the process.
• Attempt to recover data from temporary files or folders if the process was killed.
• Examine Event Viewer logs.
• If the application repeatedly crashes, uninstall then reinstall the application or if
available, use the Repair option in Programs and Features.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 69
Guidelines for Troubleshooting Windows Issues (Slide
3 of 6)
• If there are printing issues not related to printer hardware or network
connectivity, examine Windows settings and check the following:
• Use the printer's property dialog box to try printing a test page. If this is
successful, there must be an application or file-specific problem.
• Open the print queue and check for stalled print jobs.
• Restart the print spooler service.
• Check for any driver updates or known issues.
• Check permissions configured on the printer.
• Check for disk problems on the partition hosting the spool folder.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 70
Guidelines for Troubleshooting Windows Issues (Slide
4 of 6)
• If the user experiences frequent BSoDs:
• Use System Restore or, (if you can boot to Safe Mode), Rollback Driver.
• Remove a recently added hardware device or uninstall a recently installed
program.
• Check seating of hardware components and cables.
• Run hardware diagnostics, c hk ds k , and scan for malware.
• Make a note of the stop error code and search the Microsoft Knowledge Base for
known fixes and troubleshooting tips.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 71
Guidelines for Troubleshooting Windows Issues (Slide
5 of 6)
• If the user experiences file or memory corruption:
• Use sf c to verify system files and restore them from cache if corrupt or
damaged.
• Use the Windows Memory Diagnostics tool to test memory chips for errors.
• If the user is experiencing boot problems, determine the failure point.
• Try booting into Safe Mode to troubleshoot by loading only minimal
required components.
• Try booting from the product media, a repair disc, or a recovery partition.
• Use System Restore to rollback system configuration changes.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 72
Guidelines for Troubleshooting Windows Issues (Slide
6 of 6)
• Rollback updates that are causing issues by uninstalling them.
• Open Programs and Features.
• Select View installed updates.
• Select the update that is causing the problem, then select the Uninstall button.
• Rollback troublesome device drivers.
• Open Device Manager.
• Right-click the device having the problem and select Properties.
• Select the Driver tab.
• Select the Roll Back Driver button.
• If all else fails, determine whether you need to perform a system restore or
reinstall Windows.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 73
Activity

Discussing Windows Troubleshooting

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 74
Activity

Using Windows Troubleshooting Tools

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 75
Reflective Questions

1. Which Windows performance management tools would you expect to use


most in your workplace?

2. Have you ever recovered a severely compromised Windows system? If so,


then describe your experience.

Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org 76

You might also like