O'Reilly logo

Windows Vista Security: Praxisorientierte Sicherheit für Profis by Marcus Nasarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

720
|
Chapter 20: Handling Routine Maintenance and Troubleshooting
3. To check for errors and attempt to resolve them, select either or both of the fol-
lowing options, and then click Start:
Automatically fix file system errors
When this is selected, Windows Vista fixes any filesystem errors it finds.
Scan for and attempt recovery of bad sectors
When this is selected, Windows Vista checks for bad sectors and attempts
to recover readable information from them.
4. With the primary disk or other disks that are in use, Check Disk displays a
prompt that asks whether you want to schedule the disk to be checked the next
time you restart the system. Click Yes to schedule this check.
5. When Check Disk finishes analyzing and repairing the disk, click OK.
Optimizing Disk Performance
Another problem that causes disk drives to perform poorly is fragmentation. Frag-
mentation occurs when a file can’t be written to a single contiguous area on the disk,
and the operating system often must write a single file to several smaller areas on the
disk. Having to seek different parts of the disk slows down not only the write pro-
cess, but also the read process. Because fragmentation is the number-one cause of
disk performance problems (second only to disks being packed with too much infor-
mation), Windows Vista uses Disk Defragmenter to defragment disks automatically.
Windows Vista runs Disk Defragmenter automatically at 4:00 a.m. every Sunday by
default. As long as the computer is on at the scheduled runtime, automatic defrag-
mentation will occur. You can cancel automatic defragmentation or modify the
defragmentation schedule by following these steps:
1. Click Start and then click Computer. Under Hard Disk Drives, right-click a drive
and then select Properties.
2. On the Tools tab, click Defragment Now. This displays the Disk Defragmenter
dialog box, shown in Figure 20-21.
3. To cancel automated defragmentation, clear “Run on a schedule” and then click
OK twice. Skip the remaining steps.
4. To modify the defragmentation schedule, ensure that “Run on a schedule” is
selected and then click “Modify schedule.” Use the Modify Schedule dialog box,
shown in Figure 20-22, to set the desired run schedule. For example, you might
want to schedule automatic defragmentation to occur every Thursday at 9:00 a.m.
during your weekly staff meeting.
5. Click OK twice to save your settings.
General Maintenance Tools
|
721
Windows Vista will defragment your disks only if the computer is on,
meaning that the computer isn’t sleeping or powered off. To ensure
that your computer’s disks are defragmented periodically, you’ll want
to use a time when you know you’ll be in the office or at home on the
computer. Because of performance improvements to Windows Vista,
you might not even notice defragmentation is running. Why? Well,
unlike Windows XP and other earlier releases of Windows, Windows
Vista gives whatever programs you are running priority over back-
ground housekeeping tasks such as disk defragmentation.
Figure 20-21. Viewing the Disk Defragmenter configuration
Figure 20-22. Modifying the run schedule

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required