On Wed, May 28, 2008 at 5:51 AM, Stephen Kojoukhine <
[EMAIL PROTECTED]> wrote:

> What I'm curious about is, the %winver%-tweaks.pl file modifies the Default
> User hive AFTER the Administrator profile is already created. So how do
> those changes migrate over to the Administrator profile? Do changes made to
> the Default User somehow migrate over to profiles that already exist? Or
> does the tweaks.pl make changes simultaneously to both the default user and
> the current user?
>
> tweaks?  You mean the notips files?  Yes, they modify HKEY_CURRENT_USER and
ntuser.dat under the Default User.  They also, for some reason I don't
understand modify HKEY_USERS\.DEFAULT.  This is acutally the registry
settings for the Local System account and not the default user, yes the name
is confusing, but I don't know why any of those settings would need to be
modified.  I've edited my %winver%-notips.pl files to only edit the current
user and the default user hive and not the local system account.  Oh and
they make some changes to HKEY_LOCAL_MACHINE.

This is the default:
# Setup keys for per-user

foreach my $reg_key ($cuser_key, $defuser_key, $ntuser_key) {

This is what I changed to:
# Setup keys for per-user

foreach my $reg_key ($cuser_key, $ntuser_key) {

I also broke mine out into separate files for some different programs that
are the same across different versions of Windows.  This way I don't have to
maintain 2 or 3 HUGE files, those program settings aren't going to change
with different versions of Windows.  I just call those scripts from one of
my batch files.

Example:

todo.pl program-settings.pl
todo.pl program-installation.pl

So the program is installed, then the default settings are applied.

Also, note that you could use group policy to make most changes also, but it
all depends on your environment.

kevin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to