1.2 Controlling Your Monitor and Sounds


1.1 Startup and Shutdown

Start up and shut down faster, get yourself a new startup splash screen, and get rid of useless error messages. After you read the hints in this section, you'll never again settle for sitting down at your PC and fumbling for the On button.

1.1.1 Instant Startup

Windows XP seems to take a few light years to start up. Happily, you can change that. The secret? Don't shut down your computer. Instead, put it on Stand By, a kind of deep freeze your PC can recover from almost instantly. A nice bonus of Stand By is that you can leave your programs runningmeaning they're standing at attention when you pull your computer out of hypnosis.

To invoke this handy trance, choose Start Turn Off Computer Stand By (instead of Start Turn Off Computer Turn Off). In Stand By mode, your computer appears to be turned off, but in fact uses a trickle of power to stay just barely on (the system stores everything in its short- term memory, or RAM ). Then, when you use your mouse or keyboard, it springs to life almost instantly rather than going through the normally lengthy startup procedure.

Note: Don't use the Stand By method all the time. When Windows XP shuts down and starts up again, it does various bits of housekeeping that keep it running smoothlylike cleaning out its memory. But it can't perform those chores when your PC is just Standing By, so over time your machine can slow down dramatically. The solution? Every few times, shut your computer down completely.

1.1.2 Instant Startup for Laptops

The downside to Stand By mode is that even though it uses just a smidgen of power, it does continue to suck power. If you use a laptop, leaving it in Stand By for more than 20 minutes or so can dribble you into oblivion. In these cases, set your computer to Hibernate. It'll take your computer a little longer to wake up from Hibernate, but this mode draws considerably less power.

To put your computer in this hibernation state, choose Start Turn Off Computer as you normally would. Then, when the shut down dialog box opens, press Shift to change the Stand By button to a Hibernate button (Figure 1-1). Click it, and your computer appears to go to sleep.

To wake your computer up, press the power buttonmerely jiggling the mouse or pressing a key doesn't do the trick.

Tip: If you have a laptop, you can set Windows XP to automatically slip into Stand By or Hibernate mode when you shut the lida nice way to bypass the Start menu altogether when you want to grab your computer and run to a meeting or class on another floor. Choose Start Control Panel Power Options, and then click the Advanced tab. Under "Power buttons ," the first choice is "When I close the lid of my portable computer"; use the menu to choose Stand By or Hibernate. If your laptop resists slipping into Stand By, see hint Section 10.2.2.

Figure 1-1. Left: The Stand By button changes to a Hibernate button (right) when you press Shift.
Right: To use hibernation, you need a little room on your hard disk because that's where Windows XP stores everything you want to leave open . To find out whether you've got the room, choose Start Control Panel Power Options, then click the Hibernate tabwhich has a "Disk space for hibernation section that does the math for you.

Note: Like Stand By, Hibernate does not run your computer through its normal regime of startup/shutdown exercises. If your machine doesn't go through its paces every few days, it can accumulate gunk in the memory that slows it down. Avoid this irritating sluggishness by doing a full-blown shutdown a couple of times a week.

1.1.3 Nixing the Startup Screen

Every time you start up your PC, Windows XP puts a screen in front of your face that serves no purpose other than giving Microsoft extra advertising. You can easily make this splash screen history by using a little-known Windows XP feature called the System Configuration Utility.

Although hiding this screen won't hasten your PC's start up time, killing the ad can make your morning routine a tad less heraldic. Here's how.

Click the Start button, and then choose Run. In the blank box that appears, type msconfig and then press Enter. When the System Configuration Utility opens, choose the BOOT.INI tab, and then select NOGUIBOOT, as shown in Figure 1-2. Click OK or Apply. A little box pops up asking if you want to restart your computer now, for the changes to take effect immediately, or later. Click "Exit without Restart" if you want to wait. The next time you turn on your PC, the startup routine is pleasingly splash-free.

Note: You can also make this change from the command line , a separate window that lets you type commands directly to the operating system, without using menus or the normal interface.

Figure 1-2. Stopping the Windows XP splash screen from loading on startup is only one of the many ways the System Configuration Utility can help you take control of Windows XP. Sidebar 1-1 explains more about making changes in BOOT.INI, and Section 11.1.5 gives the lowdown on using the Services and Startup tabs to take charge of your operating system.

1.1.4 Changing the Startup Screen

The previous hint told you how to nix the startup screen. But if a blank screen is too minimalist for your taste, you can add a picture instead. BootXP, available from http://www.bootxp.net, lets you choose from hundreds of pics available online, or it can help create your own. Here's how to use it to change your startup screen.

Note: BootXP is shareware , which means you can try it out for free. If you keep using it, there's a $7.95 fee.
  1. Download, install, and run the program .

    When you run BootXP, it starts by asking where you want to store your boot screens. The program comes set to create My Computer C: WINDOWS Resources Bootscreens. Unless you can think of a better place to keep them, click OK to confirm this folder and let BootXP finish launching. Don't be put off if the interface looks confusing at firstit's not that tough to use.

    Troubleshooting with Boot.ini

    The System Configuration Utility lets you make changes to a startup file called boot.ini. By altering the file, you can control which processes run when you fire up the computer. This little program is good to know about, because turning off your startup processes individually is a good way to narrow down certain problems. Figure 1-2 shows you the boot.ini options. Here's what happens when you turn each of them on:

    /BASEVIDEO . This option starts Windows XP using the standard VGA driver instead of your normal video driver. Use it if you're having trouble starting Windows XP due to a problem with a video driver (for example, if your screen doesn't display properly, or you get an error message about a problem with your monitor or video).

    /BOOTLOG . This option logs information about the boot process to the file ntbtlogl.txt, which lives in your My Computer C: Windows folder. Turn on /BOOTLOG if you're troubleshooting startup problems, and then after you've booted , examine the ntbtlogl.txt file for error messages.

    /SAFEBOOT . This option forces Windows XP to start in Safe Mode , which means the system loads the fewest drivers possible (drivers are little programs that help various pieces of hardware attached to your computer work with the operating system). /SAFEBOOT is another handy option when Windows XP isn't starting up properly because it can help you figure out whether a driver is causing the problem.

    When you turn on /SAFEBOOT, you can also choose which version of Safe Mode to use (click one of the buttons next to /SAFEBOOT). In MINIMAL mode, Windows XP loads only the minimum set of drivers necessary to start your computer. If you need to access the Internet or your network when you're in Safe Mode, choose NETWORK mode instead, so that Windows XP loads the minimum set of drivers plus networking drivers. In MINIMUM (ALTERNATE SHELL), Windows XP loads the minimum set of drivers and boots into the command prompt, making this strategy the ideal alternative if Windows XP is causing you so many problems you can'teven view the interface. You can ignore the DSREPAIR option, since it's useful primarily to network administrators.

    /SOS . This option displays the name of each driver as it loads and provides a description of what's going on during the boot process. It also offers other information, including the Windows XP build number, the service pack number, the number of processors on the system, and the amount of installed memory. When you're on the phone with tech support, the agent may ask you to start up this way and read off some information about your PC.

  2. Select the Your Boot Screens tab.

    If you have any graphics or boot screens in My Computer C: WINDOWS Resources Bootscreens, the program displays a list of them.

    If you don't have any boot screens stored, click the Get Boot Screens button to have BootXP search several Web sites that have downloadable boot screens. (If you find any you like, make sure to download them to My Computer C: Windows Resources Bootscreens.)

    Resources Bootscreens, and then, when you open them in BootXP and click Convert To Boot Screen, BootXP converts them to the format Windows XP requires: 640 x 480 pixels and 16 colors.
  3. To choose a new boot screen, click the file in the list, and then from the selection screen that appears, click OK .

    As in Figure 1-3, the program shows the graphic you've chosen on the left side of the screen, and how it looks as a boot screen on the right.

    Figure 1-3. When you preview your boot screen using BootXP, the graphic may appear somewhat distorted . For a clearer view, click Preview Boot Screen. When previewing your boot screen, press Alt-Enter to see the boot screen full size, exactly as it will appear when your PC is starting up. Press Alt-Enter again to get back to the smaller size . You can also export your boot screen as a graphic in .bmp format so you can use it in other ways. To do that, click Export Boot Screen as BMP in the bottom right corner of the screen.

  4. To confirm this is the boot screen you want, click the Set As Your Boot Screen button .

    That's it. You've now got yourself a shiny new startup picture.

1.1.5 Good Housekeeping for Speedier Startups

If you're tired of waiting...and waiting...and waiting while Windows XP starts up, you're in good company. But you can leave the unwashed masses behind by running boot defragment , a process that puts all the startup files next to each other on your hard drive, thereby helping the operating system start up more quickly. Defragmenting may speed the startup process by five seconds or more depending upon how badly your boot files are scattered all over your hard drive.

On most computers, boot defragas geeks call itcomes turned on, so every time you defragment your hard disk by choosing Start All Programs Accessories System Tools Disk Defragmenter, your boot files get defragmented along with all the other files. Defragment your drive once a month for best performance.

But what if you're flossing regularly and you're still molding over waiting for your computer to boot up? If you've inadvertently turned off boot defrag, you can run the Disk Defragmenter until the cows come home and see no startup benefit. To make sure boot defrag runs every time you defragment your system:

  1. Run the Registry Editor .

    For information about how to run and use the Registry Editor, see Section 15.1.2.

  2. Go to My Computer HKEY_LOCAL_MACHINE SOFTWARE Microsoft Dfrg BootOptimizeFunction .

    This is the Registry key that controls how the Windows XP defragmentation process works.

  3. Change the Enable string value to Y if it is not already set to Y .

    If for some reason the Enable value isn't present, create it as a new string value.

  4. Exit the Registry and reboot .

    From now on, whenever you run the Disk Defragmenter, it makes sure your boot files are all in one place.

Tip: For more powerful defragmentating options, see Sidebar 1-2.

1.1.6 Killing the Error Messenger

Windows XP likes to keep you apprised of problems on your system by popping up messages when if finds something wronga nice service. But nothing's more annoying than getting the same error message every time you start the computer, especially if you have no way to fix the problem (say you improperly installed some software or inadvertently disabled a driver nine months ago). Luckily, you can quash these error messages before they appear.

Note: When you turn off error messages that display on startup, you're disabling all startup error messages, not only those you'd prefer not to see. So if you turn them off, you risk missing important Windows XP error messages.

To kill error messages: Launch the Registry Editor (Section 15.1.2), and go to My Computer HKEY LOCAL MACHINE SYSTEM CurrentControlSet Control Windows. Create a new DWORD called NoPopupsOnBoot and give it a value of 1 . Exit the Registry and reboot. Error messages will bedevil you no longer.

1.1.7 Customizing Your Startup Process

Hidden on your PC are startup folders that tell your computer to launch certain programs every time you turn it on. Every account has its own startup folder, and the system has a common folder, too. The cool thing about these folders is that you can use them to customize how your PC greets you.

For example, if you want your email program to open automatically when you turn on your computer, startup folders are the place to turn.

You can find the common startup folder by opening Windows Explorer and choosing My Computer C: Documents and Settings All Users Start Menu Programs Startup. Individual startup folders live at Documents and Settings [Your Account Name] Start Menu Programs Startup; [Your Account Name] is whoever is currently logged in.

To prevent programs in either folder from running automatically, simply delete their shortcuts. (In Windows Explorer, you can spot shortcut icons by the label "shortcut" next to them.)

A Better Disk Defragmenter

For most purposes, Windows XP's Disk Defragmenter (Section 1.1.5) works just fine. But sometimes you need a more powerful utility. If you want to schedule the defragmentation process, for example, or you're a system administrator who needs to perform this task on multiple PCs, consider an alternative to XP's Disk Defragmenter. Two of the best are available as try-before-you-buy software: Diskeeper and Perfect Disk.

  • Diskeeper . This defragmenter is ideal for anyone who takes care of multiple computers on a network. Diskeeper automatically defragments a disk when it starts up, lets you schedule defragmentation on several computers, and is easy to install on multiple PCs. Available at http://www.execsoft.com, Diskeeper costs $29.95 for personal use and $44.95 for corporate users.

    A free version, called Diskeeper Lite Freeware, is available too, but it defragments only one disk at a time and doesn't allow scheduling.

  • Perfect Disk . Like Diskeeper, Perfect Disk is best for network administrators who want to schedule defragmentation on multiple machines on a network. Perfect Disk defragments hard drives even if they only have a little bit of free space available (normally a road block), and it also works on files that Windows XP's built-in defragmenter won't touch, such as the Windows page file. The program is available at http://www.raxco.com.

To force a program to run automatically when you start up the computer, you can add a shortcut to one of these startup folders. In Windows Explorer, find the executable file for the program you want to add to your startup process. (An executable is the file that launches a program, identified with the extension .exe; for example, word.exe for Microsoft Word.) To locate the executable file you want, right-click the program icon on the Windows desktop and choose Properties from the shortcut menu. The name and location of the executable file appear in the Target box. Now that you've got your executable file at the ready, drag it to the startup folder you want to customize. Once you've put the executable file in the startup folder, Windows automatically creates a shortcut and launches the program when you boot up.

Change the Location of Your Startup Folders

If you'd like, you can change the location of your startup folders. In fact, you can make any folder become the common startup folder or your individual startup folder. That way, you can choose any name and location that's easy for you to remember. For example, you may want to create and use a folder called My Computer C: All Startup for the common startup folder, and My Computer C: [Your Name] Startup for your individual startup folder.

To change the location of the current account's Startup folder, first run the Registry Editor (Section 15.1.2), and then go to My Computer HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Explorer User Shell Folders Startup. The file has a string value for the location of the folder, like C:\Documents and Settings\Joe Schmoe\Start Menu\Programs\Startup, for example. To change the location of the startup folder, edit this string to refer to any folder on your hard drive; for example, C:\YourStartup . Exit the Registry and reboot for the change to take effect.

To change the location of the common Startup folder, go to My Computer HKEY_LOCAL_MACHINE SOFTWARE Microsoft CurrentVersion Explorer User Shell Folders Common Startup. The string value should be C:\Documents and Settings\All Users\Start Menu\Programs\Startup. Again, this string can lead to any folder on your hard drive; for example, C:\AllStartups . Exit the Registry and reboot to make the change take effect.

Tip: If you're having startup problems and you want to determine whether any of your startup programs are to blame, you can have Windows ignore those programs when you bootwithout deleting their shortcuts from the startup folder. That way, you don't have to waste your time deleting and then recreating the shortcuts. Here's how: When you log in, type your account name and password in the logon box, and then press Shift as you click OKand continue to hold down Shift until the desktop appears. When you follow this procedure, Windows XP doesn't run any programs in your startup folders, but it doesn't delete them either. They'll run as usual the next time you boot up. For more on this Safe Mode, see Section 13.1.6.

1.1.8 Automating Reboots and Shutdowns

Rebooting or shutting down your PC should be quick and painless. But in Windows XP, you have to go through several clicks and menu choices and manually shut down programs that are running. Rome was built in less time than it takes to turn off your computer.

But relief is at hand: You can create reboot or shutdown shortcuts to perform the routine for you. Once you've got the shortcut icons on your desktop, all you have to do is double-click one to have the computer shut itself down. For maximum efficiency, create a shortcut that reboots your computer (to restart it if your system crashes, for example) and another that shuts it down.

Here's how to create a shutdown icon:

  1. Right-click your desktop, and in the menu that appears, choose New Shortcut .

    A wizard appears asking you to fill in the location of the item.

  2. Type the command shutdown , but don't press Enter. Instead, follow the command with a space and one of several switches .

    A switch is a letter that follows a command and customizes how the command works. Here's a list of the switches you can use with the shutdown command. Note that you can use more than one, in any combination.

    • -s . Shuts down the PC. Use when you want to do a basic system shutdown.

    • -l . Logs off the current account. Use when you don't want to turn off your computer, but you want to log out of the current account quickly.

    • -t nn . Indicates the amount of delay, in seconds, before the shutdown begins. So if you want to delay it for 10 seconds, you would use -t 10 . Use when you don't want an immediate shutdown, but instead want the shutdown process to start after a few seconds. That way, you have a chance to close any open programs before the system shuts down.

    • -c " messagetext ". Displays a message in the System Shutdown window. You can use a maximum of 127 characters , but you have to enclose the message in quotation marks. Use if you want to issue a warning to anyone using the computer that the system is about to shut down, like "Hasta la vista, baby!"

    • -f . Forces any running applications to shut down (safely). That way, you won't have to close them yourself.

  3. For example, shutdown -r -t 01 -c "Rebooting your PC " reboots your PC after a one-second delay and displays the message, "Rebooting your PC. "

    Type in your command and switches, and then click Next.

  4. Type a name for the shortcut, and then click Finish .

    A good name might be Shutdown, or Log Off and Reboot.

That's it. Your shortcut is ready to roll.

1.1.9 Speedier Shutdown Times

If your computer takes its sweet time turning off, you can easily goose the shutdown process.

One reason it takes so long for Windows XP to shut down is that it waits for any open programs and services (see Sidebar 1-4) to call it a day before turning itself off. If you think you don't have any programs running, think againthey're just invisible, or what geeks call running in the background.

Things get sluggish when Windows tells a task to shut down but the task doesn't respond, leading Windows to wait politely for 20 seconds before forcing the task to end. You can speed things up by shortening the amount of time Windows XP waits. To do so, run the Registry Editor (Section 15.1.2) and then:

  1. Go to My Computer HKEY_CURRENT_USER Control Panel Desktop .

  2. Edit the HungAppTimeout value, which does essentially the same thing as WaitToKillAppTime .

    Again, the preset value is 20000. Enter the same number here that you entered for WaitToKillAppTime.

  3. Go to My Computer HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control .

    Edit the WaitToKillServiceTimeout value, which controls the amount of time that Windows waits, in milliseconds , before closing a service that isn't responding. It should be set to 20000. Put in the same value that you entered for HungAppTimeout.

  4. When you're done editing, exit the Registry .

    You have to reboot in order for the new settings to take effect.

Windows Services

Every time you start your PC, Windows runs a series of services , which are background tasks that your PC needs for one reason or another. For example, one service automatically checks to see whether Microsoft has any Windows XP updates you should download. Another service automatically configures laptops to let them connect to wireless networks. Yet another service puts files in a print queue for printing.

You don't necessarily need the services that automatically load on startup, however, and some can slow down your system or even cause conflicts. To find out how to delete unnecessary ones, see Section 11-5.

1.1.10 Other Software that Can Control Startups and Shutdowns

Windows XP gives you some control over how your system starts up and shuts down. But if you want to do detailed things, like scheduling shutdowns, third-party software is the way to go. Here are a few programs you can download:

  • For full startup management, you can't do better than Advanced StartUp Manager . This program is best for creating different startup profiles , which optimize your PC for certain tasks when you turn it on. You can, for example, customize a startup profile for the times you're mostly using the Internet, and another for when you're working in a graphics program. For Internet sessions, you can have programs like instant messengers and audio and video players launch automatically, ready when you are. On the other hand, if you need to run a graphics program, you might want to have very few programs running, so your system can devote resources to your graphics program. Advanced StartUp Manager is shareware and free to try; it's $19.95 if you decide to continue using it. Get it from http://www.rayslab.com.

  • For a less powerful (but free) program, try Startup Control Panel . This small program, which runs via the Control Panel, lets you decide which programs Windows XP runs on startup the next time you boot your PC. (It controls which programs start only the next time, not every time after that.) You can download it from http://www.mlin.net.

  • To better handle shutdowns, try Switch Off . This free utility runs in your system tray where it's easily accessible and lets you schedule things like shutdowns, restarts, disconnecting your dialup connection, and locking your workstation. It's free and available from http://yasoft.km.ru/eng/switchoff.

Startup and Shutdown Controls

As you've learned in this chapter, startup and shutdown are two of the most tedious processes in computing; they always seem to take longer than they should. While starting a PC is never going to be as quick or easy as turning on a light, you can shave precious seconds off your daily workload by trying the options described below. (For more hints and downloads for startup and shutdown, see Section 1.1.10.)

  • Shutdown Now! This piece of software gives you just about every option you can imagine for shutdown. You can specify that Windows XP launch or load applications automatically before shutdown (to perform housekeeping tasks like defragmenting your hard disk, for example), schedule shutdowns, delete all the files in a particular directory before shutdown...the list goes on and on. ($19.50 shareware; http://www.dworld.de).)

  • OLS 2000 . If you boot more than one operating system on your PC, check out this program. It lets you boot from up to 100 separate operating systems (such as multiple copies of Windows XP or other versions of Windows) or boot from a second hard disk. Other features include an automatic boot timer, and the ability to uninstall operating systems if they cause problems. If you need 100 operating systems on one computer, you should probably keep that information to yourself. ($25 shareware; http://www.osloader.com).)

Windows XP Power Hound
Windows XP Power Hound: Teach Yourself New Tricks
ISBN: 0596006195
EAN: 2147483647
Year: 2003
Pages: 119

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net