Registry Tricks

1 Speed-up the Start Menu!

2 My city isn't on the time zone map!!!

3 Editing the Windows TIPS at start-up

4 Friendly "Short" Names

5 3-D Objects: Highlights and Shadows

6 Reappearing values in the Registry?

7 Adding sounds to application events

8 Printing a directory using the Registry...

9 Changing a Computer's ID using a registry script. NEW!


1 Speed up the Start-Menu!

Create a new string value under HKEY_CURRENT_USER\Control Panel\desktop (of the Registry) named MenuShowDelay and set it's value to a number from 1 to 10. (1 is the fastest). This is an undocumented feature!! Please Note that you can just as easily use MS Powertoys' TweakUI to achieve the same results.


2 My city isn't on the time zone map !!!

Highlight the section on the world map that contains your city. Write down the string of cities, or whatever other wording.

Example "Brisbane, Melbourne, Sydney"

Open Registry Editor, and search for that string Edit that string. You have very easily edited a string that was not meant to be edited, but of course with Windows 95 you are given the option to edit nearly all strings.


3 Editing the Windows TIPS at start-up

You can edit those tips, and add you own tips.

It is under the H_KEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\Tips key of the Registry Editor.

Here's how to add new User Tips to the Welcome to Windows 95 Dialog Box that appears at Windows 95 system start-up:

1. Go to the above referenced Key in the Registry Editor.
2. Go to the very end of the list of existing User Tips. (Win95 comes with 50 Tips pre-loaded)
3. To add a new String Value, right click with your mouse at the end of the list.
4. Select NEW.
5. Type the next highest number from what's listed directly next to the ab.
6. Press ENTER.
7. Right click again on the number value just created.
8. Select MODIFY.
9. In the box marked VALUE DATA, type whatever new User Tip you prefer.
10. When you are 100% positive that what you just typed is what intended, select OK.

Congratulations! You just customized Windows 95! Now, close the Registry Editor, and restart Windows 95. You will see your new Tips the next time the Welcome to Windows 95 dialog box appears!

At the very beginning of your VALUE DATA, you
might want to begin the Tip with something like
"Win95 Tips:" This way, you'll remember
which Tips you added to the originals!


4 Friendly "Short" Names

One of my favorite features of Windows 95 are the Long File Names. At last, we can leave eight-dot-three in the dust!!! One problem though. I have Microsoft Office Professional 4.3, which is the 16-bit short file name edition.

So, when I am in Explorer, I can save a file such as "1997 Income Tax Returns". But, when I return to Excel to open that file, I will find something like "1997In~1.xls". Now, if you wanted to save several files with the prefix "1995 Income Tax" you would have a mess on your hands in a hurry, not to mention that you wouldn't be able to decipher the short names.

Complete the following steps:

1. Open up the Registry Editor.

2. Open the following SubKey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
3. Right-Click the right-hand pane of the Registry Editor window. On the context menu, select NEW, Binary Value.
4. Type in NameNumericTail and press ENTER.
5. Double-Click the entry you just created, and then type zero (0) as the complete binary value.
6. Click OK, close the Registry Editor, and restart Windows.

Now, this undocumented technique will assure that the short file names will resemble the long file names as much as it is possible. Windows 95 will make sure that no two files will have the same long or short name.


5 3-D Objects: Highlights and Shadows

1. Open up the Registry Editor.

2. Go to the following SubKey:

HKEY_CURRENT_USER\Control Panel\Colors
 
3. There you will find a list of various system items, such as buttons, and active title bar, etc. Actually, it adds to the information that is editable in the Control Panel's Display Properties dialog Appearance tab.

 

4. The information is presented as RGB data, which means that each color is represented by three values to simulate the various colors that will be displayed on your screen. The three values are Red, Green, and Blue. Each of the three can have values between zero (0), which represents black, and 255, which represents white.

EXAMPLE: 0 0 0 represents black
255 255 255 represents white
all other colors are somewhere in between
 
5. The RGB Color Model is an additive model that is used to determine how colors are displayed on computer monitors.

 

6. RGB values for the various colors can be found in the following place on your system:

Control Panel, Display, Properties, Appearance, Color, Other . . .
In this dialog, the RGB values are found in the lower right corner. Be sure to write down the values of your favorite colors, so they can be changed easily.
 
7. Knowing all this, you are ready to further customize the shadows and inverse colors of 3-D objects in the Windows 95 system.


6 Reappearing values in the Registry?

If after several editing sessions in the Registry Editor, you suddenly discover that several entries and values that you deleted seem to be reappearing, it is NOT a problem with the Registry, the Editor, or your mind.

To keep that data from respawning, simply remove the offending items from your WIN.ini file!


7 Adding sounds to application events

By now you should all realize that you can add sounds to quite a few system events. Those can be located in the Control Panel Sounds dialog. If you haven't been there yet, I'll wait a minute while you return. But, did you realize that with the Registry, you can also add sounds to APPLICATION events?

1. Open up the Registry Editor.

2. Go to the following SubKey:

HKEY_CURRENT_USER\AppEvents\Schemes\Apps
3. You will find two SubKeys .Default and Explorer.
4. Right-Click on the SubKey APPS, choose NEW KEY.
5. The new value should be the name of the application that you wish to create event sounds for.
6. Right-Click on the SubKey you just created, and select NEW KEY.
7. An example to get you started: Key: Open Then, create another SubKey called Close.
8. Go to the Control Panel Sounds, and the Application Event SubKeys you just created will now appear in the list that is displayed in the Sounds tab.
9. Add whatever sound files you wish for these events.
10. The very next time that you Open and/or Close that particular application, the sounds will play.

11. For each and every application on your system, you can add sounds to all these standard events:

Close
Open
G.P. Fault
RestoreDown
Maximize
RestoreUp
MenuCommand
SystemAsterisk
MenuPopup
SystemExclamation
Minimize
SystemQuestion
There may be other events possible, but that depends on the particular application events that are used in any given Windows application.
HINT: Button and Icon bars are NOT such events!


8 Printing a directory using the Registry...

Date:    Sun, 22 Dec 1998 19:37:57 -0500
From:    Steve Cauffiel <[email protected]>
Subject: APPS: HARDWARE: Zip directory labels

Found this at the Windows Annoyances page - not sure if it will help or not...

Print Out a Directory Listing

Last Modified: 4/29/96

Although there is no built-in way to print a directory listing (all the filenames in a folder), there is a way to add this functionality to Windows95. Here's how you do it:

Open a text editor, such as Notepad, and type the following lines into a new document: (assuming the printer you wish to use is connected to printer port #1). See end of this section.

CD %1

DIR /S >LPT1

type 'ascii control code {form feed}' > LPT1

Save the two-line file into your Windows\Command folder, and call it PRINTDIR.BAT. Find the file in Explorer, right click on it, and select Properties. Click on the Program tab, turn on the Close on Exit option, choose Minimized from the Run list, and click Ok. Next, run the Registry Editor (REGEDIT.EXE). Open My Computer\ HKEY_CLASSES_ROOT\ Directory\ shell. Select New from the Edit menu, and then select Key. Type Print for the name of this new key, and press Enter. Highlight the new Print key, select New from the Edit menu, and then select Key again. Type command for the name of this new key, and press Enter. Double-click on the (default) value in the right pane, and type C:\Windows\Command\PRINTDIR.BAT (assuming that C:\Windows\ is your Windows95 directory). From now on, when you right-click on a folder icon, you can click Print to print its contents.

Note: this assumes that your printer is connected to the LPT1 port, which is true for most users. However, if your printer is connected over a network or you have more than one printer, you need to change LPT1 to the correct port.

Date:    Sun, 22 Dec 1998 18:11:35 -0700
From:    Mark Dodge <[email protected]>
Subject: Re: APPS: HARDWARE: Zip directory labels

Mark:- I tried this, works great, except for two things. One: I have a HP 550C and I have to hit the Load\Eject button to get the page to finish. Two: This doesn't print the contents of the sub folders.

Date:    Wed, 15 Jan 1997 18:11:35 -0700
From:    Hans Klarenbeek <[email protected]>
Subject: Re: APPS: HARDWARE: Zip directory labels

I personally don't see any problems with this what is to stop you from adding to the basic batch file the commands to both scan subdirectories (see mods in blue) and feed at an ascii control code to feed the sheet (what is this anyone??)


9 Changing a Computer's ID using a registry script. NEW!

Date:    Wed, 10 Aug 1997 11:22:35 -0700
From:    Hans Klarenbeek <[email protected]>
Subject: Changing System ID with *.REG Script

When doing a technical support job i got tired if updating the system ID on each machine - I was also designing the setup so that a machine could have its ID re-assigned even if the network control panel were disabled, or to help in speeding up a roll out using Ghost Now I wound up searching through the registry and fount the two location where the ID is mentioned and extracted the following script.

REGEDIT4
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\ComputerName\ComputerName]
"ComputerName"="PERT2011"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
"ComputerName"="PERT2011"
"Workgroup"="T_ROOM_4"

I just edited this scipt and created a clickable icon on a bootdisk one for each machine.


Disclaimer

This article and web site listing is provided without any express or implied warranties. While every effort has been taken to ensure the accuracy of the information contained in this article, the author, faq maintainers and contributors assume no responsibility for errors or ommissions, or for damages resulting from the use of the information herin. This document respects all owners of their repected trademarks and or copyrights, Microsoft Windows 95 and Windows NT are the sole copyright of Microsoft Corporation and thus belongs to Bill.

Copyright Notice ©

Windows95 (Win95-L) FAQ COPYRIGHT © 1998-7 by Hans Klarenbeek

All Rights Reserved by the author, Hans Klarenbeek

Windows95 (Win95-L) FAQ © 1998-7 PERMISSION:

Permission is granted freely to distribute this article in electronic form as long as it is posted in its entirety including this copyright statement. This article may not be distributed for financial gain. This article may not be included in any commerical collections or compilations without the express permision of the author, Hans Klarenbeek([email protected])