Professor Frink Posted March 17, 2004 Posted March 17, 2004 There are a lot of Reg tweaks that I use for my XP unattended install -- some of which I found right here, thanks guys! But many of them are the "CURRENT_USER" variety, such as unlocking the taskbar, changing the power settings, etc. So if I run them during the installation, the tweaks are all applied to the local administrator account, naturally. But is there any way that I can make them apply to all users?The only option I can think of is listing them all in a .reg file and storing it in the WINNT folder. Then, when the user logs on and I set them up (printers, e-mail, and so on), I just run that .reg file and apply all those changes. Not a terrible solution, but I'd like something even easier. Thanks!!!
eirogge Posted March 17, 2004 Posted March 17, 2004 as described in unattended.msfn.org execute your regfile via cmdlines.txt as this is the only possibility to apply hkey_current_user settings to all created users after this point of the installation.for further information check the official guide
XtremeMaC Posted March 17, 2004 Posted March 17, 2004 this might be a hard solution but u can put them into hive*.inf's or as gosh suggested many times u can refer to his webpage and install those regs through infs...
Professor Frink Posted March 18, 2004 Author Posted March 18, 2004 I did some more in-depth reading of the boards, and tried the cmdlines.txt route (which I never did before). And I'll be damned if it didn't work!Thanks everyone, this board is an absolute Godsend!!!
airmr Posted March 19, 2004 Posted March 19, 2004 could anybody route me to that cmdlines.txt thing ?! Please
Wraith Posted March 19, 2004 Posted March 19, 2004 I've been thinking of testing XPlode's registry execution capabilities as running under a different user... will get back to you all on that. Might make a standalone app for people that don't want to use XPlode... if it works.
Wraith Posted March 19, 2004 Posted March 19, 2004 Okay, just did a test, it can import registry settings to a user on the system, even if it isn't logged in as that user.I might make a standalone exe in a few mins... Probably something like this:regimport.exe /user:Spike /pass:swordfish /file:registry.regEDIT:RegImport Thread: http://www.msfn.org/board/index.php?showtopic=16727
lordmontie Posted April 12, 2007 Posted April 12, 2007 You could also load the Default User NTUSER.DAT file like I did below to the "HKEY_USERS\.Default_User" location or any location you choose and run your HKCU registry tweaks to that location along with the HKCU. My regtweaks.cmd file below makes a backup of the DAT file then loads the DAT and runs the regtweaks.reg file. Lastly you unload the DAT file.regtweaks.cmd%SYSTEMDRIVE%\Install\cmdow.exe @ /HID@echo offattrib -H "%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT"copy "%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT" "%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT.BAK"attrib +H "%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT"attrib +H "%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT.BAK"REG LOAD HKEY_USERS\.Default_User "%SYSTEMDRIVE%\Documents and Settings\Default User\NTUSER.DAT"REGEDIT /S %SYSTEMDRIVE%\Install\regtweaks.regREG UNLOAD HKEY_USERS\.Default_UserEXIT
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now