Jump to content

Recommended Posts

Posted

There are a lot of Reg tweaks that I use for my XP unattended install -- some of which I found right here, thanks guys! :rolleyes:

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!!!


Posted

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

Posted

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...

Posted

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!!!

:)

Posted

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.

  • 3 years later...
Posted

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 off

attrib -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.reg
REG UNLOAD HKEY_USERS\.Default_User

EXIT

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...