Jump to content

Modifying the hive. The easy way!


Recommended Posts

Hey all, i found this while searching the web for something.

Should be easy for everyone to modify the Hive if this works:

Or do this belong to the old news section?

Normally, you must modify the registry or use a GUI to modify settings for all users of computer, after you install Windows 2000.
If you install from a distribution share, you can make the modifications prior to installation.
There are five (5) .inf files in the \i386 folder that are used to create the registry hives for the installation:
Hivecls.inf creates Classes in HKEY_CURRENT_USER\Software and HKEY_LOCAL_MACHINE\SOFTWARE.
Hivedef.inf creates HKEY_USER\.DEFAULT and the Ntuser.dat for the default user.
Hivesft.inf creates HKEY_LOCAL_MACHINE\SOFTWARE.
Hivesys.inf creates HKEY_LOCAL_MACHINE\SYSTEM.
Hiveusd.inf does not create accessible hives.
If you wanted to implement some of the settings in tip 2517, you would add the following to Hivedef.inf:
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadeControlPanel",0,"YES"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadeNetworkConnections",0,"YES"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","CascadePrinters",0,"YES"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuAdminTools",0,"YES"HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuLogoff",65537,1HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuScrollPrograms",0,"YES"
All users who log on will have the following configured:
Expand Control PanelExpand Network and Dial-Up ConnectionsExpand PrintersDisplay Administrative ToolsDisplay LogoffScroll the Programs Menu
You can also change the values of default entries in these .inf files.
The easiest way to get these entries is to start with a clean install. Then:
1. Run SYSDIFF /SNAP on the computer.
2. Make the changes you want through the GUI interface and/or registry.
3. Run SYSDIFF /DIFF.
4. Run SYSDIFF /INF /M to record the registry changes to an .inf file. Copy these to the .inf file(s), in the logical order. Place HKLM,"X\Y\Z" after HKLM,"X\Y".
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...