Operating Systems · Topic 6 of 15
System Utilities and the Registry
Use System Configuration, System Information, Registry Editor, Disk Cleanup and Optimize Drives to manage startup, inspect hardware and maintain Windows.
- 4 min
msconfigcontrols startup and boot options, including Safe boot.- Hiding Microsoft services in msconfig helps isolate a third party problem.
msinfo32is a read only report of hardware and software.
What it is
Besides consoles and monitors, Windows has small utilities for specific jobs. System Configuration changes startup behaviour, and System Information reports on hardware and software.
Registry Editor changes the configuration database. Disk Cleanup and Optimize Drives keep storage healthy.
How it works
System Configuration (msconfig)
System Configuration (msconfig) controls how Windows starts and is mainly a troubleshooting tool.
| Tab | Purpose |
|---|---|
| General | Choose Normal, Diagnostic or Selective startup |
| Boot | Boot options such as Safe boot and a boot timeout |
| Services | List services and hide Microsoft services to find third party causes |
| Startup | Points to Task Manager in current versions |
| Tools | Shortcuts to other utilities |
The Boot tab offers Safe boot choices. Minimal loads only essential drivers and services, Network adds network support, Alternate shell starts a command prompt, and Active Directory repair is for domain controllers. Safe mode is the standard way to remove software or drivers that stop Windows from starting normally.
A common method is to hide Microsoft services, disable the rest, and re enable them in groups until the fault returns. This is called a clean boot approach. Restore Normal startup when done, or the system stays in a limited state.
System Information (msinfo32)
System Information (msinfo32) gives a read only report. It covers the operating system (OS) version, firmware version, processor, memory, hardware resources, components and software environment. Use it to document a machine or to check a firmware mode, and it can export the report to a file.
Registry Editor (regedit)
The registry is a hierarchical database of settings for Windows, drivers, services and applications. Registry Editor (regedit) lets you view and change it.
| Root key (hive) | Holds |
|---|---|
| HKEY_CLASSES_ROOT | File type associations |
| HKEY_CURRENT_USER | Settings for the signed in user |
| HKEY_LOCAL_MACHINE | Settings for the whole computer |
| HKEY_USERS | Settings for all loaded user profiles |
| HKEY_CURRENT_CONFIG | Current hardware profile |
Keys are like folders and values are the settings inside them. Before any change, export the key to a .reg file or create a restore point, so the change can be undone. A wrong edit can stop Windows from starting.
Disk Cleanup
Disk Cleanup (cleanmgr) removes files that are safe to delete, such as temporary files, the Recycle Bin contents, thumbnails and old update files. It frees space, which helps when a drive is nearly full and updates fail. In current Windows versions, Storage settings offer a similar function.
Optimize Drives (defragmentation)
Optimize Drives (dfrgui) maintains storage. On a hard disk drive (HDD), files become fragmented over time, so the read head travels more and performance drops. Defragmentation rearranges the pieces so each file sits together.
On a solid state drive (SSD), defragmenting is not needed and adds wear. For an SSD, Windows runs an operation called TRIM, which tells the drive which blocks are no longer in use. Windows picks the right action for each drive type and schedules it automatically.
Safe working practice
Utilities that change startup or the registry can make a computer unbootable. Make a backup or restore point first, change one thing at a time, and record what you changed.
Do not edit the registry from an unverified source. Export the key first, because there is no undo button in Registry Editor.
What to remember for the exam
msconfigcontrols startup and boot options, including Safe boot.- Hiding Microsoft services in msconfig helps isolate a third party problem.
msinfo32is a read only report of hardware and software.regeditedits the registry, which has five root keys.- Export or back up registry keys before editing.
- HKEY_LOCAL_MACHINE covers the computer. HKEY_CURRENT_USER covers one user.
- Disk Cleanup removes temporary and unneeded files.
- Defragment hard disks. Do not defragment SSDs, which use TRIM instead.
Common mistakes
Leaving msconfig in Diagnostic mode. After troubleshooting, set Normal startup again.
Defragmenting an SSD. It gives no benefit and adds wear. The correct maintenance for an SSD is TRIM.
Editing the registry without a backup. A single wrong value can prevent Windows from loading.
Mixing up the hives. A setting meant for every user belongs under HKEY_LOCAL_MACHINE, not HKEY_CURRENT_USER.
Check yourself
Which tool hides Microsoft services so you can find a third party service that causes a fault?
System Configuration (
msconfig), on the Services tab.What should you do before editing the registry?
Export the key or create a restore point so the change can be undone.
Why is an SSD not defragmented?
It has no moving parts, and defragmenting adds wear without benefit, so Windows uses TRIM instead.
Topic 6 of 15 in Operating Systems
Test yourself on Operating Systems
The full CompTIA A+ 220-1202 question bank has 835 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by CompTIA. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.