发新话题
打印

[TIPS]Registry Editor Useful Tips Here(注册表资料大全)

自动删除注册表键

Normally you cannot automatically delete registry keys from reg file. But there is a way...

Simply include a minus sign inside the left bracket before the main key.

For example.
If you want to delete the key HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Office \ 8.0 \ Common \ Assistants, your regfile would simply look like:


REGEDIT4

[-HKEY_LOCAL_MACHINE\Software\Microsoft\Office\8.0\Common\Assistants]

This would delete that key and any below it.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

修复光驱的自动执行

If your CDs have stop starting automatically, and you have checked everything else:

Go to HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
The value for NoDriveTypeAutoRun should be set to 95 00 00 00
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

修改文件系统属性

In the Control Panel / System / Performance / File System, you can select either Desktop Computer, Mobile or docking system, or Network Server.
You can change these labels to something more descriptive:

Start Regedit
Go to HKEY_LOCAL_MACHINE / Software / Microsoft / Windows / Current Version / FS Templates
You can change the text that appears under each key
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

锁定菜单

Normally when you move the mouse over the Start Menu / Programs, it will automatically cascade and show the submenus.
If you want them to open only when you actually click on them:

Start Regedit
Go to HKEY_CURRENT_USER \ Control Panel \ Desktop
If if it not already there, create a string called MenuShowDelay
Give it a value of 65534
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

自动关闭Windows NT

Most laptops allow the operating system to turn off the hardware after shutdown, instead of displaying the message telling you it's now safe to turn off your system.
You can take advantage of this capability by enabling the Power Down After Shutdown feature.

To enable this feature, simply add a REG_SZ value named HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\PowerdownAfterShutDown and set it to 1.

Next, tell NT to shut down and see if the machine turns itself off after shutting down. If it doesn't, change the value back to 0 to restore normal operation.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

取消挂起进程并关闭Windows NT

When you tell NT to shut down, it first sends shutdown requests to any running processes.
Most 32-bit applications honor these requests and shut down, but older 16-bit apps running in the Virtual DOS Machine often won't.
When this occurs, the operating system prompts you with a dialog box asking if you want to kill the task, wait for the task to die on its own, or cancel the shutdown.
By modifying the Registry, you can automate this process.

You can force NT to kill all running processes on shutdown by adding a REG_SZ value named HKEY_USER\\ControlPanel\Desktop\AutoEndTasks and set the value to 1. You can also add this value to HKEY_USERS\.DEFAULT so that all new accounts will shut down the same way.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

NT宕机日志文件

In addition to the crash log file, you can also enable two other methods of crash notification and logging.


You can enable an administrative alert by changing the value of

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl\SendAlert to 1. The next time the system crashes, an administrative alert will be sent that may provide the first sign of the crash.

You can also make NT log the crash in the event log by changing the value of

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\CrashControl\LogEvent to 1 instead of its default 0. Now, the exact time of the crash will be permanently recorded.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

修改OE数据文件目录

Normally Outlook Express keeps its data files in the C:\Windows\Application Data\Microsoft\Outlook Express directory.

To change this:

First copy those files to the new location
Start RegEdit
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Outlook Express
Change the Store Root key to the directory where you moved the files
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

禁止闪烁鼠标指针

To stop the cursor from blinking in applications such as Word:

Start Regedit
Go to HKEY_CURRENT_USER\Control Panel\Desktop
Add a String Value
Name it CursorBlinkRate
Give it a value of -1
Reboot the computer
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

Re-Enabling DHCP Error Messages

If you got a DHCP error message, selected to not see DHCP errors, and now want to see them again;

Start Regedit
Go to HKEY_LOCAL_MACHINE \ System \ CurrentControlSet \ Services \ VxD \ DHCP
Change the value of PopupFlag from 00 to 01
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

摆脱阴谋

A safer way would be is to go to the Control Panel / Display / Appearance tab
Go to the Scheme drop down box
Select the one you don't want and click on the delete button
Submitted by obs

When you right click on your desktop and pick properties your Display Properties screen appears.
Under Appearance tab / Schemes, determine if you want all those wild schemes.
If not they can be deleted and clear approximately 45K.
Before you delete them, choose or create at least 1 Scheme and "Save As" (in my case Bud 1).

Open Regedit
Go to HKEY_CURRENT_USER \ Control Panel \ Appearance \ Schemes
Highlight every String and Value on the right side and delete. DO NOT DELETE "Default"
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

隐藏驱动器

If you want to stop a drive or any combination of drives appearing in Explorer/My Computer

Add the Binary Value of 'NoDrives' in the registry at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Give it a value from a combination of the table below:

A 1 00 00 00
B 2 00 00 00
C 4 00 00 00
D 8 00 00 00
E 16 00 00 00
F 32 00 00 00
G 64 00 00 00
H 128 00 00 00
I 00 1 00 00
J 00 2 00 00
K 00 4 00 00
L 00 8 00 00
M 00 16 00 00
N 00 32 00 00
O 00 64 00 00
P 00 128 00 00
Q 00 00 1 00
R 00 00 2 00
S 00 00 4 00
T 00 00 8 00
U 00 00 16 00
V 00 00 32 00
W 00 00 64 00
X 00 00 128 00
Y 00 00 00 1
Z 00 00 00 2

Where (for eg) you want to hide Drives {C,E,J,O,R,U,Y,Z} you would give 'NoDrives' the value 14 42 12 03
Where C+E = 14, J+O = 42, R+U=12 and Y+Z = 03
Please NOTE: The Numbers are to be added in HEXadecimal ie: ABCD = 0F, not 15 All Drives Visible is 00 00 00 00 All Drives Hidden is FF FF FF 03
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

在登录前创建安全文件

You can create a banner that will come up just before you logon to the computer:

Start Regedit
Go to HKeyLocalMachine \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ WinLogon
Create a new string value called LegalNoticeCaption and give it a value you want to see in the menu bar
Create a new string value called LegalNoticeText and give it a value you want to see in the dialog box
Now before anyone logs into that computer, this banner will come up on the screen.
This can be useful for any legal warnings you want to give regarding the use of the computer.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

Removing the Hand Icon from Shared Resources

When you share a local resource, Windows95 normally puts a hand in from of that resources icon.
To remove hand icon from your shared resources:

Start Regedit.
Go to HKEY_CLASSES_ROOT / Network
Open SharingHandler.
Clear it's default value
Restart Windows.
To restore set Default value "msshrui.dll".
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

开启Logitech鼠标的中键功能

To enable the middle mouse button on Logitech Mouses to act as a double-click button by only pressing it once:

Run Regedit
Go to HKEY_LOCAL_MACHINE\SOFTWARE\LOGITECH\MOUSEWARE\CURRENTVERSION\SERIALV\0000
Change DoubleClick to equal 001
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

使记事本打开文件更轻松

This will enable you to right click on any file and have the option to open it with notepad.
Also if a file has no association and you try to open it it will open with notepad

Run 'regedit.exe'
Expand "HKEY_CLASSES_ROOT"
Inside "HKEY_CLASSES_ROOT", expand "*"
Inside "*", create a key called "shell"
Inside "shell" create a key called "open"
Inside "open" edit the string "(default)" to say "open (notepad)"
Inside "open" create a key called "command"
Inside "command" edit the string "(default)" to say C:\WINDOWS\NOTEPAD.EXE "%1"
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

Displaying Hi-Color Icons without the Plus Pack

Start Regedit
Go to HKEY_CURRENT_USER \ Control Panel \ desktop \ WindowMetrics
Add or edit Shell Icon BPP=16 where the number is the color depth.
The default is 8 (bit or 256 colors).
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

备份注册表

There are many backup programs for the registry but if the computer goes down and you can't fire off Win95 because of the registry problem.

Backup to a directory the following files:

SYSTEM.DATA
SYSTEM.DA0 (Yes seem to be the same size)
USER.DAT
USER.DA0 (Same size likely)
WIN.INI
CONTROL.INI
SYSTEM.INI
These files can be copied to the windows directory from Win95 or DOS to help correct problems.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

清理Run主键下不必要的启动项目

Start the REGEDIT program
Search for the word RUNMRU
Delete the ones you don't want
Rename so they are all in alphabetical order again
Close and restart windows
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

在任意地方开启DOS窗口

Add or Edit the following Registry Keys

[HKEY_CLASSES_ROOT\Directory\shell\opennew]
@="Dos Prompt in that Directory"

[HKEY_CLASSES_ROOT\Directory\shell\opennew\command]
@="command.com /k cd %1"

[HKEY_CLASSES_ROOT\Drive\shell\opennew]
@="Dos Prompt in that Drive"

[HKEY_CLASSES_ROOT\Drive\shell\opennew\command]
@="command.com /k cd %1"

These will allow you to right click on either the drive or the directory and the option of starting the dos prompt there will pop up
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

对比注册表

Got to true DOS, not a DOS window
Run Regedit and then export the entire Registry to COMPACT.REG.
Then exit regedit and run it again with the following switch. REGEDIT /C COMPACT.REG
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

修改Exchange邮件信箱目录地址

When you create a mailbox in Exchange for e-mail, you specify the file where you want to mail to go.
You cannot change this in Exchange afterwards.

If you want to change the file name or location::

Start Regedit
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ WindowsMessaging Subsystem \ Profiles
Go to the profile you want to change
Go to the section that has the file location for your mailbox (*.PST) file in the right hand panel
Make the change to file location or name
Restart Exchange
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

取消控制面版里的声音事件

When you view what events you can assign sounds to from Control Panel / Sounds,
you cannot delete the events themselves. In order to do that:

Start Regedit
Go to HKEY_CURRENT_USER / AppEvents / Schemes / Apps
From here you can delete any items you don't want to show or no longer need.
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

修改注册名

Starting Regedit
Go to HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion
From there you can edit the name in the Registered Owner key
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

在右键菜单中增加程序

Here is how to add any application to the menu when you right click on any Folder.
This could be useful if there is an app you always want available and don't want to go through the Start menu

Start Regedit
Go to HKEY_CLASSES_ROOT \ Folder \ shell
Add a key Name_of_Your_App
This can really be any label, just use one that makes sense to you
Give it a default value of Name_of_Your_App
Putting a & in front of a character will allow you to use the keyboard
Go to HKEY_CLASSES_ROOT \ Folder \ shell \ Name_of_Your_App
Add a key command
Give it a default value of the application you want to run
For example: c:\program files\internet explorer\iexplore.exe
Include the full path
Now when you right click on any folder, you can have access to that application
This will work for both Windows95 and NT 4.0
曾几何时,有人对我说:装B遭雷劈。我说:去你妈的。于是,这个人又对我说:如果再说脏话,上帝会惩罚你的。我说:我操上帝。结论:彪悍的人生不需要上帝。

TOP

发新话题