Cover | Table of Contents | Colophon
[boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows 2000 Professional" / fastdetect
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. Being a
fan of Jack London's The Call of the
Wild, I use a picture of huskies for my splash screen. You
can see it pictured in Figure 1-2. Nice way to
greet the new day, don't you think?
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!
http://www.rayslab.com), shown in Figure 1-8—lets you create multiple startup
profiles so that you can have separate profiles for your laptop at
home and the road—or for any other purpose.
It's free to try, but it costs $19.95 if you decide
to keep it.
shutdown. After you create the shortcut,
double-clicking on it will shut down your PC.shutdown -r -t 01 -c "Rebooting your PC"
shutdown
command includes a variety of
switches you can use to customize it. Table 1-3
lists all of them and describes their use.shutdown -s -t 03 -c "See you later!" shutdown -r -t 03 -c "You can't get rid of me that quickly!"
|
Switch
|
What it does
|
|---|---|
-s |
Shuts down the PC.
|
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon subkey, which contains a variety
of logon settings (as well as some settings not having to do directly
with logons). Following are the most important values you can edit to
customize logons.DontDisplayLastUserName
String value is present and set to
1, all users will have to enter both their
username and password in order to log on. If the value is
0, the name of the last user to log on will be
displayed in the system logon dialog box.DefaultUserName
String value contains the name of the last
user who logged on. It will be displayed only if the
DontDisplayLastUserName value is not present or is
set to 0.LegalNoticeCaption
String value, used in concert with the
LegalNoticeText value, displays a dialog box prior
to logon that contains any text you want to display. (The text
doesn't have to be a legal notice, but this value is
often used for that purpose.) The box has a title and text. The
LegalNoticeCaption value will be the dialog
box's title.LegalNoticeText
String value, used in concert with
LegalNoticeCaption, contains the text that you
want to be displayed inside a dialog box displayed prior to logon.PasswordExpiryWarninghttp://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp.
It's part of a suite of free, unsupported utilities
from Microsoft called XP PowerToys, but it's far and
away the best one.) It lets you
tweak not only the interface, as the title suggests, but also many
other system settings, such as how Internet
Explorer's search works, whether to automate your
logon upon system startup, and whether to enable CD autoplay so that
the CD immediately starts up whenever you pop it into your drive. In
this hack, you'll learn how to use it and apply that
knowledge to create a speedy, stripped-down version of XP. Figure 2-1 shows TweakUI in action, customizing the
display of thumbnail pictures in Windows Explorer.http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp.
It's part of a suite of free, unsupported utilities
from Microsoft called XP PowerToys, but it's far and
away the best one.) It lets you
tweak not only the interface, as the title suggests, but also many
other system settings, such as how Internet
Explorer's search works, whether to automate your
logon upon system startup, and whether to enable CD autoplay so that
the CD immediately starts up whenever you pop it into your drive. In
this hack, you'll learn how to use it and apply that
knowledge to create a speedy, stripped-down version of XP. Figure 2-1 shows TweakUI in action, customizing the
display of thumbnail pictures in Windows Explorer.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control
Panel\don't load.String value whose
name is the filename of the applet that you want to hide. For
example, to hide the Mouse Control dialog box, the
String value would be
main.cpl. See Table 2-1 for a
list of Control Panel applets and their filenames.gpedit.msc
at the Run prompt or command line. Go to User
Configuration\Administrative
Templates\Start Menu
and
Taskbar. As you can see in Figure 2-5, the right pane displays all the settings you
can change. If you click on the Extended tab at the bottom of the
screen, you'll be shown a description of the setting
that you've highlighted, along with an explanation
of each of the options. Settings you can customize include showing
the My Pictures icon, the Run menu, and the My Music icon on the
Start Menu; locking the Taskbar so that it can't be
customized; and many others. To change a setting, double-click on it
and choose the options from the menu it displays, as outlined in
[Hack #9].
HKEY_CLASSES_ROOT\Applications. Underneath this
key, you'll find a series of subkeys, each of which
represents an application. The primary purpose of these subkeys, as
you'll see later in this hack, is to determine
whether the program appears on the Open With dialog box that appears
whenever you try to open an unknown file type. But you can also add a
value to any of the subkeys which will ban programs from appearing on
the Most Frequently Used Programs List.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace.
Here's where you'll find various
special desktop icons. They're not listed by name,
but instead by CLSID—for example,
{645FF040-5081-101B-9F08-00AA002F954E} for the
Recycle Bin. Table 2-3 in [Hack #12] lists
CLSIDs of common desktop objects, so use
it to find the CLSID of the icon you want to delete.{645FF040-5081-101B-9F08-00AA002F954E} for the
Recycle Bin. Then exit the Registry, go to your Desktop, and press F5
to refresh the screen. The Recycle Bin icon should now be gone.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
can be deleted from the desktop without having to go through this
procedure, but when you try to delete them they may give you a
special warning message. For example, when you try to delete
Microsoft Outlook from
the Desktop, you get the warning message "The
Outlook Desktop icon provides special functionality and we recommend
that you do not remove it." If
you'd like, you can edit that message to display
whatever you want. In the CLSID's subkey—for
example,
http://www.stardock.com. It is sold by itself
(for $19.95) or as part of a larger package called
Object Desktop (for $49.95). There is
also a free trial available from their web site.HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer.
Among other things, this key controls the display of objects
throughout XP. Create a new DWORD called
NoTrayItemsDisplay. Assign it a value of
1. (A value of 0 will keep the
icons displayed.) Exit the Registry and reboot.HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer
key, you can also delete the My Recent Documents icon on the Start
menu. Create a new DWORD called
NoRecentDocsMenu. Assign it a value of
1. (A value of 0 will keep the
icon displayed.) Exit the Registry and reboot.
http://www.chime.tv/products/glass2k.shtml),
because it's small, it's simple,
and above all, it's free. It
doesn't muck around with your system by making
Registry changes or installing .dlls.
It's just run an executable file, and with it you
can make any window transparent. When it's running,
go to the window you want to make transparent, and press Ctrl-Shift
and a number from 0 to 9. 9 makes the window the least transparent, 1
makes it the most transparent, and 0 sets it so that
it's solid, with no transparency. You can also
right-click on a window, and select the degree of transparency from
the program's pop-up menu. The window will keep that
degree of transparency as long as you run the program and keep the
transparency setting. Figure 2-19 shows the results
of making windows transparent with the program.
http://www.totalidea.com.http://www.actualtools.com.http://www.microangelo.us.
It's shareware and free to try, but if you continue
using it, you're supposed to pay $54.95. You can
create animated icons or regular icons—in both the standard
32-pixel and large 48-pixel sizes—and a variety of cursors as
well. Use paint-type tools and build your icons and cursors on a
grid, as shown in Figure 2-20. A preview is
available, so you can see the effects of what you do as you work.
http://www.windowblinds.net, the same company
that makes the interface-customizing program WindowBlinds [Hack #15]. CursorXP Free
is free, as the name implies. Install it, and a new CursorXP tab is
added to the Mouse Properties dialog box, shown in Figure 2-21.
dir /a /-p /o:gen >filelisting.txt
dir /a /-p /o:gen >filelisting.txt