March 17, 200422 yr 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!!!
March 17, 200422 yr 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
March 17, 200422 yr 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...
March 18, 200422 yr Author 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!!!
March 19, 200422 yr 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.
March 19, 200422 yr 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
April 12, 200719 yr 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
Create an account or sign in to comment