zedox Posted March 2, 2006 Posted March 2, 2006 Ok, I have a .reg file that is executed from a batch file that is ran at T-12 during setup.Some of the reg tweaks are applied to the HKEY_CURRENT_USER, others HKLM, though after install some of the reg tweaks havnt worked? (I've executed my reg file after install before, and all the reg tweaks work)My question is, for settings that are applied to the Local User what should I do in order for them to be applied?
exrcizn Posted March 2, 2006 Posted March 2, 2006 Could you post your regtweaks...or at least the ones that don't work so we can check them out?
Grex Posted March 2, 2006 Posted March 2, 2006 Instead of HKCU, insert keys to HKU\.Default. When a user logs on for the first time the HKCU is created using HKU\.Default. I have not tested this, I'm not sure when the HKU\.Default hive is created but I would suspect that it is earlier than T-12.
zedox Posted March 2, 2006 Author Posted March 2, 2006 (edited) @ Grex I've tried that! @exrcizn Ok, I've attached the .reg tweak file.Here is a list of the Tweaks that dont seem to work (might I add; that they DO work if I apply it after installation, but this isn't convienient!); Remove 'Links' Folder From Favorites[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]"Locked"=dword:00000001"LinksFolderName"=""; DISABLE Animate windows when minimizing and maximizing[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]"MinAnimate"="0"; DISABLE Show translucent selection rectangle[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ListviewAlphaSelect"=dword:00000000; DISABLE Slide Taskbar Buttons[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"TaskbarAnimations"=dword:00000000; DISABLE Use Background Image for Each Folder Type[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ListviewWatermark"=dword:00000000; DISABLE Use Shadows[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ListviewShadow"=dword:00000000; DISABLE Smooth Scrolling[HKEY_CURRENT_USER\Control Panel\Desktop]"SmoothScroll"="0"; DISABLE Dragging of Full Windows[HKEY_CURRENT_USER\Control Panel\Desktop]"DragFullWindows"="0"; ENABLE Font Smoothing[HKEY_CURRENT_USER\Control Panel\Desktop]"FontSmoothing"="2""FontSmoothingType"="1"; DISABLE...; Fade or slide menus into view; Fade or slide tooltips into view; Fade out menu items after click; Show shadows under menus[HKEY_CURRENT_USER\Control Panel\Desktop]"UserPreferencesMask"=hex:B0,12,03,80; Change Fonts to Trebuchet MS[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]"IconFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,00,20,00,4D,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"MenuFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,00,20,00,4D,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"MessageFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,00,20,00,4D,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"SmCaptionFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,BC,02,00,00,00,00,00,00,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,00,20,00,4D,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00"StatusFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,00,00,00,00,54,00,72,00,65,00,62,00,75,00,63,00,68,00,65,00,74,00,20,00,4D,00,53,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 Edited March 2, 2006 by antonio_king
MHz Posted March 2, 2006 Posted March 2, 2006 Instead of HKCU, insert keys to HKU\.Default. When a user logs on for the first time the HKCU is created using HKU\.Default. I have not tested this, I'm not sure when the HKU\.Default hive is created but I would suspect that it is earlier than T-12. Bad idea.The Default User Profile is loaded during Windows Setup in place of a usual User Profile. Doing what you suggest is an absurd thing to do. Just apply the registry entries as is at T12. Some entries may not be accepted, such as Visual settings, which may need to be applied when a User Profile is logged on.
zedox Posted March 2, 2006 Author Posted March 2, 2006 Ok, so basically, any settings applied during the T-12 stage will be applied to the Default User, thus All Users that are created after it will also apply to?I'm trying to add it to an .inf file to be added during Text Mode setup...I'll post back if it works.
MHz Posted March 2, 2006 Posted March 2, 2006 Ok, so basically, any settings applied during the T-12 stage will be applied to the Default User, thus All Users that are created after it will also apply to?Any accounts created, will inherit the changes made to the registry at T12 as default. The registry entries that you posted may need to be applied at a time such as RunOnce as they are visual tweaks.
zedox Posted March 2, 2006 Author Posted March 2, 2006 True, I hope not, as these settings require a restart before taking effect.Although I guess it wouldn't be that bad.I'm just going to test the .inf file now, if that doesn't work I'll look at adding the tweaks to the registry via RunOnce.cheers for the input guys!
zedox Posted March 2, 2006 Author Posted March 2, 2006 .inf didnt work... looks like runonce is the only way!
exrcizn Posted March 2, 2006 Posted March 2, 2006 I'm curious to see if your reghacks will work well using RunOnce. I don't currently apply them using this method.
gunsmokingman Posted March 2, 2006 Posted March 2, 2006 Try using the HKEY_LOCAL_MACHINE for your reg from the Cmdlines.txt
zedox Posted March 2, 2006 Author Posted March 2, 2006 (edited) @ gunsmokingmanNot sure how you mean?@ exrciznI can't see why It wouldn't work?How do you mean you don't use this method?you mean you've applied the settings I'm trying to from your reg file, and it works? Edited March 2, 2006 by antonio_king
gunsmokingman Posted March 2, 2006 Posted March 2, 2006 During a install at about the 13 min mark you have the Cmdlines.txt Example My Cmdlines.txt[COMMANDS]"REGEDIT /S MediaPlayer-HK_U_D.reg""REGEDIT /S wmp10.reg""REGEDIT /S 000.reg""REGEDIT /S 020.reg""REGEDIT /S 040.reg""REGEDIT /S 060.reg""REGEDIT /S 080.reg""UserAcount.cmd""UaPrestart.cmd""RunOnceEx.cmd"Reg Key I am talking about Example[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\commission-junction.com]"http"=dword:00000004
exrcizn Posted March 2, 2006 Posted March 2, 2006 I process my registry entries exactly as gunsmokingman mentions using the cmdlines.txt file.
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