Home | Switchboard | Unix Administration | Red Hat | TCP/IP Networks | Neoliberalism | Toxic Managers |
May the source be with you, but remember the KISS principle ;-) Skepticism and critical thinking is not panacea, but can help to understand the world better |
- Open RegEdit is a freeware utility that opens RegEdit (the Registry Editor) and goes straight to the Key you want. Open RegEdit also will read a Registry Key for you.
- RegEditX 2.0 related downloads. RegClean 2.8.4342 Download. Do a deep clean of your Windows Registry. RegSeeker Portable 3.01 Download. A complete toolbox for keeping your operating system clean. RegSeeker 3.01 Download. A great tool to work with.
- Application: RegEditX Category: Registry Editor Description: The Registry Editor enhanced by RegEditX. Notes: RegEditX makes your registry editing more productive than ever. RegEditX extends the standard Windows Registry Editor (REGEDIT), so you don't have to learn new ways of accomplishing tasks you already know how to perform. Just keep using the same familiar Registry.
News | Free Registry Tools | Recommended Books | Recommended Links | Recommended Articles | Resource Kits | |
reg.exe | Regedit | Reg | RegDmp | Regini | Regclean | Dureg |
Microsoft Resource Kits | NT 4.0 Reskit | Windows 2000 Resource Kit | Windows XP Resource Kit | Windows Server 2003 Resource Kit | Humor | etc |
Download ost bel ami pretty man OMG This drama sounds good and I would love to see him act with he Ji min She was great in the ceiling Prince I think she would be perfect for the poor girl section. The media file you download with aiohow.org must be currently shifting personal private non commercial use and removing files after listening. Application: RegEditX Category: Registry Editor Description: The Registry Editor enhanced by RegEditX. Notes: RegEditX makes your registry editing more productive than ever. Ultimate spider man sinister six full episode in hindi subtitle. RegEditX extends the standard Windows Registry Editor (REGEDIT), so you don't have to learn new ways of accomplishing tasks you already know how to perform.
Registry is a pretty complex and convoluted non-relational database. In essence it is an emulated very high speed filesystem, but Microsoft made several blunders in its design.
- First of all registry entries do not have full set of attributes required for files (system attribute, executable attribute, read-only attribute, creation time, modification time, etc). That's a huge blunder.
- It does not have snapshot or versioning capabilities that are hallmarks of the modern filesystem. Another huge blunder (in the name of stupidly understood efficiency like in famous Donald Knuth saying 'Premature optimization is the source of all evil')
- Registry was created when Microsoft as a software development company was already in decline with corporate infighting at the pitch level. It's clear that there was no solid centralized architecture for its content. Each Microsoft department has its own ideas and at the end all of them had found the way into registry. For example ability to execute programs is dispersed so widely that I suspect even Microsoft developers do not fully understand all places where it is possible.
- Functions of saving configuration changes and using registry as a fast notepad for storage of program settings like favorite, history of visited folders, etc are not separated which complicates monitoring configuration changes.
At the same time registry is powerful and flexible enough to provide some unique capabilities. In other words Microsoft registry is a malware heaven. And it really is.
Microsoft registry is a malware heaven |
Such a blowback for architecturally good, but badly executed and mismanaged idea. Like they say 'Road to hell is paved with good intentions'
In all versions of Windows, the registry can accumulate obsolete or redundant entries. In older versions of Windows like windows 95 it was a real problem and users suffered from registries containing huge numbers of redundant entries. This slowed computer operations; and could even lead to crashes. that means that tools to help to navigate registry, search it, backup/restore it and clean it should be part of the any Windows user toolbox. This situation is less acute in Windows XP and Windows 7 but still junk is registry problem exists. Moreover speed and memory size in modern PC actually repudiated the idea of having a specialized database instead of collection of text file in XML or similar formats -- notice the Microsoft changed MS word and Excel to zip-compressed XML based format going the opposite way :-)
In best Unix (or DOS) traditions such tools should be available as command line utilities and Microsoft does provide such tools for free.
First of all Microsoft utility reg.exe is available on most version of Windows. If provides the following capabilities:
Additional free tools from Microsoft also exist. They are just difficult to find :-). The right place to look areReskits.
The set of Microsoft registry tools in Reskits are still in the state of flux. They have overlapping functionality and it is not very clear what is exact or even major function for each utility due to this overlap. I have impression that in writing those utilities left hand did not know what right hand was doing: in other words there was no coherent strategy to provide those tools. When some Microsoft programmer feel a need for such a tool he wrote it and the best of those were packaged in the Resource Kits.
Also versions of the same tool for different version of Windows sometimes differ considerably. For example, thereg utility is different in NT Reskit v.1.1, Win2K Reskit v.2.0 and Win XP Reskit v.3.0.
Note:Free Registry Tools can often serve as a replacement of Microsoft registry tools.
An interesting series of articles about Windows registry was authored by Darren Mar-Elia, seeRecommended Articles section
NEWS CONTENTS
- 20070224 : REGFind ( REGFind, Feb 24, 2007 )
- 20051003 : Monitoring and Troubleshooting the Registry by Darren Mar-Elia ( Monitoring and Troubleshooting the Registry, Oct 3, 2005 )
- 20050705 : Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt ( Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt, Jul 5, 2005 )
- 20050705 : RegEditX - Tweaks for the Windows Registry Editor (REGEDIT) ( RegEditX - Tweaks for the Windows Registry Editor (REGEDIT), )
- 20041211 : Download Free Windows 2000 Resource Kit Tools ( Download Free Windows 2000 Resource Kit Tools, Dec 11, 2004 )
- 20041110 : Viewing and Manipulating the Registry ( Viewing and Manipulating the Registry, Nov 10, 2004 )
- 20041110 : Windows 2000 Registry Management ( Windows 2000 Registry Management, )
- 20041110 : Command Line Registry Edits ( Command Line Registry Edits, )
- 20041110 : Download Free Windows 2000 Resource Kit Tools ( Download Free Windows 2000 Resource Kit Tools, )
Old News ;-)
Top Visited | Switchboard |
Latest | |
Past week | |
Past month |
[Feb 24, 2007]REGFind: RegFind is a command-line tool with which you can search the Windows 2000 registry for arbitrary data, key names, or value names and optionally replace any of these with new values.
This is an outdated (replaced by reg /query) command-line utility that permits Windows registry searching. Avalable from the Windows 2000 Resource Kit. You can search the registry data, key names, or value names on the local or a remote computer. Regfind.exe supports numerous arguments to help you refine the registry search, such to search for specific types of values or malformed REG_SZ and REG_EXPAND_SZ values.
[Oct 3, 2005]Monitoring and Troubleshooting the Registry by Darren Mar-Elia
See also other papers by this author inRecommended Articles section
[Jul 5, 2005]Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt Mapping Tweak UI
Command PromptIf you're a command-line junkie like me, you'll appreciate file name and directory completion. The MS-DOS command prompt supports both of these features, but you have to enable them first. Table 5-27 describes the settings in the Command Prompt category in Tweak UI. Set the value CompletionChar
to the keystroke you want to use for file name completion, and set the value PathCompletionChar
to the keystroke you want to use for directory completion. You can use the same keystroke for both values. The value you use for key is the ASCII key code. Thus, Tab is 0x09. The value WordDelimiters
is a string of characters that delimit words on the command line when you press Ctrl+Right Arrow or Ctrl+Left Arrow. Create these values if they don't exist.
Table 5-27 Values in Command Prompt
Setting | Name | Type | Data |
HKCUSoftwareMicrosoftCommand Processor | |||
File name completion | CompletionChar | REG_DWORD | key |
Directory completion | PathCompletionChar | REG_DWORD | key |
HKCUConsole | |||
Word separators | WordDelimiters | REG_SZ | separators |
RegEditX - Tweaks for the Windows Registry Editor (REGEDIT) free beta
RegEditX makes your registry editing more productive than ever. RegEditX extends the standard Windows Registry Editor (REGEDIT), so you don't have to learn new ways of accomplishing tasks you already know how to perform. Just keep using the same familiar Registry Editor --- more efficiently.
Once you've tried RegEditX, you won't want to edit the registry any other way.
[Dec 11, 2004]Download Free Windows 2000 Resource Kit Tools some useful Win 2K reskit tools
- REG: This tool enables you to add, change, delete, search, backup, restore, and perform other operations on registry entries from the command prompt or a batch file. It can be used on both local and remote computers. Note: This version of REG is in fact version 1.10 from the NT4 Resource Kit. It works with Windows 2000 but is not the version 2 that comes with the 2000 Reskit and is very much updated and with differing syntax to version 1.10, nor is it the version 3 that comes bundled with Windows XP (Thanks Pete!)
REGBack: Registry Backup - Registry Backup (RegBack) is a tool for backing up the Windows Registry to files without use of a tape drive. RegBack allows you to back up Registry hives while the system is running and has the hive files open.
REGFind: RegFind is a command-line tool with which you can search the Windows 2000 registry for arbitrary data, key names, or value names and optionally replace any of these with new values.
REGINI: Registry Change by Script - This tool uses character-based batch files to add keys to the Windows 2000 registry by specifying a registry script.
REGRest: Registry Restoration - Registry Restoration (RegRest) restores Registry hive files from backups created by RegBack.
Dureg: Registry Size Estimator - Shows how much data is stored in the registry, or in any registry subtree, key, or subkey.
[Nov 10, 2004]Viewing and Manipulating the Registry
RegdmpRegdmp is a Resource Kit utility that works hand-in-hand with Regini. As its name implies, it is used to dump the contents of the Registry. It works similarly to the Regedit export feature and creates output that is compatible with Regini scripts. Regdmp uses the same subtree names as Regini to specify which Registry path you want to dump. Using Regdmp, you can create Regini input scripts based on actual Registry values. You can then modify the contents of Regdmp output to make any modifications you need to the Registry. Figure 10 shows an example of using Regdmp to export the contents of the HKEY_CURRENT_USERControl PanelDesktop key.
The command to generate this output and redirect it to a file is as follows:
regdmp 'HKEY_CURRENT_USERControl PanelDesktop' desktop.ini
Windows 2000 Registry Management
How to Maintain Current Registry Backups in Windows NT 4.0 and Windows 2000
Microsoft Knowledge Base Article: 318149 - The solution that is described in this article is not supported by Microsoft. Use this method at your own risk.- HOW TO: Use the Registry Size Estimator Tool (Dureg.exe)
Microsoft Knowledge Base Article: 317382 - This step-by-step article describes how to use the Registry Size Estimator tool (Dureg.exe) to determine the size of the registry on a Microsoft Windows 2000-based computer. Dureg.exe is included in the Microsoft Windows 2000 Resource Kit, and is also available for download from here - How to Use Regini.exe to Set Permissions on Registry Keys
Microsoft Knowledge Base Article: 237607 - This article describes how to use the Regini.exe tool in the Microsoft Windows NT 4.0 Resource Kit to modify registry permissions from within a script. Registry Maintenance
Sample Chapter 2 from Osborne's Admin 911: Windows 2000 Registry. If your registry becomes corrupt, confused, or misguided, it affects the health of your computer and your software, and it hinders your ability to get any work done. Sometimes a sick registry is the result of user action, caused by somebody mucking around without the proper respect for the delicacy of the registry. Just as often, registry problems occur as a result of software installation procedures, hardware configuration, or general system configuration changes. If you plan registry maintenance properly, and execute that plan regularly, you can rescue your computer from the clutches of a registry that no longer works properly. That's what this chapter is about.Getting Rid of the Unwanted
Sample Chapter 8 from Mastering Windows 2000 Registry, published by Sybex, Inc.- System and Startup Settings
Sample Chapter 6 from Windows 2000 Registry, published by Prentice Hall, PTR. The Registry has much to do with the successful startup of Windows 2000. Once Windows 2000 starts, there are a number of settings you can modify in the Registry to control how the core operating system works, as well as to customize the startup process
Command Line Registry Edits
Reg.exe
Simple usage: REG operation operation [ QUERY | ADD | UPDATE | DELETE | COPY | SAVE | BACKUP | RESTORE | LOAD | UNLOAD ]
For example: Reg add hkcusoftwaretestkeytestvalue=1 reg_dword testsr
Reg can access the whole of the registry and uses the codes HKCU, HKLM, HKCR, HKU and HKCC to refer to the various hives in the registry. Reg is not case-sensitive.
The Reg operations can be used with remote machines by adding the UNC name of the server to the end of the command line (see reg add /? for more help).
Reg can be found on the Resource Kit supplements. It provides much of the functionality of the previous utilities in a series of commands that are much like the Net command. One of the advantages of using Reg is that the syntax remains the same throughout the tool. It will also back up and restore the registry and provide the options to load and unload parts of the registry on the fly. However, Reg can't search the registry as Regfind can, and it has had its problems and revisions. For example, there was a problem with it not recognizing UNC machine names over 13 characters long, as it counted the two s as part of the name. It is advisable to download the latest version from supplements at ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386 as reg_x86.exe.
Download Free Windows 2000 Resource Kit Tools
REG: This tool enables you to add, change, delete, search, backup, restore, and perform other operations on registry entries from the command prompt or a batch file. It can be used on both local and remote computers. Note: This version of REG is in fact version 1.10 from the NT4 Resource Kit. It works with Windows 2000 but is not the version 2 that comes with the 2000 Reskit and is very much updated and with differing syntax to version 1.10, nor is it the version 3 that comes bundled with Windows XP (Thanks Pete!)
REGBack: Registry Backup - Registry Backup (RegBack) is a tool for backing up the Windows Registry to files without use of a tape drive. RegBack allows you to back up Registry hives while the system is running and has the hive files open.
REGFind: RegFind is a command-line tool with which you can search the Windows 2000 registry for arbitrary data, key names, or value names and optionally replace any of these with new values.
Recommended Links
Google matched content |
Softpanorama Recommended
Top articles
Sites
Microsoft Windows XP Registry Guide byJerry Honeycutt,
- Paperback: 512 pages
- Publisher: Microsoft Press; 1 edition (September 11, 2002)
- ISBN: 0735617880
322756 - How to back up, edit, and restore the registry in Windows XP and Windows Server 2003
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base
Alternative link:
Download the WinGuides.com Help Files
Windows Registry Guide 2003
Size: 1.4 MB
Platforms: Windows 95/98/ME/NT/2000/XP
Download now!
Windows XP Registry Backup 101
In this article we will cover the Windows XP Registry, its function importance and most importantly, how to apply a basic level of disaster prevention to your system in case a problem does occur. Backing up the Registry in Windows XP is simple, painless and can save you a headache when you need that backup.
Microsoft Windows 2000 Resource Kit: Registry Information
Several online books
This file provides detailed descriptions of Windows 2000 registry content, such as the subtrees, keys, subkeys, and entries that advanced users want to know about, including many entries that cannot be changed by using Windows 2000 tools or programming interfaces.
How to Restore the Registry
Step-by-step instructions on how to restore the system registry.
How To Use WinDiff to Compare Registry Files
How can you compare registry entries before and after an upgrade, the installation of a new software package, or between two computers?
Registry Settings Management in Deployment
The Registry Editor allows you to specify registry keys and values to be added to the registry of the target computer.
Office 2000 SR-1/Windows 2000 Utility: Registry Repair The Office 2000 SR-1/Windows 2000 Registry Repair Utility restores the registry settings for several important files that may cause Office 2000 SR-1 applications to behave oddly on Windows 2000.SubInACL (SubInACL.exe) SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.
Monitoring and Troubleshooting the Registry by Darren Mar-Elia
Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt Mapping Tweak UI
Command PromptIf you're a command-line junkie like me, you'll appreciate file name and directory completion. The MS-DOS command prompt supports both of these features, but you have to enable them first. Table 5-27 describes the settings in the Command Prompt category in Tweak UI. Set the value CompletionChar
to the keystroke you want to use for file name completion, and set the value PathCompletionChar
to the keystroke you want to use for directory completion. You can use the same keystroke for both values. The value you use for key is the ASCII key code. Thus, Tab is 0x09. The value WordDelimiters
is a string of characters that delimit words on the command line when you press Ctrl+Right Arrow or Ctrl+Left Arrow. Create these values if they don't exist.
Table 5-27 Values in Command Prompt
Setting | Name | Type | Data |
HKCUSoftwareMicrosoftCommand Processor | |||
File name completion | CompletionChar | REG_DWORD | key |
Directory completion | PathCompletionChar | REG_DWORD | key |
HKCUConsole | |||
Word separators | WordDelimiters | REG_SZ | separators |
Regedit
Reg
Reg is a command-line tool called the Console Registry Tool for Windows. It allows you work with the Registry to query, change, add or delete, export and more. Reg tool is different in NT Reskit v.1.1, Win2K Reskit v.2.0 and Win XP Reskit v.3.0. Syntax:
REG Operation [Parameter List]
Operation [ QUERY | ADD | DELETE | COPY |SAVE | LOAD | UNLOAD | RESTORE |COMPARE | EXPORT | IMPORT ]
Return code except of REG COMPARE (see below): 0 - Succussful, 1 - Failed
For help on a specific operation type:REG Operation /? . Examples:
REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?
The reg compare option replaces the CompReg utility that was available in NT 4.0's Resource Kit and lets you compare the contents of keys or values on local and remote machines. See Darren Mar-EliaMonitoring and Troubleshooting the Registry for details:
Reg's Compare OptionWinDiff is great if you want to compare dumps of two Registry trees. However, if you need to compare keys or values in real time against a running system's Registry, you should familiarize yourself with the reg utility's compare option. I first introduced reg in 'Viewing and Manipulating the Registry,' the third installment in this series. Reg is the Swiss Army knife of Registry tools. The reg compare option replaces the CompReg utility that was available in NT 4.0's Resource Kit and lets you compare the contents of keys or values on local and remote machines.
As an example of how you can use reg's compare option to compare two keys on the same machine, I compare the contents of HKEY_CURRENT_USERControl PanelDesktop and HKEY_USERSÊ.DefaultControl PanelDesktop. The command syntax for such a comparison follows:
reg compare 'HKU.DefaultControl PanelDesktop' 'HKCUControl PanelDesktop' /s /od
The /s option tells CompReg to check subkeys and values that exist under each key specified. The /od option instructs reg to show only the differences between the two keys. The output of the above command follows: As you can see, the command I typed found a number of differences under the desktop key. The greater than and less than signs at the beginning of each line indicate to which key the line belongs. The next piece of data tells you the value name and what type of value it is (e.g., REG_SZ). Finally, the number or text at the end indicates the actual data within the value for each of the compared keys.
XP commandline registry tool
i386 Resource KitCommand Line Registry Tool REG.EXE REG.EXEThis commands queries, adds, updates, deletes, copys, saves, backups, restores, loads and unloads:
- QUERY option
Explain to determine the Service Pack on a local machine
reg query 'HKLMSoftwareMicrosoftWindows NTCurrentVersionCSDVersion'Returns : REG_SZ CSDVersion Service Pack 5
To query on a remote machine just add to the end of the comand line the machine name such as:
reg query 'HKLMSoftwareMicrosoftWindows NTCurrentVersionCSDVersion' REMOTESERVER - LOAD and UNLOAD
Loads a registry hive in and out of the registry - SAVE and BACKUP
Both SAVE and BACKUP are identical.
For use for saving hives - RESTORE
For use for restoring hives
RegDmp
This command-line tool writes all or part of the Windows 2000registry to thestandard output (STDOUT). This output is displayed on the screen by default, but can also be redirected to a file. The output format is suitable for input toRegini.exe, another Windows 2000 Resource Kit tool.
RegDmp provides the following general information:
- User name and domain membership.
- Profile information (local versus roaming).
- Security group membership.
The tool also provides the following Group Policy information:
Regeditx Download App
- The last time policy was applied for both the user and the computer.
- The complete list of applied Group Policy objects and their details including a summary of the extensions that each Group Policy object contains.
- Registry settings that were applied and their details.
- Redirected folders that are and their details.
To access some parts of the registry, you must be a member of the Administrators group.
File Required Regdmp.exe. Command line options:
regdmp [{-mComputerName | -hHiveFileHiveRoot | -wDirectory}] [-in] [-oOutputWidth] [-s] [RegistryPath]
Where:
- -mComputerName
- specifies a remote Windows 2000 computer (machine) whose registry is to be manipulated.
- -hHiveFileHiveRoot
- specifies a local hive to manipulate.
- -wDirectory
- specifies the paths to system.dat and user.dat files.
- -in
- specifies the display indentation multiple. Default is 4.
- -oOutputWidth
- specifies how wide the output is to be. By default OutputWidth is set to the width of the console window, if standard output (STDOUT) has not been redirected to a file. In the latter case, an OutputWidth of 240 is used.
- -s
- specifies summary output, which includes value names, types and first line of data.
- [RegistryPath]
- specifies the point in the registry from which to start dumping. All entries below this point in the registry hierarchy are also dumped. If no path is specified, RegDmp dumps the entire registry, which can produce very lengthy output.
If the path contains spaces, it must be surrounded by quotations marks:
'Registry Path With Spaces'
When specifying a registry path, either on the command line or in an input file, the following prefix strings can be used:
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_USER
USER:
Each of these strings can stand alone as the key name or be followed a BACKSLASH and a subkey path
Examples:
C:>regdmp 'HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun'
Viewing and Manipulating the Registry
RegdmpRegdmp is a Resource Kit utility that works hand-in-hand with Regini. As its name implies, it is used to dump the contents of the Registry. It works similarly to the Regedit export feature and creates output that is compatible with Regini scripts. Regdmp uses the same subtree names as Regini to specify which Registry path you want to dump. Using Regdmp, you can create Regini input scripts based on actual Registry values. You can then modify the contents of Regdmp output to make any modifications you need to the Registry. Figure 10 shows an example of using Regdmp to export the contents of the HKEY_CURRENT_USERControl PanelDesktop key.
The command to generate this output and redirect it to a file is as follows:
regdmp 'HKEY_CURRENT_USERControl PanelDesktop' >desktop.ini
Regini
[Sept 28, 2004]Distributing Registry Changes in Windows 2000
If scripts are your favorite tools for configuration and setup tasks, you can use regini.exe to apply your scripting skills to registry edits. Regini provides more power than .reg files can muster, including the ability to delete subkeys and data items and to set permissions on registry keys. You can find Regini in the Microsoft Windows 2000 Server Resource Kit and the Microsoft Windows NT Server 4.0 Resource Kit. (I've successfully used the Win2K version of regini.exe on NT machines, and vice versa.)
The resource kits also contain full documentation (i.e., regini.doc) for this nifty utility. Regini uses the following syntax:
regini
Regeditx Download Torrent
where ScriptFileName is the path to a script file you've written to perform a specific registry edit. You can use Uniform Naming Convention (UNC) in the path statement if the script is on a network share.
To distribute registry changes that use Regini, you must make the program available to each target computer (assuming that you haven't installed the resource kits across your enterprise). You can use a batch file to map Regini's UNC path and then run the program. For example, if Regini resides on a network share named ResKit on a server named Tools1, you can create the following batch file:
Net use x: tools1reskit
x: regini
Net use x: /delete
Script File Guidelines
The script file you use with Regini can have any name and extension you want. The file must be in ANSI format; regini.exe converts the file to Unicode when it reads the file, but you can't use a Unicode text file as the script file. (Microsoft should fix this limitation.) Registry commands in this script file must use the following syntax:
Registry []
=
The presence of an equal sign in a line indicates that the line contains a registry data item and a value that you're adding, deleting, or modifying.
Lines in the script must have a carriage return at the end. If a line wraps, which usually happens when the registry key is deeply nested and therefore very long, the continuation symbol is a backslash. So, if you enter
Something
Morestuff
Evenmore
regini.exe reads the line as SomethingMorestuff Evenmore. Note that the space before the backslash on the second line inserts a space between Morestuff and Evenmore. If no space is required (i.e., if the point at which the wrapping occurs isn't a natural space such as the space within the name of a subkey), omit the space before the backslash.
The first line of each registry command contains the KeyPath variable, which is the full path to the key you're manipulating. If the key doesn't exist in the registry when you run the script, the command will add it. Regini.exe uses the kernel naming conventions for registry subtrees, and you can either enter kernel names in your script or use standard subtree names and let regini.exe translate them. (The kernel conventions are easier to type.) The kernel naming conventions for subtrees are as follows:
HKEY_LOCAL_MACHINE is RegistryMachine |
HKEY_USERS is RegistryUser |
HKEY_CURRENT_USER is RegistryUserUser_SID |
The first line can also contain an optional ACL variable. You can include this variable to manipulate ACL permissions instead of, or in addition to, keys and data items. The ACL data comes after the KeyPath variable and consists of a series of numbers separated by spaces and enclosed within square brackets. (Table 2 lists these numbers and their meanings.) For example, the following command:
Registrymachinesystemcurrentcontrolset [1 11 17]
assigns Administrators Full Access, Power Users Full Access, and System Full Access permissions to the HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet registry subkey.
Table 2 ACL Number Definitions
Number | Permissions for the Target Registry Key |
1 | Administrators Full Access |
2 | Administrators Read Access |
3 | Administrators Read and Write Access |
4 | Administrators Read, Write, and Delete Access |
5 | Creator Full Access |
6 | Creator Read and Write Access |
7 | World Full Access |
8 | World Read Access |
9 | World Read and Write Access |
10 | World Read, Write, and Delete Access |
11 | Power Users Full Access |
12 | Power Users Read and Write Access |
13 | Power Users Read, Write, and Delete Access |
14 | System Operators Full Access |
15 | System Operators Read and Write Access |
16 | System Operators Read, Write, and Delete Access |
17 | System Full Access |
18 | System Read and Write Access |
19 | System Read Access |
20 | Administrators Read, Write, and Execute Access |
21 | Interactive User Full Access |
22 | Interactive User Read and Write Access |
23 | Interactive User Read, Write, and Delete Access |
Watch out: This feature is dangerous if you don't understand the way it works. When you use this feature, you aren't adding the ACL permissions that you enclose within the brackets-you're resetting the ACLs. The data within the brackets replaces any existing data. Don't use this feature unless you first check the existing ACL for the key you're manipulating. (You can use regedt32 to view the ACL.) Otherwise, you might accidentally eliminate or modify permissions for a group.
The second line contains the information for the data item you're manipulating: DataItemName is the name of the data item and consists of every character from the first nonblank character on the line to the last nonblank character before the equal sign. You don't need to use a special format (e.g., enclosing the name in quotation marks) to handle data items with spaces. If the data item doesn't exist in the registry when you run the script, the command will add it.
DataType is the data type for the data item. Regini recognizes the text to the right of the equal sign, up to the first space, as the data type.
DataValue represents the value you're applying to the data item. This value begins with the first nonblank character following the space after the data type and continues to the end of the line. You don't need to use any special handling to specify spaces within a value.
Regini.exe expects the data type and its accompanying value in your script to match certain standards. These standards are as follows:
REG_SZ or REG_EXPAND_SZ for string values. |
REG_MULTI_SZ for multiple strings. You must surround each string with quotation marks. |
REG_DWORD for decimal or hex values. For REG_DWORD data items, the default value is decimal. Use 0x to specify a hex value. If you enter the value On, True, or Yes, the value is converted to 0x00000001; if you enter the value No, False, or Off, the value is converted to 0x00000000. |
REG_BINARY for binary values formatted as two or more decimal numbers. The first decimal number specifies the number of bytes of data that follow. The remaining numbers are converted into 32-bit numbers. (The value length must always be a multiple of 4 bytes.) |
Regini Features
Regini gives you several options for data manipulation. For example, DELETE is a regini.exe keyword that requires only the name of the data item. To remove a data item, enter the following syntax as the second (i.e., data item) line of your script:
DataItemName = DELETE
Regini.exe also has a neat feature that lets you point to a text file that contains the value for a data item. This feature eliminates the need to directly enter long binary values (for REG_BINARY data items) or many multiple strings (for REG_ MULTI_SZ data items). During execution, regini.exe opens the target file and writes its contents to the registry as the value for the data item. To use this feature, replace the item type with an instruction to use a file. The instruction includes a reference to the item type and uses the following syntax options:
For REG_BINARY data items: DataItemName = REG_BINARYFILE FilePath |
For REG_MULTI_SZ data items: DataItemName = REG_MULTISZFILE FilePath |
For example, if you enter the following script:
UserNicknamesForCompanyNewsletter = REG_MULTISZFILE myscriptsscript101.txt
Regini reads the content of the file named script101.txt and writes the contents as the value of the data item UserNicknamesForCompanyNewsletter. (I made up that data item for this example, so don't look for it in your registry.)
Putting It All Together
As an example of a complete command, review the following script. This command changes computer settings so that the most recent user's name doesn't appear in the Logon dialog box.
registrymachinesoftwaremicro
softwindowscurrentversionpoliciessystem
DontDisplayLastUserName = REG_DWORD 1
To make additional changes in the same subkey, you need only add lines below the line that references the subkey. As long as each additional line contains an equal sign, regini.exe properly handles the line's content. For example, the data items that control pre-logon messages (i.e., LegalNoticeText and LegalNoticeCaption) reside in the same registry subkey as the DontDisplayLastUserName item. To also configure the computer to display a message before users log on, simply add two lines to the previous script:
registrymachinesoftwaremicro
softwindowscurrentversionpoliciessystem
DontDisplayLastUserName = REG_DWORD 1
LegalNoticeText = REG_SZ Your E-Mail is Now Being Monitored
LegalNoticeCaption = REG_SZ Notice To Employees
Regclean
Scanreg
Etc
Society
Groupthink :Two Party System as Polyarchy : Corruption of Regulators :Bureaucracies :Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia :Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience :Who Rules America :Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
Quotes
War and Peace: Skeptical Finance : John Kenneth Galbraith :Talleyrand :Oscar Wilde :Otto Von Bismarck :Keynes :George Carlin :Skeptics :Propaganda : SE quotes : Language Design and Programming Quotes :Random IT-related quotes : Somerset Maugham :Marcus Aurelius :Kurt Vonnegut :Eric Hoffer :Winston Churchill :Napoleon Bonaparte :Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Bulletin:
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis :Political Skeptic Bulletin, 2013 :Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments :Slightly Skeptical Euromaydan Chronicles, June 2014 :Greenspan legacy bulletin, 2008 :Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) :Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 :Inequality Bulletin, 2009 :Financial Humor Bulletin, 2008 :Copyleft Problems Bulletin, 2004 :Financial Humor Bulletin, 2011 :Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult :Political Skeptic Bulletin, 2011 :Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
NEWS CONTENTS
- 20070224 : REGFind ( REGFind, Feb 24, 2007 )
- 20051003 : Monitoring and Troubleshooting the Registry by Darren Mar-Elia ( Monitoring and Troubleshooting the Registry, Oct 3, 2005 )
- 20050705 : Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt ( Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt, Jul 5, 2005 )
- 20050705 : RegEditX - Tweaks for the Windows Registry Editor (REGEDIT) ( RegEditX - Tweaks for the Windows Registry Editor (REGEDIT), )
- 20041211 : Download Free Windows 2000 Resource Kit Tools ( Download Free Windows 2000 Resource Kit Tools, Dec 11, 2004 )
- 20041110 : Viewing and Manipulating the Registry ( Viewing and Manipulating the Registry, Nov 10, 2004 )
- 20041110 : Windows 2000 Registry Management ( Windows 2000 Registry Management, )
- 20041110 : Command Line Registry Edits ( Command Line Registry Edits, )
- 20041110 : Download Free Windows 2000 Resource Kit Tools ( Download Free Windows 2000 Resource Kit Tools, )
Old News ;-)
Top Visited | Switchboard |
Latest | |
Past week | |
Past month |
[Feb 24, 2007]REGFind: RegFind is a command-line tool with which you can search the Windows 2000 registry for arbitrary data, key names, or value names and optionally replace any of these with new values.
This is an outdated (replaced by reg /query) command-line utility that permits Windows registry searching. Avalable from the Windows 2000 Resource Kit. You can search the registry data, key names, or value names on the local or a remote computer. Regfind.exe supports numerous arguments to help you refine the registry search, such to search for specific types of values or malformed REG_SZ and REG_EXPAND_SZ values.
[Oct 3, 2005]Monitoring and Troubleshooting the Registry by Darren Mar-Elia
See also other papers by this author inRecommended Articles section
[Jul 5, 2005]Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt Mapping Tweak UI
Command PromptIf you're a command-line junkie like me, you'll appreciate file name and directory completion. The MS-DOS command prompt supports both of these features, but you have to enable them first. Table 5-27 describes the settings in the Command Prompt category in Tweak UI. Set the value CompletionChar
to the keystroke you want to use for file name completion, and set the value PathCompletionChar
to the keystroke you want to use for directory completion. You can use the same keystroke for both values. The value you use for key is the ASCII key code. Thus, Tab is 0x09. The value WordDelimiters
is a string of characters that delimit words on the command line when you press Ctrl+Right Arrow or Ctrl+Left Arrow. Create these values if they don't exist.
Table 5-27 Values in Command Prompt
Setting | Name | Type | Data |
HKCUSoftwareMicrosoftCommand Processor | |||
File name completion | CompletionChar | REG_DWORD | key |
Directory completion | PathCompletionChar | REG_DWORD | key |
HKCUConsole | |||
Word separators | WordDelimiters | REG_SZ | separators |
RegEditX - Tweaks for the Windows Registry Editor (REGEDIT) free beta
RegEditX makes your registry editing more productive than ever. RegEditX extends the standard Windows Registry Editor (REGEDIT), so you don't have to learn new ways of accomplishing tasks you already know how to perform. Just keep using the same familiar Registry Editor --- more efficiently.
Once you've tried RegEditX, you won't want to edit the registry any other way.
[Dec 11, 2004]Download Free Windows 2000 Resource Kit Tools some useful Win 2K reskit tools
- REG: This tool enables you to add, change, delete, search, backup, restore, and perform other operations on registry entries from the command prompt or a batch file. It can be used on both local and remote computers. Note: This version of REG is in fact version 1.10 from the NT4 Resource Kit. It works with Windows 2000 but is not the version 2 that comes with the 2000 Reskit and is very much updated and with differing syntax to version 1.10, nor is it the version 3 that comes bundled with Windows XP (Thanks Pete!)
REGBack: Registry Backup - Registry Backup (RegBack) is a tool for backing up the Windows Registry to files without use of a tape drive. RegBack allows you to back up Registry hives while the system is running and has the hive files open.
REGFind: RegFind is a command-line tool with which you can search the Windows 2000 registry for arbitrary data, key names, or value names and optionally replace any of these with new values.
REGINI: Registry Change by Script - This tool uses character-based batch files to add keys to the Windows 2000 registry by specifying a registry script.
REGRest: Registry Restoration - Registry Restoration (RegRest) restores Registry hive files from backups created by RegBack.
Dureg: Registry Size Estimator - Shows how much data is stored in the registry, or in any registry subtree, key, or subkey.
[Nov 10, 2004]Viewing and Manipulating the Registry
RegdmpRegdmp is a Resource Kit utility that works hand-in-hand with Regini. As its name implies, it is used to dump the contents of the Registry. It works similarly to the Regedit export feature and creates output that is compatible with Regini scripts. Regdmp uses the same subtree names as Regini to specify which Registry path you want to dump. Using Regdmp, you can create Regini input scripts based on actual Registry values. You can then modify the contents of Regdmp output to make any modifications you need to the Registry. Figure 10 shows an example of using Regdmp to export the contents of the HKEY_CURRENT_USERControl PanelDesktop key.
The command to generate this output and redirect it to a file is as follows:
regdmp 'HKEY_CURRENT_USERControl PanelDesktop' desktop.ini
Windows 2000 Registry Management
How to Maintain Current Registry Backups in Windows NT 4.0 and Windows 2000
Microsoft Knowledge Base Article: 318149 - The solution that is described in this article is not supported by Microsoft. Use this method at your own risk.- HOW TO: Use the Registry Size Estimator Tool (Dureg.exe)
Microsoft Knowledge Base Article: 317382 - This step-by-step article describes how to use the Registry Size Estimator tool (Dureg.exe) to determine the size of the registry on a Microsoft Windows 2000-based computer. Dureg.exe is included in the Microsoft Windows 2000 Resource Kit, and is also available for download from here - How to Use Regini.exe to Set Permissions on Registry Keys
Microsoft Knowledge Base Article: 237607 - This article describes how to use the Regini.exe tool in the Microsoft Windows NT 4.0 Resource Kit to modify registry permissions from within a script. Registry Maintenance
Sample Chapter 2 from Osborne's Admin 911: Windows 2000 Registry. If your registry becomes corrupt, confused, or misguided, it affects the health of your computer and your software, and it hinders your ability to get any work done. Sometimes a sick registry is the result of user action, caused by somebody mucking around without the proper respect for the delicacy of the registry. Just as often, registry problems occur as a result of software installation procedures, hardware configuration, or general system configuration changes. If you plan registry maintenance properly, and execute that plan regularly, you can rescue your computer from the clutches of a registry that no longer works properly. That's what this chapter is about.Getting Rid of the Unwanted
Sample Chapter 8 from Mastering Windows 2000 Registry, published by Sybex, Inc.- System and Startup Settings
Sample Chapter 6 from Windows 2000 Registry, published by Prentice Hall, PTR. The Registry has much to do with the successful startup of Windows 2000. Once Windows 2000 starts, there are a number of settings you can modify in the Registry to control how the core operating system works, as well as to customize the startup process
Command Line Registry Edits
Reg.exe
Simple usage: REG operation operation [ QUERY | ADD | UPDATE | DELETE | COPY | SAVE | BACKUP | RESTORE | LOAD | UNLOAD ]
For example: Reg add hkcusoftwaretestkeytestvalue=1 reg_dword testsr
Reg can access the whole of the registry and uses the codes HKCU, HKLM, HKCR, HKU and HKCC to refer to the various hives in the registry. Reg is not case-sensitive.
The Reg operations can be used with remote machines by adding the UNC name of the server to the end of the command line (see reg add /? for more help).
Reg can be found on the Resource Kit supplements. It provides much of the functionality of the previous utilities in a series of commands that are much like the Net command. One of the advantages of using Reg is that the syntax remains the same throughout the tool. It will also back up and restore the registry and provide the options to load and unload parts of the registry on the fly. However, Reg can't search the registry as Regfind can, and it has had its problems and revisions. For example, there was a problem with it not recognizing UNC machine names over 13 characters long, as it counted the two s as part of the name. It is advisable to download the latest version from supplements at ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386 as reg_x86.exe.
Download Free Windows 2000 Resource Kit Tools
REG: This tool enables you to add, change, delete, search, backup, restore, and perform other operations on registry entries from the command prompt or a batch file. It can be used on both local and remote computers. Note: This version of REG is in fact version 1.10 from the NT4 Resource Kit. It works with Windows 2000 but is not the version 2 that comes with the 2000 Reskit and is very much updated and with differing syntax to version 1.10, nor is it the version 3 that comes bundled with Windows XP (Thanks Pete!)
REGBack: Registry Backup - Registry Backup (RegBack) is a tool for backing up the Windows Registry to files without use of a tape drive. RegBack allows you to back up Registry hives while the system is running and has the hive files open.
REGFind: RegFind is a command-line tool with which you can search the Windows 2000 registry for arbitrary data, key names, or value names and optionally replace any of these with new values.
Recommended Links
Google matched content |
Softpanorama Recommended
Top articles
Sites
Microsoft Windows XP Registry Guide byJerry Honeycutt,
- Paperback: 512 pages
- Publisher: Microsoft Press; 1 edition (September 11, 2002)
- ISBN: 0735617880
322756 - How to back up, edit, and restore the registry in Windows XP and Windows Server 2003
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base
Alternative link:
Download the WinGuides.com Help Files
Windows Registry Guide 2003
Size: 1.4 MB
Platforms: Windows 95/98/ME/NT/2000/XP
Download now!
Windows XP Registry Backup 101
In this article we will cover the Windows XP Registry, its function importance and most importantly, how to apply a basic level of disaster prevention to your system in case a problem does occur. Backing up the Registry in Windows XP is simple, painless and can save you a headache when you need that backup.
Microsoft Windows 2000 Resource Kit: Registry Information
Several online books
This file provides detailed descriptions of Windows 2000 registry content, such as the subtrees, keys, subkeys, and entries that advanced users want to know about, including many entries that cannot be changed by using Windows 2000 tools or programming interfaces.
How to Restore the Registry
Step-by-step instructions on how to restore the system registry.
How To Use WinDiff to Compare Registry Files
How can you compare registry entries before and after an upgrade, the installation of a new software package, or between two computers?
Registry Settings Management in Deployment
The Registry Editor allows you to specify registry keys and values to be added to the registry of the target computer.
Office 2000 SR-1/Windows 2000 Utility: Registry Repair The Office 2000 SR-1/Windows 2000 Registry Repair Utility restores the registry settings for several important files that may cause Office 2000 SR-1 applications to behave oddly on Windows 2000.SubInACL (SubInACL.exe) SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.
Monitoring and Troubleshooting the Registry by Darren Mar-Elia
Sample Chapter from Microsoft® Windows XP® Registry Guide by Jerry Honeycutt Mapping Tweak UI
Command PromptIf you're a command-line junkie like me, you'll appreciate file name and directory completion. The MS-DOS command prompt supports both of these features, but you have to enable them first. Table 5-27 describes the settings in the Command Prompt category in Tweak UI. Set the value CompletionChar
to the keystroke you want to use for file name completion, and set the value PathCompletionChar
to the keystroke you want to use for directory completion. You can use the same keystroke for both values. The value you use for key is the ASCII key code. Thus, Tab is 0x09. The value WordDelimiters
is a string of characters that delimit words on the command line when you press Ctrl+Right Arrow or Ctrl+Left Arrow. Create these values if they don't exist.
Table 5-27 Values in Command Prompt
Setting | Name | Type | Data |
HKCUSoftwareMicrosoftCommand Processor | |||
File name completion | CompletionChar | REG_DWORD | key |
Directory completion | PathCompletionChar | REG_DWORD | key |
HKCUConsole | |||
Word separators | WordDelimiters | REG_SZ | separators |
Regedit
Reg
Reg is a command-line tool called the Console Registry Tool for Windows. It allows you work with the Registry to query, change, add or delete, export and more. Reg tool is different in NT Reskit v.1.1, Win2K Reskit v.2.0 and Win XP Reskit v.3.0. Syntax:
REG Operation [Parameter List]
Operation [ QUERY | ADD | DELETE | COPY |SAVE | LOAD | UNLOAD | RESTORE |COMPARE | EXPORT | IMPORT ]
Return code except of REG COMPARE (see below): 0 - Succussful, 1 - Failed
For help on a specific operation type:REG Operation /? . Examples:
REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?
The reg compare option replaces the CompReg utility that was available in NT 4.0's Resource Kit and lets you compare the contents of keys or values on local and remote machines. See Darren Mar-EliaMonitoring and Troubleshooting the Registry for details:
Reg's Compare OptionWinDiff is great if you want to compare dumps of two Registry trees. However, if you need to compare keys or values in real time against a running system's Registry, you should familiarize yourself with the reg utility's compare option. I first introduced reg in 'Viewing and Manipulating the Registry,' the third installment in this series. Reg is the Swiss Army knife of Registry tools. The reg compare option replaces the CompReg utility that was available in NT 4.0's Resource Kit and lets you compare the contents of keys or values on local and remote machines.
As an example of how you can use reg's compare option to compare two keys on the same machine, I compare the contents of HKEY_CURRENT_USERControl PanelDesktop and HKEY_USERSÊ.DefaultControl PanelDesktop. The command syntax for such a comparison follows:
reg compare 'HKU.DefaultControl PanelDesktop' 'HKCUControl PanelDesktop' /s /od
The /s option tells CompReg to check subkeys and values that exist under each key specified. The /od option instructs reg to show only the differences between the two keys. The output of the above command follows: As you can see, the command I typed found a number of differences under the desktop key. The greater than and less than signs at the beginning of each line indicate to which key the line belongs. The next piece of data tells you the value name and what type of value it is (e.g., REG_SZ). Finally, the number or text at the end indicates the actual data within the value for each of the compared keys.
XP commandline registry tool
i386 Resource KitCommand Line Registry Tool REG.EXE REG.EXEThis commands queries, adds, updates, deletes, copys, saves, backups, restores, loads and unloads:
- QUERY option
Explain to determine the Service Pack on a local machine
reg query 'HKLMSoftwareMicrosoftWindows NTCurrentVersionCSDVersion'Returns : REG_SZ CSDVersion Service Pack 5
To query on a remote machine just add to the end of the comand line the machine name such as:
reg query 'HKLMSoftwareMicrosoftWindows NTCurrentVersionCSDVersion' REMOTESERVER - LOAD and UNLOAD
Loads a registry hive in and out of the registry - SAVE and BACKUP
Both SAVE and BACKUP are identical.
For use for saving hives - RESTORE
For use for restoring hives
RegDmp
This command-line tool writes all or part of the Windows 2000registry to thestandard output (STDOUT). This output is displayed on the screen by default, but can also be redirected to a file. The output format is suitable for input toRegini.exe, another Windows 2000 Resource Kit tool.
RegDmp provides the following general information:
- User name and domain membership.
- Profile information (local versus roaming).
- Security group membership.
The tool also provides the following Group Policy information:
Regeditx Download App
- The last time policy was applied for both the user and the computer.
- The complete list of applied Group Policy objects and their details including a summary of the extensions that each Group Policy object contains.
- Registry settings that were applied and their details.
- Redirected folders that are and their details.
To access some parts of the registry, you must be a member of the Administrators group.
File Required Regdmp.exe. Command line options:
regdmp [{-mComputerName | -hHiveFileHiveRoot | -wDirectory}] [-in] [-oOutputWidth] [-s] [RegistryPath]
Where:
- -mComputerName
- specifies a remote Windows 2000 computer (machine) whose registry is to be manipulated.
- -hHiveFileHiveRoot
- specifies a local hive to manipulate.
- -wDirectory
- specifies the paths to system.dat and user.dat files.
- -in
- specifies the display indentation multiple. Default is 4.
- -oOutputWidth
- specifies how wide the output is to be. By default OutputWidth is set to the width of the console window, if standard output (STDOUT) has not been redirected to a file. In the latter case, an OutputWidth of 240 is used.
- -s
- specifies summary output, which includes value names, types and first line of data.
- [RegistryPath]
- specifies the point in the registry from which to start dumping. All entries below this point in the registry hierarchy are also dumped. If no path is specified, RegDmp dumps the entire registry, which can produce very lengthy output.
If the path contains spaces, it must be surrounded by quotations marks:
'Registry Path With Spaces'
When specifying a registry path, either on the command line or in an input file, the following prefix strings can be used:
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_USER
USER:
Each of these strings can stand alone as the key name or be followed a BACKSLASH and a subkey path
Examples:
C:>regdmp 'HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun'
Viewing and Manipulating the Registry
RegdmpRegdmp is a Resource Kit utility that works hand-in-hand with Regini. As its name implies, it is used to dump the contents of the Registry. It works similarly to the Regedit export feature and creates output that is compatible with Regini scripts. Regdmp uses the same subtree names as Regini to specify which Registry path you want to dump. Using Regdmp, you can create Regini input scripts based on actual Registry values. You can then modify the contents of Regdmp output to make any modifications you need to the Registry. Figure 10 shows an example of using Regdmp to export the contents of the HKEY_CURRENT_USERControl PanelDesktop key.
The command to generate this output and redirect it to a file is as follows:
regdmp 'HKEY_CURRENT_USERControl PanelDesktop' >desktop.ini
Regini
[Sept 28, 2004]Distributing Registry Changes in Windows 2000
If scripts are your favorite tools for configuration and setup tasks, you can use regini.exe to apply your scripting skills to registry edits. Regini provides more power than .reg files can muster, including the ability to delete subkeys and data items and to set permissions on registry keys. You can find Regini in the Microsoft Windows 2000 Server Resource Kit and the Microsoft Windows NT Server 4.0 Resource Kit. (I've successfully used the Win2K version of regini.exe on NT machines, and vice versa.)
The resource kits also contain full documentation (i.e., regini.doc) for this nifty utility. Regini uses the following syntax:
regini
Regeditx Download Torrent
where ScriptFileName is the path to a script file you've written to perform a specific registry edit. You can use Uniform Naming Convention (UNC) in the path statement if the script is on a network share.
To distribute registry changes that use Regini, you must make the program available to each target computer (assuming that you haven't installed the resource kits across your enterprise). You can use a batch file to map Regini's UNC path and then run the program. For example, if Regini resides on a network share named ResKit on a server named Tools1, you can create the following batch file:
Net use x: tools1reskit
x: regini
Net use x: /delete
Script File Guidelines
The script file you use with Regini can have any name and extension you want. The file must be in ANSI format; regini.exe converts the file to Unicode when it reads the file, but you can't use a Unicode text file as the script file. (Microsoft should fix this limitation.) Registry commands in this script file must use the following syntax:
Registry []
=
The presence of an equal sign in a line indicates that the line contains a registry data item and a value that you're adding, deleting, or modifying.
Lines in the script must have a carriage return at the end. If a line wraps, which usually happens when the registry key is deeply nested and therefore very long, the continuation symbol is a backslash. So, if you enter
Something
Morestuff
Evenmore
regini.exe reads the line as SomethingMorestuff Evenmore. Note that the space before the backslash on the second line inserts a space between Morestuff and Evenmore. If no space is required (i.e., if the point at which the wrapping occurs isn't a natural space such as the space within the name of a subkey), omit the space before the backslash.
The first line of each registry command contains the KeyPath variable, which is the full path to the key you're manipulating. If the key doesn't exist in the registry when you run the script, the command will add it. Regini.exe uses the kernel naming conventions for registry subtrees, and you can either enter kernel names in your script or use standard subtree names and let regini.exe translate them. (The kernel conventions are easier to type.) The kernel naming conventions for subtrees are as follows:
HKEY_LOCAL_MACHINE is RegistryMachine |
HKEY_USERS is RegistryUser |
HKEY_CURRENT_USER is RegistryUserUser_SID |
The first line can also contain an optional ACL variable. You can include this variable to manipulate ACL permissions instead of, or in addition to, keys and data items. The ACL data comes after the KeyPath variable and consists of a series of numbers separated by spaces and enclosed within square brackets. (Table 2 lists these numbers and their meanings.) For example, the following command:
Registrymachinesystemcurrentcontrolset [1 11 17]
assigns Administrators Full Access, Power Users Full Access, and System Full Access permissions to the HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet registry subkey.
Table 2 ACL Number Definitions
Number | Permissions for the Target Registry Key |
1 | Administrators Full Access |
2 | Administrators Read Access |
3 | Administrators Read and Write Access |
4 | Administrators Read, Write, and Delete Access |
5 | Creator Full Access |
6 | Creator Read and Write Access |
7 | World Full Access |
8 | World Read Access |
9 | World Read and Write Access |
10 | World Read, Write, and Delete Access |
11 | Power Users Full Access |
12 | Power Users Read and Write Access |
13 | Power Users Read, Write, and Delete Access |
14 | System Operators Full Access |
15 | System Operators Read and Write Access |
16 | System Operators Read, Write, and Delete Access |
17 | System Full Access |
18 | System Read and Write Access |
19 | System Read Access |
20 | Administrators Read, Write, and Execute Access |
21 | Interactive User Full Access |
22 | Interactive User Read and Write Access |
23 | Interactive User Read, Write, and Delete Access |
Watch out: This feature is dangerous if you don't understand the way it works. When you use this feature, you aren't adding the ACL permissions that you enclose within the brackets-you're resetting the ACLs. The data within the brackets replaces any existing data. Don't use this feature unless you first check the existing ACL for the key you're manipulating. (You can use regedt32 to view the ACL.) Otherwise, you might accidentally eliminate or modify permissions for a group.
The second line contains the information for the data item you're manipulating: DataItemName is the name of the data item and consists of every character from the first nonblank character on the line to the last nonblank character before the equal sign. You don't need to use a special format (e.g., enclosing the name in quotation marks) to handle data items with spaces. If the data item doesn't exist in the registry when you run the script, the command will add it.
DataType is the data type for the data item. Regini recognizes the text to the right of the equal sign, up to the first space, as the data type.
DataValue represents the value you're applying to the data item. This value begins with the first nonblank character following the space after the data type and continues to the end of the line. You don't need to use any special handling to specify spaces within a value.
Regini.exe expects the data type and its accompanying value in your script to match certain standards. These standards are as follows:
REG_SZ or REG_EXPAND_SZ for string values. |
REG_MULTI_SZ for multiple strings. You must surround each string with quotation marks. |
REG_DWORD for decimal or hex values. For REG_DWORD data items, the default value is decimal. Use 0x to specify a hex value. If you enter the value On, True, or Yes, the value is converted to 0x00000001; if you enter the value No, False, or Off, the value is converted to 0x00000000. |
REG_BINARY for binary values formatted as two or more decimal numbers. The first decimal number specifies the number of bytes of data that follow. The remaining numbers are converted into 32-bit numbers. (The value length must always be a multiple of 4 bytes.) |
Regini Features
Regini gives you several options for data manipulation. For example, DELETE is a regini.exe keyword that requires only the name of the data item. To remove a data item, enter the following syntax as the second (i.e., data item) line of your script:
DataItemName = DELETE
Regini.exe also has a neat feature that lets you point to a text file that contains the value for a data item. This feature eliminates the need to directly enter long binary values (for REG_BINARY data items) or many multiple strings (for REG_ MULTI_SZ data items). During execution, regini.exe opens the target file and writes its contents to the registry as the value for the data item. To use this feature, replace the item type with an instruction to use a file. The instruction includes a reference to the item type and uses the following syntax options:
For REG_BINARY data items: DataItemName = REG_BINARYFILE FilePath |
For REG_MULTI_SZ data items: DataItemName = REG_MULTISZFILE FilePath |
For example, if you enter the following script:
UserNicknamesForCompanyNewsletter = REG_MULTISZFILE myscriptsscript101.txt
Regini reads the content of the file named script101.txt and writes the contents as the value of the data item UserNicknamesForCompanyNewsletter. (I made up that data item for this example, so don't look for it in your registry.)
Putting It All Together
As an example of a complete command, review the following script. This command changes computer settings so that the most recent user's name doesn't appear in the Logon dialog box.
registrymachinesoftwaremicro
softwindowscurrentversionpoliciessystem
DontDisplayLastUserName = REG_DWORD 1
To make additional changes in the same subkey, you need only add lines below the line that references the subkey. As long as each additional line contains an equal sign, regini.exe properly handles the line's content. For example, the data items that control pre-logon messages (i.e., LegalNoticeText and LegalNoticeCaption) reside in the same registry subkey as the DontDisplayLastUserName item. To also configure the computer to display a message before users log on, simply add two lines to the previous script:
registrymachinesoftwaremicro
softwindowscurrentversionpoliciessystem
DontDisplayLastUserName = REG_DWORD 1
LegalNoticeText = REG_SZ Your E-Mail is Now Being Monitored
LegalNoticeCaption = REG_SZ Notice To Employees
Regclean
Scanreg
Etc
Society
Groupthink :Two Party System as Polyarchy : Corruption of Regulators :Bureaucracies :Understanding Micromanagers and Control Freaks : Toxic Managers : Harvard Mafia :Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience :Who Rules America :Neoliberalism : The Iron Law of Oligarchy : Libertarian Philosophy
Quotes
War and Peace: Skeptical Finance : John Kenneth Galbraith :Talleyrand :Oscar Wilde :Otto Von Bismarck :Keynes :George Carlin :Skeptics :Propaganda : SE quotes : Language Design and Programming Quotes :Random IT-related quotes : Somerset Maugham :Marcus Aurelius :Kurt Vonnegut :Eric Hoffer :Winston Churchill :Napoleon Bonaparte :Ambrose Bierce : Bernard Shaw : Mark Twain Quotes
Bulletin:
Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis :Political Skeptic Bulletin, 2013 :Unemployment Bulletin, 2010 : Vol 23, No.10 (October, 2011) An observation about corporate security departments :Slightly Skeptical Euromaydan Chronicles, June 2014 :Greenspan legacy bulletin, 2008 :Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) :Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 :Inequality Bulletin, 2009 :Financial Humor Bulletin, 2008 :Copyleft Problems Bulletin, 2004 :Financial Humor Bulletin, 2011 :Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult :Political Skeptic Bulletin, 2011 :Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law
History:
Regeditx Download Free
Fifty glorious years (1950-2000): the triumph of the US computer engineering :Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds :Larry Wall :John K. Ousterhout : CTSS : Multix OSUnix History : Unix shell history :VI editor :History of pipes concept :Solaris : MS DOS : Programming Languages History :PL/1 : Simula 67 :C :History of GCC development : Scripting Languages :Perl history :OS History : Mail :DNS : SSH : CPU Instruction Sets :SPARC systems 1987-2006 :Norton Commander :Norton Utilities :Norton Ghost :Frontpage history :Malware Defense History :GNU Screen : OSS early history
Classic books:
The Peter Principle : Parkinson Law : 1984 :The Mythical Man-Month : How to Solve It by George Polya :The Art of Computer Programming :The Elements of Programming Style :The Unix Hater's Handbook :The Jargon file :The True Believer :Programming Pearls :The Good Soldier Svejk : The Power Elite
Most popular humor pages:
Manifest of the Softpanorama IT Slacker Society :Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story :The Cuckoo's Egg :IT Slang : C++ Humor : ARE YOU A BBS ADDICT? :The Perl Purity Test :Object oriented programmers of all nations : Financial Humor :Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor :Goldman Sachs related humor :Greenspan humor : C Humor :Scripting Humor :Real Programmers Humor :Web Humor : GPL-related Humor : OFM Humor :Politically Incorrect Humor :IDS Humor : 'Linux Sucks' Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor :Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor :Networking Humor :Shell Humor :Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 :Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor :Education Humor : IBM Humor : Assembler-related Humor :VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor
The Last but not LeastTechnology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
Copyright © 1996-2020 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) in the author free time and without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
FAIR USE NOTICEThis site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.
This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree..
You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info |
Regeditx Download Utorrent
Disclaimer:
The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with.We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.
Last modified:September 12, 2017