Jump to content

Any way to add user specific registry entries?

Recommended Posts

I'm trying to add to my batch file the registry entries needed to remove some icons (Like "My Music") and make things like the Control Panel expand themselves. I've figured out which keys control this (yay for Advanced Registry Monitor :)), but the problem is that they lie in the HKCU area under those user-specific sections. I've thought about putting the changes under .DEFAULT, but I'm don't think that would help the current user. Is there any way you guys know of to determine this registry key for the current user to in order to make the necessary changes?


Link to post
Share on other sites


you want having all hkcu strings for each user which logon on your pc.


i have only 1 suggestion

goto regedit


load structure on c:\document and settings\default user\ntuser.dat

as ntuser

now go to your *.reg files and change with find


and replace


than execute the *.reg files

and unload ntuser from hkey_user

eache new created user have now the changes

the ntuser.dat file can you now slipstreaming on each installation

Link to post
Share on other sites

yes you can put the ntuser.dat to $oem$\c\ntuser.dat

on cmdlines.txt you can execute a batchfile called install.bat


move /y c:\ntuser.dat "C:\Documents and Settings\Default User\ntuser.dat"



this methode you will see that the moving was succesfuly

and all users have the registry-tweaks.

Link to post
Share on other sites

I'm sceptical ... Have you already done this? If so, have you installed to a DIFFERENT machine than that from which saved the ntuser.dat? This file is not on the distribution CD as it is built on each installation, and includes machine specific stuff like HDD mount points, GUID Identities, used by such things as Outlook Express (I know, I know...), Microsoft Input Devices. I may be mistaken, but I believe a move of this file would keep the current permissions - can a non-administrator access it? Tweaking the registry is already tricky business, I find it hard to belive that copying entier hives from one machine to another is without risk ... Then again, if it works for you, umso besser!

Link to post
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...