fly Posted June 2, 2006 Share Posted June 2, 2006 I have a reg file that I add with cmdlines.txt. Its all HKCU stuff. At that point, all HKCU stuff should become default for any user that logs on later, correct? It seems that some of the stuff gets added and some doesn't. I can't figure out why. For example, the 'Use Classic Search in Windows XP' key doesn't show up, but 'Disable Systray BalloonTips' does. Any ideas why?Here is the file:Windows Registry Editor Version 5.00; ***********************************************************; HKEY_CURRENT_USER KEYS; ***********************************************************; Set screensaver timeout[HKEY_CURRENT_USER\Control Panel\Desktop]"ScreenSaveTimeOut"="900";Enable Directory Completion in a Command Prompt window ;Press TAB to complete the remainder of a directory name;You can press the TAB multiple times to scroll through the choices[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]"PathCompletionChar"=dword:00000009;Disable Systray BalloonTips;Show File and Folder Names Using the Correct Case[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"EnableBalloonTips"="0""DontPrettyPath"=dword:00000001;Disable Print BalloonTips[HKEY_CURRENT_USER\Printers\Settings]"EnableBalloonNotificationsRemote"=dword:00000000;Turn on NUMLOCK at Windows XP Logon Box[HKEY_CURRENT_USER\Control Panel\Keyboard]"InitialKeyboardIndicators"="2";Use Classic Search in Windows XP[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]"Use Search Asst"="no";Force the Classical Control Panel Display Style. [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"ForceClassicControlPanel"=dword:00000001;Disable Personalized Menus (Start Menu items)[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"IntelliMenus"=dword:00000000;Default time-out before ending the task is defined by the value of WaitToKillAppTimeout[HKEY_CURRENT_USER\Control Panel\Desktop]"AutoEndTasks"="1""WaitToKillAppTimeout"="5000"; Enable old Outlook password dialog box[HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook\RPC]"DisableCredUI"=dword:00000001;****; FIN;**** Link to comment Share on other sites More sharing options...
T D Posted June 2, 2006 Share Posted June 2, 2006 Er, maybe e.g you have a tweak for office, you haven't installed office so when you do, it gets overwritten? Try converting the reg to inf format and adding it to hivesys.inf Link to comment Share on other sites More sharing options...
fly Posted June 2, 2006 Author Share Posted June 2, 2006 Er, maybe e.g you have a tweak for office, you haven't installed office so when you do, it gets overwritten? Try converting the reg to inf format and adding it to hivesys.infSometimes I'm not so smart. That does explain the Office thing, but doesn't explain the Classic Search... Link to comment Share on other sites More sharing options...
Delprat Posted June 2, 2006 Share Posted June 2, 2006 Windows modifies default user's settings on first gui boot (before first logon), some tweaks should be applied (again) right after...e.g. nlite uses a nlite.inf file, and runs it at multiple times during setup.++ Link to comment Share on other sites More sharing options...
fly Posted June 2, 2006 Author Share Posted June 2, 2006 Windows modifies default user's settings on first gui boot (before first logon), some tweaks should be applied (again) right after...e.g. nlite uses a nlite.inf file, and runs it at multiple times during setup.++Crap. Then how can I affect ALL users with the reg key? If I use HKCU after an account has actually logged on, it will only effect that account... Link to comment Share on other sites More sharing options...
Delprat Posted June 3, 2006 Share Posted June 3, 2006 replace "HKEY_CURRENT_USER\blablabla" with "HKEY_USERS\.DEFAULT\blablabla"(or "HKCU,blablabla" with "HKU,.DEFAULT\blablabla" in .inf files)but this will not affect ALL users, only those created after you import the tweaks (not a problem in unattended setups, but don't forget about it after)what i do is "duplicate" reg tweaks : both HKCU & HKU\.DEFAULT in the same file, i import it during T-13 (at this time, both keys are the same one), and i import it again after first admin logon (at this time, HKCU is the admin user and HKU\.DEFAULT is the default user)[you can't use oobeinfo.ini to create users with this method] Link to comment Share on other sites More sharing options...
fly Posted June 3, 2006 Author Share Posted June 3, 2006 Are you certain about that? I thought that I had read that .Default is only used when no one is logged on. There are very few keys listed in default... Link to comment Share on other sites More sharing options...
Delprat Posted June 3, 2006 Share Posted June 3, 2006 [ Legal notice ]I'm never absolutely certain of any/something. Generally speaking, all i say/write must be taken 'AS IS', should be true or should be false, should be right or should be wrong, should be what i beleive or should be a lie, should help you or should deserve you ; it should even be randomly typed characters that mean absolutely nothing despite the apparences...You've been warned ![ / Legal notice ]Yes, i'm sure it works for the tweaks i use.If you want a fully foolproof solution, use the reg.exe tool to load the "default user" hive in another key :REG LOAD HKU\Default_User "C:\Documents and Settings\Default User\ntuser.dat"REG IMPORT mytweaks.regREG UNLOAD HKU\Default_UserIn this case, you'll use "HKU\Default_User" in mytweaks.reg instead of HKCU. Link to comment Share on other sites More sharing options...
fly Posted June 3, 2006 Author Share Posted June 3, 2006 My apologies for questioning you, its just that I thought I had tried that before and it did not work. It is entirely possible that I am wrong though. I shall try that. If not, the Default User is an EXCELLENT idea. Thanks Link to comment Share on other sites More sharing options...
Djé Posted June 4, 2006 Share Posted June 4, 2006 Delprat, fly is right: HKU\.DEFAULT is NOT the default user's NTUSER.DAT, it's system32\config\default (used when no user is loged in).@T12 HKCU maps to HKU\.DEFAULT Right after that, the default user's NTUSER.DAT is created from by copying config\default.That is why your tweaks imported to HKCU are still working.You can check all these by using the method you gave (loading the default user's NTUSER.DAT).The outcome of this is: you never need to import to both HKCU & HKU\.DEFAULT:- @T12 they are the same,- right after T12 nothing from HKU\.DEFAULT will go anymore to the default user.Loading stuff to the default user's NTUSER.DAT is still the best and cleaner way to import setting for all users (before they're created of course) because it doesn't leave any dirt in HKU\.DEFAULT. Link to comment Share on other sites More sharing options...
Delprat Posted June 4, 2006 Share Posted June 4, 2006 Ok, now i understand things better...Except i have no sys32\config\default\ folder (only "systemprofile" there), but a sys32\config\default file (a hive i presume but i can't load it : access denied).no matter : seems like we all have a working solution Link to comment Share on other sites More sharing options...
T D Posted June 4, 2006 Share Posted June 4, 2006 access deniedUnlocker!( http://ccollomb.free.fr/unlocker/ ) (Just in case) Link to comment Share on other sites More sharing options...
Delprat Posted June 4, 2006 Share Posted June 4, 2006 It's not "file locked by another process", it's "access denied"...And it's denied by the user named "NT AUTHORITY\SYSTEM", which has "full control" over this file.May i delete this user ?/kidding Link to comment Share on other sites More sharing options...
Djé Posted June 4, 2006 Share Posted June 4, 2006 sys32\config\default file (a hive i presume...)Yep, as mentionned here:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\hivelistMaybe you can't load it because it is already loaded... Link to comment Share on other sites More sharing options...
Delprat Posted June 5, 2006 Share Posted June 5, 2006 Maybe you can't load it because it is already loaded...As you said previsouly, it's loaded here : \REGISTRY\USER\.DEFAULTAnd the "programmer's friendly name" of this path is HKEY_USERS\.DEFAULT+ 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