homeservicesinformationsoftwaressolutionsadvertisingcontact


Part 1 Tips:

Q1. Increasing the capacity of Start Menu. How do I add more programs to the Start Menu?
Q2. How do i make windows "Explorer" remember its own settings?
Q3. How do i squeeze performance out of my hard disk?
Q4. What do i do when i face a problem with my computer?
Q5. How do I Change the Picture that Appears on the XP Startup Screen?
Q6. How do I Speed Up Boot and Shutdown Times?
Q7. How do I Customize the Way I start and Shutdown Windows?

Q8. How do I Remove Windows Messenger, Wordpad and the rest of the components?
Q9. What is PowerDesk for Windows Explorer?
Q10. How do i Protect all the information on my PC from prying eyes?


Go to Part 2 Tips >

Windows XP
1. Increasing the capacity of Start Menu. How do I add more programs to the Start Menu?
By default, the "Start Menu" in Windows XP displays six programs, allowing you to launch them directly form the menu. You can change the number of programs displayed here. Go to "Start" and right click on the blank space above the "Programs" menu. Select "Properties". Click on the "Customize" button next to the "Start menu" description. Under the "Programs" option, you will find a dropdown list, this allows you to define the number of programs that you want on the "Start menu". A maximum of 30 is allowed. Though 30 will be impractical, you can certainly extend the capacity of the "Start menu" from 6 to 8 or 10, allowing you to launch more programs quickly from the "Start menu".
Back to top>
Windows XP
2. How do i make windows "Explorer" remember its own settings?

One of the most common annoyances users have with a lot of different software products is their inability to remember their state from session to session. For example, how many times have you selected the Details view in Explorer, only to find that it has been turned back to Icons or Tiles the next time the folder is opened?

For the most part, Explorer's apparent inability to remember settings is fairly easy to fix. All that is required is an understanding of the battle between Microsoft's default settings, your most recent choices, and the preferences you wish to make permanent.

There are two ways to save most of your preferences in Explorer:

Setting defaults for all new folders

Choose the icon size, sort order, and—if using the Details view—the column widths and positions you want to keep as the defaults. Then, go to Tools > Folder Options > View tab, and click Apply to All Folders. The settings you've set for the current folder will be used for all newly-opened Explorer and single-folder windows.

The only exception is if you've configured individual folders to remember their settings, as follows:

Remembering settings for individual folders

Go to Tools > Folder Options > View tab, and turn on the Remember each folder's view settings option. With this option enabled, Explorer will temporarily save the settings for approximately 30 of the most recently viewed folders. These saved settings will override the defaults (set as described above), at least until Explorer forgets them.

Your choices are stored in the Registry rather than in the folders themselves, which not only explains the limit on the number of folders Explorer can remember, but exposes a rather annoying flaw in the system. Say you choose the view settings for a folder called Lenny. When you close and reopen Lenny right away, your settings will remain. However, if you rename the Lenny folder to, say, Karl, it will instantly revert to Explorer's defaults and forget the settings you made only seconds earlier.

Back to top>
Windows XP
3. How do i squeeze performance out of my hard disk?

Your hard disk is more than just a storage device; it's used to hold your operating system and to supplement your system's memory. The speed and configuration of your hard disk is a major factor in your computer's performance, not to mention its reliability and security.

a. Defrag your hard disk

The best way to ensure maximum performance from your drive is to regularly (weekly or bi-weekly) defragment it (also called optimizing). Figure 5-3 shows how frequent use can cause files to become fragmented (broken up), which can slow access and retrieval of data on the drive, as well as increase the likelihood of lost data.

To defragment your drive, run the Disk Defragmenter (dfrg.msc), which rearranges the files on your hard disk to make them contiguous (not broken into pieces). It also defragments the free space, and optionally places the files you access more frequently (such as programs and recently modified documents) at the start of the drive and less frequently accessed files at the back of the drive. If you're compulsive about disk defragmentation, superior alternatives to Disk Defragmenter include Norton Speed Disk (included with Norton Utilities, http://www.symantec.com) and Diskeeper (http://www.executive.com/).

b. Keep an Eye on Prefetch

Prefetch is a new feature in Windows XP that stores specific data about the applications you run, in order to help them start faster. Prefetch is an algorithm that helps anticipate cache misses (times when Windows requests data that isn't stored in the disk cache), and stores that data on the hard disk for easy retrieval.

This data is located in \Windows\Prefetch, and, as the theory goes, periodically clearing out the data in this folder (say, once a month) will improve performance. As new applications are subsequently started, new prefetch data will be created, which may mean slightly reduced performance at first. But with older entries gone, there will be less data to parse, and Windows should be able to locate the data it needs more quickly. Any performance gains you may see will be minor, but those wishing to squeeze every last CPU cycle out of their computer will want to try this one

c. Choose the Right File System

The filesystem is the invisible mechanism on your hard disk that is responsible for keeping track of all the data stored on the drive. Think of the filesystem as a massive table of contents, matching up each filename with its corresponding data stored somewhere on the disk surface. Windows XP supports three different filesystem types:[6]

[6] There's actually a fourth type, CDFS, used by CD-ROMs.

FAT (File Allocation Table, 16-bit)

FAT is used for all drives under 512 MB, including floppy and ZIP disks. The largest drive supported by the FAT filesystem is 2GB, which is why older drives larger than 2GB were often divided into several partitions.

FAT32 (File Allocation Table, 32-bit)

Designed to overcome the 2 GB partition limit with the FAT system, FAT32 is supported by newer operating systems. In addition to the support for larger drives, it also supports smaller file clusters (described later), so it's more efficient than FAT.

NTFS (NT Filesystem)

NTFS was designed from the ground up to completely replace FAT/FAT32. It supports encryption, compression, and robust security,[7] and is typically more reliable than FAT/FAT32 as well.

[7] The encryption and security features of NTFS are discussed in Chapter 8. NTFS compression is discussed in Section 5.2.5, later in this chapter.

If Windows XP is the only operating system on your computer, you should be using NTFS—no question. The only compelling reason to use another filesystem is if you have a dual-boot setup with an earlier version of Windows, in which case you'd need to choose a filesystem recognized by all OS's on your computer. See the "File Systems and Multiple Drives" sidebar for more information. Table 5-1 shows which filesystems are supported by all recent versions of Microsoft Windows.

d. Optimize Virtual Memory and Cache Settings

One of the most frustrating and irritating things about Windows is the way that it can seize up for several seconds with seemingly random, pointless disk activity. This is caused by the way that Windows handles disk virtual memory by default.

Normally, Windows loads drivers and applications into memory until it's full and then starts to use part of your hard disk to "swap" out information, freeing up more memory for higher-priority tasks. The file that Windows uses for this type of "virtual memory" is the paging file (a.k.a. swap file), pagefile.sys, and is stored in the root folder of your hard disk.

Because your hard disk is so much slower than your physical memory, the more Windows does this swapping, the slower your computer will be. Naturally, adding more memory will reduce Windows' appetite for virtual memory. But regardless of the amount of installed physical memory in your system, there are always things you can do to improve virtual memory performance.

Windows' defaults here are rather conservative and can fortunately be modified for better performance. It's important to realize, though, that some experimentation may be required to achieve the best configuration for your setup. Different hardware, software, and work habits require different settings; those with ample hard disks, for instance, can afford to devote more disk space to virtual memory, while others may simply wish to place a cap on the disk space Windows consumes.

One of the reasons the default settings yield such poor performance is that the swap file grows and shrinks with use, quickly becoming very fragmented (as illustrated by Figure 5-3, earlier in this chapter). The first step is to eliminate this problem by setting a constant swap-file size.

Note that making the swap file constant will also result in a more constant amount of free disk space. If your hard disk is getting full, consider this solution to restrict Windows from using up every bit of free space:

  • Double-click the System icon in the Control Panel, choose the Advanced tab, and click Settings in the Performance section. Choose the Advanced tab here, and then click Change. You'll see the Virtual Memory window.
  • The virtual memory settings are set for each drive in your system independently. If you have only one drive, virtual memory will be enabled for that drive. If you have more than one drive, virtual memory will be enabled, by default, only on the drive on which Windows is installed.

For each drive, you have three choices, all of which should be pretty self-explanatory. The total disk space for all drives is shown at the bottom of the window.

Important: after you've made a change for any drive, click Set to commit the change before moving onto another drive or clicking OK.

To specify a constant size, select Custom size, and then type the same value for both Initial size and Maximum size.

The size, specified in megabytes, is up to you. I typically use three times the amount of installed RAM (e.g., 1536 MB of virtual memory for 512 MB of physical memory), but you may wish to experiment with different sizes for the one that works best for you.

e. Defragment the paging file

You'll need to defragment the paging file at least once for it to remain that way in the future. Here are several ways to accomplish this:

  • If you have Norton Utilities (http://www.symantec.com), you'll be able to optimize the swap file fairly easily using the Speedisk utility. Speedisk is also able to move your swap file to the physical beginning of your partition, which can also theoretically improve performance. The Disk Defragmenter utility that comes with Windows XP (dfrg.msc) is actually a scaled-down version of Norton Speedisk, but it is not capable of defragmenting the swap file.

  • If you don't have software capable of defragmenting your swap file, there are two alternatives. If you have more than one partition or hard disk in your system, start by moving your swap file to a different drive letter (see the previous section for details). Then, run Disk Defragmenter (dfrg.msc) on the partition you wish to hold the swap file permanently, which will set aside a large chunk of contiguous free space. Lastly, move the swap file back to the original partition, making sure its size is set constant.

  • If you don't have a second partition, your other choice is to disable virtual memory temporarily by clicking No paging file and then Set in the Virtual Memory window (see Figure 5-7). After restarting Windows, run Disk Defragmenter (dfrg.msc) to set aside a large chunk of contiguous free space. When you're done, go back to the Virtual Memory window, and re-enable the paging file, making sure to set a constant size.

f. Clear the paging file on shutdown

It's possible to have Windows delete your paging file whenever you shut down Windows. There are three reasons you might want to do this:

  • If you have a multi-boot system, as described, each operating system on your computer will have its own virtual memory settings. If the paging file from one OS is present while the other is running, it may cause a conflict and will certainly waste a lot of disk space.

  • If your paging file becomes corrupted or highly fragmented, Windows may load more slowly (or not at all). Deleting the paging file will force Windows to recreate it the next time it starts, which may alleviate this problem.

  • If you're concerned about the security of your data, it is theoretically possible for a hacker to extract sensitive information from your paging file.

Naturally, if you've gone to the steps to defragment your paging file, as described earlier in this topic, you probably won't want it to be deleted (lest it become fragmented when it is recreated).

Here's how to do it:

  1. Open the Local Security Settings console (secpol.msc). See Chapter 8 for more information on the settings in this window.

  2. Navigate to Security Settings\Local Policies\Security Options.

  3. Double-click the Shutdown: Clear virtual memory pagefile entry on the right.

  4. Select Enabled and then click OK. You'll need to restart Windows for the change to take effect.

g. Increasing Disk Space (or What to Throw Away)

Parkinson's law states that work expands so as to fill the time available for its completion. Along the same lines, it's safe to say that files will quickly expand to fill the amount of available disk space.

Low disk space doesn't just make it harder to store files, however; without ample room for virtual memory (discussed earlier in this chapter), Windows' performance will slow to a crawl. Lower disk space also increases file fragmentation, as Windows scrambles to find places to place the data; this, in turn, greatly lowers performance. Keeping a healthy amount of free disk space is vital to a well-performing system.

Additionally, removing drivers and applications that are no longer used clears more memory and processor cycles for your other applications, which can substantially improve overall system performance.

Even before you install your first application, your hard disk is littered with files from the Windows installation that you most likely don't need. The standard installation of Windows XP puts about 10,000 files in more than 600 folders, consuming more than a gigabyte of disk space.

Whether you need a particular file can be subjective; the 2.5 MB of .wav files that one person might consider excessive might be valued by another. Naturally, it makes sense to be cautious when removing any files from your system. The removal of certain files can cause some applications, or even Windows itself, to stop functioning. It's always good practice to move any questionable files to a metaphorical purgatory folder before committing to their disposal. And I don't have to tell you that routinely backing up your entire hard disk is very important.

What follows are some tips to help you identify the more common files and folders that can be safely removed, as well as those that should be left alone.

Windows XP files that can be deleted:

The following tips apply to files located in your Windows folder or a subfolder thereof. Select Search and then For Files or Folders from the Start Menu, type c:\windows in the Look in field (assuming Windows is installed on drive c:), and type the filename as described later in the Search for files or folders named field. For example, to search for all files with the .tmp filename extension, you would use the asterisk wildcard character, like this: *.tmp.

Note that this is only a guideline; I'm not instructing you to delete all of these files (okay, maybe I am a little). If you're in doubt about a specific file, see the Section 5.2.5.4 section that follows for details on finding out what's inside of most types of files. The following files are typically safe to delete:

  • Any file with the filename extension: *.log, *.old, *.- - -, *.bak, and *.000, *.001, *.002, and so on.

  • Any files with the extensions *.bmp (bitmap files), *.wav (sound clips), and *.avi (video clips). These can take up a great deal of space and usually are superfluous.

  • In the Windows folder only, there are a ton of text files (*.txt), which are essentially "Readme" and log files and can be safely deleted. Double-click any text file to view its contents.

  • Any files or folders found in your \Windows\Temp folder. You won't be able to delete some files in this folder, because they will be in use by whatever applications you may have open. But applications in previous Windows sessions may not have deleted files there, and those types of files tend to accumulate very rapidly. It's not uncommon to find dozens of megabytes of useless files here. If you find files in your Temp folder that have a date and time earlier than the last time you started your computer, you can safely delete them. See Section 4.4.2 for more information on the Temp folder.

Files found elsewhere on your system:

In addition to those files in your Windows folder, there are plenty of files elsewhere that you can consider deleting:

  • There are some unnecessary files in the root directory of your boot drive (usually c:\); these include files with the extensions *.txt, *.prv, *.log, *.old, and *.- - -. Most files with the *.dos extension (except for Bootsect.dos—see Section 5.2.5.3 later in this chapter) are also safe to delete.

  • Other files that can be deleted include Mscreate.dir, an absolutely useless, empty, hidden file created by older Microsoft application installers. There may be hundreds of these empty files on your hard disk.

  • Folders named ~Mssetup.t, msdownld.tmp, WUTemp, or something similar are temporary folders created when some applications or Windows updates are installed. They can all be removed, as long as you've restarted your computer since said installation took place.

  • If you're trying to create more disk space, you can also delete application help files (*.hlp and *.chm) you may never need (as a last resort). Also, many applications include bitmaps (*.bmp), sound clips (*.wav), and video clips (*.avi , *.mov, and *.mpg), which take up enormous amounts of disk space for virtually no reason. To view a video clip before deleting it, just double-click the file icon.

Files NOT to delete:

In your travels, you may encounter some of the following files, all of which should be left alone:

  • Any files in your root directory not mentioned earlier should be left alone. This includes Bootsect.dos, Boot.ini, Ntldr, and Ntdetect.com, all parts of the Boot Manager. You may also see Io.sys, Msdos.sys, and Command.com, if you've set up a dual-boot system with Windows 9x/Me.

  • Be extremely careful with anything in the \Windows, \Windows\System, and \Windows\System32 folders, as they may be vital Windows support files.

  • Your Registry hive files should never be moved or deleted.

  • Any files and folders in your \Program Files or \Windows\MSAPPS directories that have names like Microsoft Shared and Common Files. These files can be used by several applications simultaneously, which is why they haven't been placed in the folders of the applications that put them there.

If in doubt:

Before you delete any questionable file, there are several things you can do to get a better idea of what the file contains:

  • Start by double-clicking a suspicious file to open it in its default application. If you then see the Open With dialog box, it means the specific filename extension has not yet been registered. In that case, your best bet is to drag-drop the file into an open Notepad window.

  • Right-click the file, and select Properties. If the file has a Version tab, it's likely an application, driver, DLL, or other support file. Choose it to view the manufacturer, copyright date, and possibly the application it accompanies.

  • If you're not sure if something should be deleted but want to try anyway, move it to another directory first to see if everything works without it for a week or so. If all is clear, toss it.

  • Check the file's Last Accessed date (right-click it, and select Properties). The more recent the date, the more likely it's still being used. For information on removing a particular application, contact the manufacturer of that application or refer to the application's documentation.

Back to top>
Windows XP
4. What do i do when i face a problem with my computer?

General Troubleshooting Techniques:

Troubleshooting a computer involves more than just whining about it. One of the first things you need to do to solve a problem is to find the right words to describe the problem. You don't know how many people have come to me simply saying, "it doesn't work." I have to prod them to find what they did (or didn't do), whether or not they received an error message, if they saw smoke billowing out of one of their drives, or if the computer simply didn't do what they expected.

Like it or not, most problems are simply caused by poorly written software. As soon as you remove yourself (the user) as a potential cause of the problem, it makes it much easier to track down the real source of the problem and fix it.

Computer problems can come in many forms: error messages, crashes, lock-ups, unexpected results, and corrupted data. A crash is usually attributed by a cryptic error message of some sort (General Protection Fault, Blue Screen of Death, etc.), followed by having the application—or the entire operating system—shut down abruptly. A lock-up is what happens when an application (or Windows) stops responding to the mouse and keyboard; sometimes a lock-up is recoverable (often by pressing Ctrl-Alt-Del or just waiting a few seconds), and sometimes it isn't.

Most troubleshooting requires nothing more than a little reasoning. If you're looking for a chart of every conceivable error message and its cause, you're out of luck: such a thing simply doesn't exist. There is effectively an infinite combination of computer systems, add-on devices, application software, and drivers; unfortunately, some of those combinations can be fraught with headaches. However, Appendix E does have a list of common BSoD (Blue Screen of Death) error messages, typically considered the most extreme you'll encounter.

The most important step—and usually the most difficult—in troubleshooting a computer system is to isolate the problem.

Here are some questions to ask yourself when you're trying to isolate a problem:

Is this an isolated incident, or does this problem occur every time I perform some action?

As much as Microsoft will deny it, crashing is a fact of life on a Windows system, even when using Windows XP (although some users will swear up and down that their systems are "rock-solid").

An isolated incident is often just that, and, if nothing else, is a good reminder to save your work often. On the other hand, if a given error message or crash repeatedly occurs at the same time, in the same place, or as a result of the same mouse click, you need to be aware of that fact if you hope to solve the problem.

Did I install or remove any software or hardware around the time this problem started occurring?

Sudden changes in your computer's behavior are almost never spontaneous; if something suddenly stops working, you can bet that there was a discernible trigger.

Is the problem with a specific application or hardware device, or is Windows at fault?

You can rule out specific applications if the crash or another problem doesn't just occur in one program. You can rule out most hardware by removing or disabling the unnecessary devices attached to your system. And you can rule out Windows by installing a second copy of the operating system on a different drive, as described in Chapter 10.

Did I read the directions?

Unfortunately, a well-designed interface is still something not implemented by many software manufacturers these days, so if you're not getting the results you expect from your word processor, printer, scanner, mouse, web browser, or other hardware device or application, make sure that you have read the directions (and release notes) that accompany such products and that the product in question is installed properly. Also, software manufacturers frequently release updates and fixes, so it's always a good idea to check to see if you have the latest versions of all applications and drivers. See Section 6.3, later in this chapter, for details.

How likely is it that someone else has encountered the same problem I have?

This is often the most useful question to ask, because the odds are that someone else not only has encountered the same problem (anything from an annoying software quirk to a deafening application crash), but has already discovered a solution and written about it in some online forum. For example, there's a Windows XP discussion forum at http://www.annoyances.org for specifically this purpose!

Am I asking the right people?

If you just installed a new version of America Online and now your Internet connection doesn't work, you shouldn't be calling your plumber. On the other hand, nothing compares to trying to convince a technical support representative that the problem you're experiencing is actually their company's fault and not someone else's.

Am I using the latest version of the software or drivers for the product in question?

Most manufacturers routinely place software patches, updated drivers, and other fixes on their web sites. In many cases, the manufacturer has fixed the problem you're having and all that's left to do is download and install the new version.

The last tidbit of wisdom comes from years of experience. Some problems require hours and hours of fruitless troubleshooting and needless headaches. In some cases, it makes more sense to replace the product that's giving you trouble than to try to fix it.

Back to top>
Windows XP
5. How do I Change the Picture that Appears on the XP Startup Screen?

You're not stuck with XP's default splash logo on the startup screen—use any picture or logo of your choosing.

One of the nice things about XP is how malleable it is. Don't like the way it looks? No problem—change it. Take my splash screen, please!

Many people, myself included, would prefer to see a more interesting splash screen (also called the startup screen) than the default gives you on start-up. You can change your splash screen to any of hundreds that have been created, or make one of your own—for example, with your picture or company logo on it.

To choose from already created splash screens, go to http://www.themexp.org and click on Boot Screens. You'll find over a thousand of them, organized by categories such as Sports, TV/Movies, and so on.

Once you've found the image you want to use as your splash screen, download it. It will be downloaded as a .zip file. I create a general folder for all my boot screen files, called C:\Bootscreens, and then for each bootscreen I download I create a new folder—in this instance, C:\Bootscreens\Wild.

It's possible that something will go wrong with your new boot screen, so before making the change, create a System Restore point by choosing Control Panel > Performance and Maintenance > System Restore and following the instructions. If something goes wrong, you can revert to that restore point.

Unzip the contents of the .zip file into the folder. There will be one or more files, including ReadMe files. The boot screen itself, however, will be named ntoskrnl.exe. If you have XP Service Pack 1 installed, you may have to use a different file, named ntoskrnlSP1.exe, that may also be in the downloaded .zip file. Check the documentation of the file you download to make sure. If you're not sure if you have Service Pack 1 installed, it's easy to find out. Right-click on My Computer, and choose Properties> General. Your version of the operating system will be displayed. If you have Service Pack 1, it will say so on that screen.

The ntoskrnl.exe file is an executable file that contains the XP bootscreen. During the boot process, XP executes this file, found in C:\Windows\System32, which in turn displays the bootscreen graphic. So, to change your bootscreen, replace your existing ntoskrnl.exe file with the one you just downloaded. But wait: there's more.

You might think that all you have to do is copy the new ntoskrnl.exe over the existing one and then restart your computer in order for the changes to take effect. That's not quite the case, though. You first have to get around a feature of Windows XP that protects system files from being overwritten. Windows File Protection automatically replaces certain files with the original XP version of the file if they've been replaced, and ntoskrnl.exe is one of those files. However, if you make the change in Safe Mode, Windows File Protection won't kick in and you can safely copy the file.

Windows File Protection protects many other files, not just ntoskrnl.exe. Also included are .dll, .exe, .fon, .ocx, .sys, .tff files, and, depending on your system, other file types such as .ax, .cpl, .cpx, .dll, .exe, .fon,. inf, .ocx, .rsp, .sys, .tff, and .tlb.

Reboot your PC and press F8 immediately to get into Safe Mode. Now go to the C:\Windows\System32 folder and find the ntoskrnl.exe file. Copy it to another folder or rename it as a backup so that you can revert to it when you no longer want to use your new bootscreen, or if something goes wrong when you install the new screen. Now copy the new ntoskrnl.exe file into C:\Windows\System32. (If you have to use the ntoskrnlSP1.exe file, rename it to ntoskrnl.exe first, and then copy it over.)

Reboot your computer again but don't go into Safe Mode this time. Your new splash screen will now appear every time you start your PC. To revert to your old splash screen, repeat the steps, copying your original ntoskrnl.exe file over your new one.

Back to top>
Windows XP
6. How do I Speed Up Boot and Shutdown Times?
Shorten the time it takes for your desktop to appear when you turn on your PC, and make XP shut down faster as well.

No matter how fast your PC boots, it's not fast enough. Here's a hack to help you get to your desktop more quickly after startup, and to let you walk away faster after shutdown.

The quickest way to speed up boot times is to use the free Microsoft utility BootVis.exe. Although it's intended primarily for developers, anyone can use it to analyze their boot times and see where there are slowdowns. More important, the tool will also automatically make system changes to speed up your boot time, so you don't need to go into a lengthy analysis of where your slowdowns are and how to solve them.

Depending on your system and how it's set up, you may see only a moderately faster startup time, or you may speed up boot time dramatically. I've seen reports of improvements ranging from a little over 3 seconds to more than 35 seconds. The improvements I found on my systems were moderate—7 seconds faster on one, and 10 seconds faster on another. Think of all the things you could accomplish with another 10 seconds in the day!

The BootVis utility traces boot time metrics and then displays the results in a variety of graphs showing total boot time, CPU usage, disk I/O, driver delays, and disk utilization. Download it from http://www.microsoft.com/hwdev/platform/performance/fastboot/BootVis.asp and extract it into its own folder. Go to the folder and double-click on BootVis.exe. To analyze how your system boots, choose Trace > Next Boot. (Choose Trace > Next Boot + Driver Delays if you want to trace delays caused by drivers as well as your normal boot sequences.) Tell the program how many times to reboot and run the test (the more times it runs, the more accurate the results, although the longer the test takes to run). Click OK, and your system will reboot. After you log on after the reboot, you'll see this message:

Please WAIT for Bootvis to launch!

Don't do anything yet; the program is working, even though it doesn't appear to be doing anything. After a while, you will see the screen

A series of graphs outline boot activity and loading time. The Boot Activity graph is the most important and details all aspects of the boot, including how much time each boot activity takes. Hover your mouse over an activity, such as Driver, and a balloon tip will appear, telling how much time that activity takes to load. To see the total boot time, hover your mouse over the rectangle at the top of a solid black line, and your total boot time will be displayed in a balloon tip.

The pictures and graphs are pretty, but the truth is, you don't really need them, because the utility will automatically make changes to speed up your boot time. To have the utility speed up your boot time, choose Trace> Optimize System and click Reboot Now when a prompt appears. Your system will shut down, reboot, give you the same initial prompt as when it's analyzing your system, but then alert you that it's reorganizing your boot files for faster startup. When the alert goes away, you can use your computer as you would normally. If you want to determine your increase in boot speed, run BootVis again and compare the new boot time to your previous boot time.

Enable Quicker Startups with a Boot Defragment:

There's another way to speed up XP startup: make your system do a boot defragment, which will put all the boot files next to one another on your hard disk. When boot files are in close proximity to one another, your system will start faster.

On most systems, boot defragment should be enabled by default, but it may not be on yours, or it may have been changed inadvertently. To make sure that boot defragment is enabled on your system, run the Registry Editor and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction

Edit the Enable string value to Y if it is not already set to Y. Exit the Registry and reboot. The next time you reboot, you'll do a boot defragment.

 

I've found many web sites recommending a way of speeding up boot times that may in fact slow down the amount of time it takes to boot up, and will probably slow down application launching as well. The tip recommends going to your C:\WINDOWS\Prefetch directory and emptying it every week. Windows uses this directory as a way of speeding up launching applications. It analyzes the files you use during startup and the applications you launch, and creates an index to where those files and applications are located on your hard disk. By using this index, XP can launch files and applications faster. So, by emptying the directory, you are most likely slowing down launching applications. In my tests, I've also found that after emptying the directory, it takes my PC a few seconds longer to get to my desktop after bootup.

Speed Up Shutdown Times:

It's not only startup times that you'd like to speed up; you can also make sure that your system shuts down faster. If shutting down XP takes what seems to be an inordinate amount of time, here are a couple of steps you can take to speed up the shutdown process:

Don't have XP clear your paging file at shutdown

For security reasons, you can have XP clear your paging file (pagefile.sys) of its contents whenever you shut down. Your paging file is used to store temporary files and data, but when your system shuts down, information stays in the file. Some people prefer to have the paging file cleared at shutdown, because sensitive information such as unencrypted passwords sometimes ends up in the file. However, clearing the paging file can slow shutdown times significantly, so if extreme security isn't a high priority, you might not want to clear it. To shut down XP without clearing your paging file, run the Registry Editor and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Change the value of ClearPageFileAtShutdown to 0. Close the Registry and restart your computer. Whenever you turn off XP from now on, the paging file won't be cleared, and you should be able to shut down more quickly.

Turn off unnecessary services:

Services take time to shut down, so the fewer you run, the faster you can shut down.

Back to top>
Windows XP
7. How do I Customize the Way I start and Shutdown Windows?

There are many small ways that you can control the way you start up and shut down your PC.
This grab bag of four hacks shows you the best of them.

a. Create One-Click Shutdown and Reboot Shortcuts

Turning off or rebooting XP involves a several-step process: click the Start menu, choose Shut Down, and then select Shut Down or Restart. If you want, however, you can exit or reboot much more quickly, by creating a shortcut that enables one-click shutdowns. You can also use the shortcut to customize the shutdown or reboot—for example, by displaying a specific message or automatically shutting down any programs that are running.

First, create a shortcut on your desktop by right-clicking on the desktop, choosing New, and then choosing Shortcut. The Create Shortcut Wizard appears. In the box asking for the location of the shortcut, type shutdown. After you create the shortcut, double-clicking on it will shut down your PC.

But you can do much more with a shutdown shortcut than merely shut down your PC. You can add any combination of several switches to do extra duty, like this:

shutdown -r -t 01 -c "Rebooting your PC"

Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message "Rebooting your PC." The shutdown command includes a variety of switches you can use to customize it. Table 1-3 lists all of them and describes their use.

I use this technique to create two shutdown shortcuts on my desktop—one for turning off my PC, and one for rebooting.

Here are the ones I use:

shutdown -s -t 03 -c "See you later!"
shutdown -r -t 03 -c "You can't get rid of me that quickly!"

Table 1-3. Switches you can use with shutdown

Switch

What it does

-s

Shuts down the PC.

-l

Logs off the current user.

-t nn

Indicates the duration of delay, in seconds, before performing the action.

-c "messagetext"

Displays a message in the System Shutdown window. A maximum of 127 characters can be used. The message must be enclosed in quotation marks.

-f

Forces any running applications to shut down.

-r

Reboots the PC.

b. Automatically Turn On Num Lock, Scroll Lock, and Caps Lock

When you start your PC, Num Lock, Scroll Lock, and Caps Lock don't automatically toggle on. You can automatically turn each of them on or off whenever your PC starts, for all accounts on the PC. As a practical matter, most people probably want to have only Num Lock automatically turned on, but this Registry hack gives you the power to force any combination of keys on or off. Run the Registry Editor and go to HKEY_USERS\.Default\Control Panel\Keyboard.

Find the String value InitialKeyboardIndicators. By default, it is set to 0, which means that Num Lock, Scroll Lock, and Caps Lock are all turned off. Set it to any of the following values, depending on the combination of keys you want turned on or off:

0 Turns off Num Lock, Caps Lock, and Scroll Lock
1 Turns on Caps Lock
2 Turns on Num Lock
3 Turns on Caps Lock and Num Lock
4 Turns on Scroll Lock
5 Turns on Caps Lock and Scroll Lock
6 Turns on Num Lock and Scroll Lock
7 Turns on Caps Lock, Num Lock, and Scroll Lock

Exit the Registry. When you restart, the new setting will take effect.

c. Stop Error Messages from Displaying on Startup

If you constantly see an error message that you can't get rid of—for example, from a piece of software that didn't uninstall properly and continues to give errors on startup—you can disable it from displaying on startup. Run the Registry Editor and go to HKEY_LOCAL MACHINE\SYSTEM\CurrentControlSet\Control\Windows. (This key holds a variety of Windows system settings, such as the location of your system directory.) Create a new DWORD called NoPopupsOnBoot and give it a value of 1. Exit the Registry and reboot for the setting to take effect. To disable it, either delete the DWORD value or give it a value of 0.

d. Give More Time for Processes to Close at Shutdown

When you shut down Windows, XP gives each process, service or application 20 seconds to close before the operating system turns off the computer. If the process, service, or application doesn't shut down within 20 seconds, a dialog box appears, prompting you to either wait 20 more seconds, immediately end the process, service, or application, or cancel shutdown.

If this dialog box appears frequently, you may be running an application, service, or process that often takes more than 20 seconds to close. To solve the problem, you can increase the amount of time that XP waits to display the dialog box so that the dialog box will no longer appear. To do so, run the Registry Editor and go to HKEY_CURRENT_USER\Control Panel\Desktop. Look for the String value WaitToKillAppTimeout. Edit the value by entering the amount of time you want XP to wait before displaying the dialog box, in milliseconds. The default is 20000, or 20 seconds. If you want XP to wait 25 seconds, enter the value of 25000. Exit the Registry and reboot.

Back to top>
Windows XP
8. How do I Remove Windows Messenger, Wordpad and the rest of the components?

Think you can't uninstall Windows Messenger, WordPad and similar components? Think again. This hack shows you how.

Windows has always had a problem with uninstalling software, and it's particularly poor at uninstalling its own utilities, such as WordPad or Windows Messenger. Uninstalling these utilities can free up hard disk space if your hard disk is starting to fill up. And if you never use Windows Messenger, you most likely will want to uninstall it, because the program frequently launches itself automatically even after you've shut it down repeatedly, kind of like Dracula returning from the dead. It won't bother you any longer if you uninstall it.

To remove XP utilities and components, you normally choose Control Panel > Add or Remove Programs > Add/Remove Windows Components to get to the Windows Component Wizard, shown in Figure 2-18. To uninstall a utility or component, just follow the wizard's instructions.

Figure 2-18. The Windows Component Wizard
figs/xph_0218.gif

Ah, but there's a catch. A number of Windows utilities and components—notably Windows Messenger and WordPad—don't show in the Windows Component Wizard, so there's no apparent way to uninstall them. But you can, in fact, remove these components. XP has a Setup Information file that controls what appears in the Windows Component Wizard. If you edit this file, you can force these components to appear in the Wizard, and you can then remove them as you would any others.

To start, use Notepad or another text editor to open the Setup Information file, sysoc.inf, which is generally found in the C:\WINDOWS\INF folder. For safety's sake, make a backup of the file before editing it, so you can revert to it if you need to. You should also set up a System Restore point before making the changes. To set up a System Restore point, choose Control Panel > Performance and Maintenance > System Restore and then follow the instructions.

C:\WINDOWS\INF is a hidden folder, so if you want to view its contents, you will have to enable hidden folders by going into Windows Explorer and choosing Tools > Folder Options > View and choosing Show Hidden Files and Folders.

When you open the file, look for the line describing the program you want to uninstall. Lines in the file have the format:

program=program.dll,OcEntry,program.inf,,numeral

Programs that are uninstallable all have the word hide (or HIDE) embedded in the string. When this word is included in the string, the program won't show up in the Windows Component Wizard. The Pinball game entry, which doesn't show up in the wizard, looks like this:

Pinball=ocgen.dll,OcEntry,pinball.inf,HIDE,7

To force it to show up in the wizard, remove the word hide from the entry that refers to the component that you want to remove. For example, if you want to remove Pinball, edit its entry to this:

Pinball=ocgen.dll,OcEntry,pinball.inf,,7

Save the sysoc.inf file, then run the Windows Component Wizard. The component will now show up in the wizard. Remove it as you would any other component.

Keep in mind that not all of the entries in sysoc.inf are as easy to understand as Pinball and WordPad. For example, if you want to remove Windows Messenger, look for the entry that starts with the text msmsgs. If you want to remove the Accessibility Wizard, look for the entry for AccessOpt.Table 2-4 lists the "uninstallable" programs their entries in the sysoc.inf file.

Table 2-4. "Uninstallable" programs and their sysoc.inf entries

Entry

What entry refers to

AccessOpt

Accessibility Wizard

MultiM

Multimedia components, including Media Player, Volume Control, and Sound Recorder

CommApps

Communications components, including Chat, Hyperterminal, and Phone Dialer

AutoUpdate

Windows Automatic Update

TerminalServer

Terminal Server

dtc

Distributed Transaction Coordinator

dom

COM+

WBEM

Windows Management Instrumentation

Pinball

Pinball game

MSWordPad

WordPad

msmsgs

Windows Messenger

You may run into a few gotchas when trying to remove "uninstallable" components. On some systems, you simply won't be able to remove Windows Messenger, because Windows Messenger won't show up on the Windows Component Wizard even after you edit the sysoc.inf file. And some components, such as Terminal Server, will show up in the wizard if you edit the sysoc.inf file, but the wizard still won't let you uninstall them.

Hide Components You Don't Want to Be Uninstalled:

You can use this same technique in reverse to hide components you don't want to be uninstalled accidentally. Simply put the word HIDE in the proper place in the entry that you don't want to show up in the Windows Component Wizard. For example, if you want to hide the uninstall entry for the fax utility, edit its entry by changing:

Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,,7

to:

Fax=fxsocm.dll,FaxOcmSetupProc,fxsocm.inf,HIDE,7
Back to top>
Windows XP
9. What is PowerDesk for Windows Explorer?

Supplanted by this most powerful utility, Windows Explorer will no longer draw curses or contribute to increased Macintosh sales.

I'm guessing that you have a Leatherman multitool. No hacker worth his weight in solder would leave home without it. In fact, I'll go further and guess that you have at least two. You probably have a large one that you keep in your glove box and a small one that you carry with you at all times, even to weddings (just in case). If I'm correct—or if you're wondering where to buy such a useful tool—then you will love PowerDesk.

PowerDesk is the multitool of utilities. This beast is no mere Swiss Army Knife. There's no unnecessary toothpick, leather punch, or nail file here; it's a pair of vise grips with four screwdrivers, a strong blade, wire cutters, pliers, an Allen wrench, a corkscrew, and a bottle opener. It's the software that those guys on Junkyard Wars would use if they put down their cutting torch and picked up a computer.

OK, maybe I'm being melodramatic, but PowerDesk really is a useful utility for your computer. PowerDesk combines much of the functionality of Windows Explorer, the old Windows File Manager, WinZip, and a host of other programs. If you find yourself with more than one program open for manipulating files, you probably need PowerDesk. While many of the features of PowerDesk are available in Windows XP, PowerDesk puts them all in one convenient location. PowerDesk also runs on older versions of Windows, which may not have the advanced file-handling features that Windows XP has.

PowerDesk is available from VCOM at http://www.v-com.com/product/pd_ind.html. PowerDesk Pro sells on the VCOM web site for $39.95. You can also download an evaluation version that has fewer features.

When you install PowerDesk on your computer, the installer will ask you if you want to associate ZIP and other archive files with PowerDesk. If you already use a ZIP file manager, such as WinZip, you might not want to allow PowerDesk to handle these types by default. After installing PowerDesk, you should not need to restart your computer.

While PowerDesk is a separate application, it is integrated into Windows Explorer, so you have access to many of its features even when you aren't running it. In Windows Explorer, if you right-click with the mouse you will see a submenu called PowerDesk, where you have access to many of PowerDesk's functions.

When you start PowerDesk, you will be faced with a window that looks similar to the one shown in Figure 3-10. As you click around PowerDesk, most of the things you see should look familiar. Those that aren't so familiar are grouped well, so they are easy to find and understand.

Figure 3-10. The PowerDesk main window

Each of the toolbars that shows up in PowerDesk is configurable. Use the Options > Customize Toolbar menu item to modify the toolbars as you wish. The bottom toolbar in Figure 3-10 is called the Launchbar and is similar to the Quick Launch area of the Windows XP Taskbar. You add programs by dragging icons onto the Launchbar and dropping them.

When you restart PowerDesk, you are placed back at the location you were when you left. I find this to be such a simple, yet useful, feature. If you create a shortcut to PowerDesk, you can force it to open at a specific location by putting the name of the directory after the program name in the Target field of the shortcut properties.

PowerDesk has so many features that we could spend an entire chapter of this book describing them, and even then there would be things we'd miss. So, I'm going to give a brief summary of the coolest features and leave the rest as an exercise for the reader:

  • Most of the features of the Windows Explorer are available from the File and Tools menus. You can open, delete, and rename files. You can map network drives, format diskettes, and empty the trash.

  • PowerDesk provides Move To and Copy To icons on the main toolbar, context menu, and File menu for moving and copying files to a specific location. You can recreate this functionality in Windows Explorer without using PowerDesk.

  • The File Finder feature provides many options for finding files on your computer. You can have PowerDesk search for Microsoft Word documents beginning with the word "Hack," modified in the last three days, and containing the word "wireless."

  • PowerDesk has the ability to find and rename a group of files according to parameters that you define. For example, let's say you have a bunch of digital photographs from your trip to Belize. The digital camera doesn't know you went to Belize, and neither does Windows XP. Using PowerDesk, select the files you want to rename and choose File > Rename. PowerDesk shows a list of the files to be renamed and gives you a place to rename the files something like Belize 2003 Vacation.JPG. The first file will be named Belize 2003 Vacation.JPG, the second file will be named Belize 2003 Vacation (1).JPG, and so on. PowerDesk also has a more powerful group-rename feature that uses wildcards and pattern matching to find files and choose their new names.

  • PowerDesk provides a built-in FTP client for transferring files from a remote file server (much like WinFTP). The connection to the remote server appears as if it were just another folder on your computer. PowerDesk FTP can even resume interrupted downloads.

  • You can convert image files between the numerous available formats with File > Convert Picture Format.

  • Security-conscious users will appreciate the Destroy File feature. This feature not only deletes a file from the filesystem, but it also wipes the disk drive where the file existed. Needless to say, using this feature will also prevent you from recovering the file, so don't test it out on your favorite photo from the Belize vacation.

  • If you are truly security-conscious, do not use the Encrypt/Decrypt feature of PowerDesk. Details on the algorithm they use are not available. In the security world, it's common practice to describe how your cryptography works and rely on the strength of the key to protect the data. PowerDesk does allow you to choose 56-bit DES encryption for your data, but 56-bit encryption is the bare minimum these days. Do you want to trust your financial data to the bare minimum? I didn't think so.

  • PowerDesk manages ZIP file archives as well as files that are stored using the older UUENCODE format.

  • For copying files between two locations, use the Dual Pane view. This view displays two independent file browsers side-by-side, so you can easily copy files from one to the other without worrying about other windows getting in your way.

  • If you find yourself managing the same set of files on two different disks, the Compare Folders feature is a great time saver. Select the folder that you want to compare, and let PowerDesk find the other folder and compare the contents.

  • I run a network at home, and not all of our computers run Windows XP. PowerDesk provides a level playing field between the different versions of Windows so that I can always be assured that I have the tools I need on every computer I use.

There is so much more to PowerDesk than the few pages in this book. If the things you've read here interest you, download the evaluation version and try it for yourself.

Back to top>
Windows XP
10. How do i Protect all the information on my PC from prying eyes?

Protect all the information on your PC from prying eyes, using XP Professional's built-in encryption scheme.

If you have Windows XP Pro, you can use the Encrypting File System (EFS) to encrypt your files so that no one else can read them.

Home Edition users won't be pleased to know that EFS isn't available for Windows XP home users.

EFS lets you encrypt only the files and folders of your choice; you can encrypt a single file or folder, or all of your files and folders. Encrypted files and folders show up in Windows Explorer as green, so you can tell at a glance which have been encrypted. You can work with encrypted files and folders transparently. In other words, after you encrypt them, you open them and close them as you normally would any other file. They're decrypted on the fly as you open them, and then decrypted as you close them. You're the only person who can read or use the files. Encryption is tied to your account name, so even other accounts on the same computer won't be able to read or use them, unless you specifically grant access to certain accounts.

Each time you encrypt a file, EFS generates a random number for that file called the file encryption key (FEK). EFS uses that FEK to encrypt the file's contents with variant of the Data Encryption Standard (DES) algorithm, called DESX. (DESX features more powerful encryption than DES.) The FEK itself is encrypted as well, using RSA public key-based encryption.

EFS does have a few minor limitations you should be aware of:

  • EFS works only on NTFS volumes. If you have a FAT or FAT32 volume, you'll have to convert it to NTFS if you want to use EFS

  • EFS won't work on compressed files. You'll have to decompress them if you want to encrypt them. Similarly, if you want to compress an encrypted file, you'll have to decrypt it.

  • EFS can't compress files in the C:\Windows folder or any files marked with the System attribute.

When you work with encrypted files and folders, they seem to behave like any other files on your hard disk. In fact, though, their behavior is somewhat different, and you may notice files you thought were encrypted suddenly become decrypted for no apparent reason. So, before you turn on encryption, you should understand the common actions you can take with encrypted files and folders, and what the results will be.Table 3-5 lists what you need to know.

Table 3-5. How encrypted files and folders behave

Action

Result

Move or copy unencrypted files into an encrypted folder.

The files are automatically encrypted.

Move or copy encrypted files from an encrypted folder to an unencrypted folder.

The files remain encrypted.

Move or copy encrypted files from an encrypted folder to a non-NTFS volume.

The files are decrypted, though you are first given a warning and a chance to cancel the move or copy operation.

Back up files using XP's backup utility.

The backed-up files and folders remain encrypted.

Rename an encrypted file.

The file remains encrypted after it is renamed.

Delete an encrypted file.

The restorable file in the Recycle Bin remains encrypted.

3.7.1 Encrypting Files and Folders

To encrypt a file or folder, right-click on the folder or file and choose Properties > General > Advanced. The Advanced Attributes dialog box appears, as shown in Figure 3-12.

If no Advanced button appears on the Properties dialog box, it means that you aren't using NTFS, so you can't use encryption.

Figure 3-12. Encrypting files or folders using the Advanced Attributes dialog box

Check the box next to "Encrypt contents to secure data." Note that you can't check both this box and the "Compress contents to save disk space" box. You can either compress the item or encrypt it, but not both.

Click OK and then OK again. If you're encrypting a folder, the Confirm Attributes Changes dialog box appears, as shown in Figure 3-13. You have a choice of encrypting the folder only, or encrypting the folder plus all subfolders and all the files in the folder and subfolders. If you encrypt the folder only, none of the files currently in the folder will be encrypted, but any new files you create, move, or copy into the folder will be encrypted.

Figure 3-13. Encrypting the folder only, or all the subfolders and files as well

If you're encrypting a file in an unencrypted folder, the Encryption Warning box will appear, as shown in Figure 3-14. You have the choice of encrypting the file only, or the file and the parent folder. As a general rule, you should encrypt the folder as well as the file, because if you encrypt only the file, you may accidentally decrypt it without realizing it. Some applications save copies of your files and delete the original; in those instances, the files become decrypted simply by editing them. If you encrypt the folder as well, all files added to the folder are encrypted, so the saved file is automatically encrypted. Click OK after you make your choice.

Figure 3-14. Encrypting the parent folder as well as the file

Note that you won't be able to encrypt every file on your system. Files that have the System attribute, as well as files located in C:\Windows and its subfolders can't be encrypted.

Decrypting Files and Folders:

You decrypt files and folders in the same way that you encrypted them. Right-click on the file or folder, choose Properties > Advanced, clear the check from the box next to "Encrypt contents to secure data," and click OK and then OK again.

Letting Others Use Your Encrypted Files:

When you encrypt files, you can still share them with others and let them use them as if they were not encrypted—what XP calls "transparently." You'll be able to share them this way only with others users on the same computer or with others on your network. You designate who can use the files and who can't. To allow specified people to use your encrypted files, right-click on an unencrypted file and choose Properties > General > Advanced. The Advanced Attributes dialog box appears. Click Details. The Encryption Details dialog box appears, as shown in Figure 3-15. It lists all the users who are allowed to use the file transparently. Click Add.

Figure 3-15. The Encryption Details dialog box

The Select User dialog box appears. Choose the user you want to be able to use your encrypted files, and click OK. Only users who have Encrypting File System certificates on the computer will show up on this list. The easiest way for someone to create a certificate is to encrypt any file; that automatically creates a certificate.

Encrypting and Decrypting from the Command Line:

If you prefer the command line to a graphical interface, you can encrypt and decrypt using the cipher.exe command-line tool. To find out the current state of encryption of the directory you're in, type cipher without parameters at a command prompt. cipher tells you the state of the directory. For individual files, it lists a U next to files that are not encrypted, and an E next to those that are encrypted.

When used with parameters, cipher can encrypt and decrypt files and folders, show encryption information, create new encryption keys, and generate a recovery agent key and certificate.

To encrypt or decrypt a folder or file, use the complete path, filename (if you're acting on a file), and any appropriate switches, as outlined in Table 3-6. The /E switch encrypts folders or files, and the /D switch decrypts them. To perform the task on multiple folders or files, separate them with single spaces. For example, to encrypt the \Secret and \Topsecret folders, issue this command:

cipher /E \Secret \Topsecret

Note that you can use wildcards with the cipher command. Using the command line instead of the graphical interface is particularly useful for performing bulk or batch operations—for example, simultaneously encrypting or decrypting multiple folders or files, or types of files within folders. Let's say, for example, you want to encrypt every .doc file in the \Secret and \Topsecret folders, but not touch any other files in those folders. You issue this command:

cipher /E /A \Secret\*.DOC \Topsecret\*.DOC

Table 3-6 lists the most useful command-line switches for cipher. For more help, type cipher /? at the command line.

Table 3-6. Command-line switches for cipher

Switch

What it does

/A

Acts on individual files within folders.

/D

Decrypts the specified folder.

/E

Encrypts the specified folder.

/F

Forces encryption on all specified objects, including those that have already been encrypted.

/H

Displays all files in a folder, including those that have hidden or system attributes. By default, hidden or system attributes are not displayed when using the cipher command.

/I

Continues to perform the specified operation, even if errors are encountered. By default, cipher halts when errors are encountered.

/K

Creates a new file encryption key for the user running cipher. If this option is chosen, all the other options will be ignored.

/R

Generates an EFS recovery agent key and certificate, then writes them to a .pfx file (containing the certificate and a private key) and a .cer file (containing only the certificate).

/S

Performs the operation on the folder and all its subfolders.

/U

Updates the user's file encryption key or recovery agent's key on every encrypted file.

/U /N

Lists every encrypted file and does not update the user's file encryption key or recovery agent's key.

/Q

Lists only basic information about the file or folder.

/W

Wipes data from available, unused disk space on the drive. Normally, when a file is deleted in XP, only the entry in the filesystem table is deleted; the data itself remains untouched until another file overwrites it. This switch deletes all the data in those previously deleted files. It does not harm existing data.

 

Back to top>
Note: Come back and visit this page again. More tips will be available next month.

Part 1 tips | Part 2 tips | Coming Soon for more tips


 



For More Information Contact:

Richerd Ho c/o Computer Solution Trio
Seremban, Negeri Sembilan
Malaysia

Send mail to richerdh@gmail.com with questions or comments about this web site.


HOME | SERVICES | INFORMATION | SOFTWARES | SOLUTIONS | ADVERTISING | CONTACT US


Copyright © 2007 Computer Solution Trio (Co. No. MA0106821-A)