Badforyou2000 Posted April 22, 2005 Posted April 22, 2005 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" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\RegTweaks\Tweaks01.cmd" /fREG ADD %KEY%\075 /V 2 /D "regedit.exe /s %systemdrive%\install\RegTweaks\Tweaks.reg" /fREG ADD %KEY%\075 /V 3 /D "%systemdrive%\install\RegTweaks\Tweaks02.cmd" /f-------------------------Tweaks01.cmd contents:------------------------cmdow @ /HIDREG LOAD HKLM\Tweaks "%systemdrive%\Documents and Settings\Default User\ntuser.dat"EXIT------------------------Tweaks02.cmd contents:-------------------------cmdow @ /HIDREG UNLOAD HKLM\TweaksEXIT-------------------------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" /fREG 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.
Rambler Posted April 22, 2005 Posted April 22, 2005 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.
Badforyou2000 Posted April 22, 2005 Author Posted April 22, 2005 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
Vadikan Posted April 23, 2005 Posted April 23, 2005 Sorry this was not the answer I was looking for.<{POST_SNAPBACK}>You asked how to tweak the default user profile, and got the correct answer: import tweaks at T-12 from cmdlines.txt. I guess, you need to re-phrase you question then...
Badforyou2000 Posted April 23, 2005 Author Posted April 23, 2005 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.
Vadikan Posted April 23, 2005 Posted April 23, 2005 [COMMANDS]"REGEDIT /S filename.reg"would be correctAdded:Here's the explanation on when to export the tweaks LinkThat one is mine, I'm sure there are lots of others on the board. The guide desperately needs the article on reg tweaks.
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