|
Controlling Registry Editor
Registry Editor (Regedit) has a few features that most users like, but some prefer to disable. The following sections show you how to customize these features. First, you customize the default action for REG files: in other words, you can control what Regedit does when a file with the
.reg
extension is double-clicked. Second, you prevent Regedit from saving its settings when you close it. By doing so, Regedit opens the window to the same
Default Action for REG Files
When you double-click a file with the
.reg
extension and click Yes when it prompts you to merge the file's settings, Regedit imports the file's settings into the registry. If you edit REG files frequently, this behavior might concern you because you might
Storing Window Position and Size
Each time you close Regedit, the program stores its view settings (window position and size, column sizes, last open key, and more) in the registry. The next time you run Regedit, it
HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit is the key in which Regedit stores these settings. Set the key's Access Control List (ACL) so that you can't write to it, and then Regedit can't store its last view settings there. You can either delete the values in this key so that Regedit uses defaults every time it starts, or customize them so that Regedit uses your custom settings every time it starts. In either case, set the key's ACL so that you can read–but not write–values:
More
|
|
Logging On Automatically
Some users don't like having to log on to
Windows. When they restart the computer, they want it to boot all
the way to the desktop without stopping at the Log On To Windows
dialog box along the way. Before I tell you that this is possible
(oops), let me add that you should never skip the logon process if
your computer is connected to a business network. Obvious security
concerns are present when you allow
You configure the ability to log on to Windows
automatically in
HKLM\SOFTWARE\
Microsoft\Windows NT\CurrentVersion\Winlogon
. First, you set
the
REG_SZ
value
AutoAdminLogon
to
1
, which turns on this feature. You may need to
create the described keys. Just remember that this is a
REG_SZ
value and not a
REG_DWORD
value. Next, set the values
DefaultUserName
and
DefaultPassword
to the
|