15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Windows includes a couple of command-line tools to edit the Registry (plus a

lot more in PowerShell). The two that you might need on occasion are reg

and regsvr32.

NOTE If the command-line interface is new to you, you might want to flag

this section and skip it for now, then return to it after reading about the

command line and how it works in Chapter 15, “Working with the

Command-Line Interface.”

The reg command is a full Registry editing tool. You can view Registry

keys and values, import and export some or all of a Registry, and even

compare two different versions of a Registry. The tool is so powerful that it

has multiple levels of help so you can tailor a command to accomplish very

tight Registry edits. For example, typing reg /? brings up a list of 12 specific

operations that you can search for help on, such as reg query /? and reg add

/?.

The regsvr32 command, in contrast with reg, can modify the Registry in

only one way, adding (or registering) dynamic link library (DLL) files as

command components in the Registry. By default, if you run regsvr32 in a

64-bit version of Windows, the 64-bit version runs. This can cause problems

if you’re trying to add a 32-bit DLL to the Registry. To accomplish the latter,

run the regsvr32.exe file in the %SystemRoot%Syswow64 folder.

On the very off chance you’ll ever need to run reg or regsvr32 (either

version), refer to Chapter 15 for how to use the command-line interface

effectively.

The Boot Process

The Windows installation creates a number of specific files and folders that

the OS needs to run. Some of these files and folders are directly on the root of

the C: drive; others can be elsewhere. The best way to remember the

locations of these files and folders and to know their importance to the OS is

by looking at how they interact to boot the system.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!