Tag Archives: PC

Windows PC Warning – Attack Risk

Your Windows PC may be susceptible to an attack by hackers. If your PC Intel processor was made after 2012 and you haven’t updated your system, any personal information may be compromised. The attack can maneuver around security that is used to protect from Spectre and Meltdown exploits.

There was a July Patch this past Tuesday to fix the bug, and Windows and Intel are urging users to update their computers.

ZDNet blogs, “The bug has been called SWAPGSAttack because it exploits SWAPGS, an instruction for x86/x64 CPUs that switches the system to start addressing the protected memory set aside for operating system kernels. Attackers taking advantage of SWAPGSAttack [CVE-2019-1125] could use it to secretly monitor and steal sensitive information from a targeted machine – all without leaving a trace of an attack against the hardware.”

This bug was eventually found by BitDefender and shared their information to help fix the Tuesday’s Patch.

For help with Windows 10 issues, call us at 1-800-620-5285.  Karls Technology is a nationwide computer service company with offices in many major cities. This blog post was brought to you from our staff at the Mesa Computer Repair Service, if you need computer repair in Mesa, AZ please call the local office at (480) 240-2950.

Scheduling Windows 2000’s Disk Defragmenter

Contrary to what you might have heard, NTFS partitions in Windows 2000 (Win2K) and Windows NT do fragment over time. The system doesn’t write files in contiguous areas on the hard disk. The larger the volume size, the more fragmented your hard disk is likely to become. As a result, it takes longer for the OS to access files and folders because it must perform extra disk reads to collect all the pieces. Even creating new files takes longer because the OS must locate free space scattered across the volume.

What Is Defragmentation?

Disk defragmentation is the process of reassembling files and folders in one location on a volume. The process, which works only on local volumes, consolidates files and folders in one contiguous place. Defragmentation results in improved disk access because it consolidates most—but not all—of the volume’s free space. The time it takes to defragment a volume depends on several factors, including the size of the volume, the amount of fragmentation, the number of files and folders, and the available system resources. In Win2K, you can defragment all three types of supported file systems: FAT, FAT 32, and NTFS.

The Win2K Disk Defragmenter

Win2K includes a limited version of Executive Software’s Disk Defragmenter. After logging on as an administrator, you can access the tool from Start, Programs, Accessories, System Tools, Disk Defragmenter (you can’t execute the tool, dfrgntfs.exe, from the command prompt). The Disk Defragmenter console, which consists of two main areas: The upper area shows all the local volumes available on the disk, and the lower area shows how fragmented the highlighted volume is. The color legend at the bottom of the screen displays the fragmented, contiguous, and system files in red, blue, and green, respectively. The free space appears in white. The green areas, which appear only on NTFS volumes, represent the NTFS system files that you can’t move.

Defragmentation Analysis Reports

The analysis report gives you several pieces of useful information, including volume size, cluster size, and the amount of free and used space. You can also see information on volume, file, pagefile, directory (aka folder), and Master File Table (MFT) fragmentation. I find the average file size, listed under file fragmentation, particularly useful because it helps me determine an optimum cluster size for my volume. If the average file size is small, I’ll keep the cluster size small so I don’t waste disk space.

A good indication of fragmentation is the average fragments per file, listed under the report’s file fragmentation section. The optimum number is 1.00. If your fragments per file are 1.10, then about 10 percent of your files exist in two pieces. A value of 1.20 means 20 percent, and so on. If the fragments per file is 2.0, your files average two fragments each; 3.0 means three fragments each, and so on. The analysis report also shows you which files didn’t defragment. You can print or save the analysis reports in a text file.

The Defragmentation Process

It’s a good idea to analyze the volume before you start the defragmentation process. Doing so will not only let’s you determine whether you need defragmentation, but also lets you compare before and after pictures so that you can see the improvement. As I mentioned earlier, Disk Defragmenter doesn’t consolidate all the free space on a volume; it moves these areas of free space into one location. You can’t completely consolidate free space for several reasons: The pagefile is fragmented; NTFS reserves a portion of free space on NTFS partitions for the MFT; and partitions that contain many folders contribute to free space fragmentation. If the analysis report indicates that you need to defragment your volume, you can proceed with the defragmentation process. Screen 1 shows the analysis and the result of defragmentation in the graphical window on the bottom half of the console.

Defragmentation Tips

You can’t defragment certain system files, including the pagefile and the MFT, because they’re in use during normal Windows operations. One way to defragment a pagefile is to temporarily move it to a different volume. For example, to defragment the existing pagefile on your D: drive:

  1. Run the Disk Defragmenter tool to defrag the D: drive.
  2. Create a new pagefile on a different drive (e.g., the C: drive) and delete the one on the D: drive by setting its size to zero. Reboot your computer.
  3. Recreate the pagefile on the D: drive and delete the one on the C: drive by setting its size to zero.
  4. Reboot your computer one more time.

The system will create the new pagefile on the D: drive in a contiguous space, assuming you have enough contiguous disk space on the drive.

You should analyze your volume after deleting a large number of files or folders. For example, if you delete the I386 folder that contains Win2K source files or other large files such as video files, you should run Disk Defragmenter. You can only run one instance at a time. You should defragment file servers more often than desktop workstations because file servers frequently become fragmented.

Scheduling Disk Defragmenter

You should schedule file-server defragmentation during off-peak hours to minimize the effects on server performance. Unfortunately, Microsoft doesn’t provide an easy way to schedule disk defragmentation in Win2K. Because you can’t execute dfrgntfs.exe from a command prompt, you can’t use a batch file or task scheduler to schedule the process. However, Listing 1, which you can download from Article Info box at the top of this page, contains a Visual Basic (VB) script that runs the tool at scheduled intervals. You can modify the script, which I’ve named dfrgntfs.vbs, to fit your needs. It starts the defragmentation process and closes the window when it’s finished. Use the Scheduled Tasks tool, located in System Tools, to schedule this script. I’ve scheduled the script to run every Friday at 8:00 P.M. Make sure you select the Advanced tab to configure several additional options.


This is an archive of Zubair Alexander’s Scheduling Windows 2000’s Disk Defragmenter (windowsitpro.com) which disappeared from the internet in 2012. We wanted to preserve Zubair Alexander’s knowledge about Windows 2000 software and are permanently hosting a selection of important pages from WindowsITpro.