jbm Posted January 10, 2008 Share Posted January 10, 2008 I have a reg tweak that make it so your not asked if yoursure you want to delete a file before its moved to therecycle bin. which I apply both at T13 and when the commands inregistry key runonceex are run at first bootToday I was testing a new cd in vmware and my adduser.cmdfile didn't run so I was logged into the administator account. The tweak was working fine. So I ran the adduser.cmdfile and restarted the machine and was loggeed into the newlycreated account. Now the tweak wasn't working for this accountSo I added the tweak to the HKLM and HKU/.DEFAULT branches ofthe registry. And created a new user and logged into that account. But the tweak still wasn't working. while loggedinto that new account I checked the registry andHKLM and HKU/.DEFAULT had the correct value as installed by the tweakbut HKCU had the old value.I'm assuming that it's being over written when new accounts are first logged into. but I don't know what or if thats the case. Link to comment Share on other sites More sharing options...
kmaheshkumar Posted January 10, 2008 Share Posted January 10, 2008 see thishttp://unattended.msfn.org/unattended.xp/view/web/27/it works for me i think u r logged in to administrator account at first time if the autologon is enabled in winnt.sifsorry if i am wrongwhat is the T13 i dont know about that Link to comment Share on other sites More sharing options...
jbm Posted January 10, 2008 Author Share Posted January 10, 2008 The adduser script works fine and I have autologon disabled in winnt.sif.my problem is with the registry tweaks Link to comment Share on other sites More sharing options...
Dustinwmew Posted January 10, 2008 Share Posted January 10, 2008 I have a reg tweak that make it so your not asked if yoursure you want to delete a file before its moved to therecycle bin. which I apply both at T13 and when the commands inregistry key runonceex are run at first bootAre you saying that you run the tweaks at T13 (svcpack.inf), or RunOnceEX that is at 1st logon? or some combo?I normal do HKCU tweaks at T12 (cmdlines.txt), to setup the default user. So, i don't know if anything is done beween T13, and T12. Link to comment Share on other sites More sharing options...
jbm Posted January 10, 2008 Author Share Posted January 10, 2008 A combo, I call a cmd file in cmdlines.txt that installs an inf with my tweaks.and call the same cmd file at first logon through runonceex. Link to comment Share on other sites More sharing options...
jbm Posted January 11, 2008 Author Share Posted January 11, 2008 After more searching, I found other people that had similar problems.The fix was to edit the ntuser.dat file in the defaultuser directory with regeditand to save a copy on the cd and copy it over during install.Noew to see if it works Link to comment Share on other sites More sharing options...
NaDer_GenKO Posted January 11, 2008 Share Posted January 11, 2008 i have a Similar case to your problem i add a regkey to "HKU/.Default/Software\Microsoft\Windows\CurrentVersion\Run" to run a program with all user that already exist and that will create lateand this keys i think should copy to the "HKCU\....\Run" to every user.i make this scenario to give every user an option to run the program or notand dosen't work and i don' know why? Link to comment Share on other sites More sharing options...
jbm Posted January 12, 2008 Author Share Posted January 12, 2008 I ended up editing hivedef.inf in the i386 folder to fix my problem.adding settings to HKU/.DEFAULT didn't work \. And copying NTUSER.DATdidn't work very well because I had trouble copying it unattendely.\Documents and settings\Default user\NTUSER.DAT doesn;t seen to be thesame as HLU\.DEFAULT.@NaDer_GenKO Do I don't know if the above would work for you or not.It sound like you need a script to run once for each user when theyfirst logon. HAve you had a llok at using the policy editor to runa stortup or logon script. Don[t know if that would work for you or not. Link to comment Share on other sites More sharing options...
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