Jump to content

Tweaking the Default User


Recommended Posts

Just a couple of questions.

I want to add registry tweaks to the Default User. I am wondering which way this should be done.

Should I do it this way:

RunOnceEx partial contents:

-------------------------

REG ADD %KEY%\075 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\RegTweaks\Tweaks01.cmd" /f

REG ADD %KEY%\075 /V 2 /D "regedit.exe /s %systemdrive%\install\RegTweaks\Tweaks.reg" /f

REG ADD %KEY%\075 /V 3 /D "%systemdrive%\install\RegTweaks\Tweaks02.cmd" /f

-------------------------

Tweaks01.cmd contents:

------------------------

cmdow @ /HID

REG LOAD HKLM\Tweaks "%systemdrive%\Documents and Settings\Default User\ntuser.dat"

EXIT

------------------------

Tweaks02.cmd contents:

-------------------------

cmdow @ /HID

REG UNLOAD HKLM\Tweaks

EXIT

-------------------------

Tweaks.reg partial contents:

-------------------------

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Tweaks\Software\Microsoft\Whatevertweaks]

-------------------------

Or should it be done this way:

RunOnceEx partial contents:

-------------------------

REG ADD %KEY%\075 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\075 /V 1 /D "regedit.exe /s %systemdrive%\install\RegTweaks\Tweaks.reg" /f

-------------------------

Tweaks.reg partial contents:

-------------------------

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Software\Microsoft\Whatevertweaks]

-------------------------

Any advise would be kindly appreciated.

Link to comment
Share on other sites


Your tweaks won't affect default user if you run them from ROE - that is unless you force the immediate execution of ROE at T-12 by using the rundll32 iernonce.dll,RunOnceExProcess command.

I'd recommed putting your registry tweaks to single/multiple files and add them from cmdlines.txt.

Link to comment
Share on other sites

Your tweaks won't affect default user if you run them from ROE - that is unless you force the immediate execution of ROE at T-12 by using the rundll32 iernonce.dll,RunOnceExProcess command.

I'd recommed putting your registry tweaks to single/multiple files and add them from cmdlines.txt.

Sorry this was not the answer I was looking for. I have figured it out. The ntuser.dat file in the Default Profile is not the same as the regeistry key HKEY_USERS\.Deafult

Link to comment
Share on other sites

To Rambler,

I am sorry, I was the one mistaken.

And thanks to VAD for pointing this out.

So in the cmdlines.txt file. Should look something like this?

-------------

[COMMANDS]

"REG IMPORT DefaultTweaks.reg"

-----------------

With the "DefaultTweaks.reg" loacted in the $OEM$ folder.

Link to comment
Share on other sites

[COMMANDS]

"REGEDIT /S filename.reg"

would be correct

Added:

Here's the explanation on when to export the tweaks Link

That one is mine, I'm sure there are lots of others on the board. The guide desperately needs the article on reg tweaks.

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