andrew84uk Posted April 23, 2006 Share Posted April 23, 2006 (edited) When I run this installation using vmware my General.reg will not import into the registry.CMDLINES.TXT[COMMANDS]"Registry.cmd"Registry.cmd@ECHO offtitle Adding Registry KeysECHO.ECHO Unattended Installation Registry AddonECHO ----------------------------------------------ECHO.ECHO Adding Appearance Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Appearance.regECHO Complete!ECHO.ECHO Adding Internet Security Zone Blocklist Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Blocklists.regECHO Complete!ECHO.ECHO Adding Context-Menus Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Context-Menus.regECHO Complete!ECHO.ECHO Adding Dekstop Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Desktop.regECHO Complete!ECHO.ECHO Adding General System Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\General.regECHO Complete!ECHO.ECHO Adding Logon Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Logon.regECHO Complete!ECHO.ECHO.ECHO Adding My Computer Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\My-Computer.regECHO Complete!ECHO.ECHO Adding Network Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Network.regECHO Complete!ECHO.ECHO Adding Outlook Express Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Outlook-Express.regECHO Complete!ECHO.ECHO Adding Performance Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Performance.regECHO Complete!ECHO.ECHO Adding Internet Software Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Software-Internet.regECHO Complete!ECHO.ECHO Adding Software Other Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Software-Other.regECHO Complete!ECHO.ECHO Adding Startmenu And Taskbar Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Startmenu-TaskBar.regECHO Complete!ECHO.ECHO Adding Startup and Shutdown Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Startup-Shutdown.regECHO Complete!ECHO.ECHO Adding XP SP2 Tweaksstart /wait REGEDT32.EXE /S %systemdrive%\Install\Reg\Tweaks\Xp-Sp2.regECHO Complete!exitGeneral.regWindows Registry Editor Version 5.00;============================================================================;======================= GENERAL WINDOWS TWEAKS ===========================;============================================================================; Disable ALL Balloon Tips[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoSMBalloonTip"=dword:00000000; Disable Windows Tour[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]"RunCount"=dword:00000000; Show Detailed Information in Device Manager[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]"DEVMGR_SHOW_DETAILS"=dword:00000001"DEVMGR_SHOW_NONPRESENT_DEVICES"="1"; Set Keyboard Num-Lock to be ON by Default[HKEY_CURRENT_USER\Control Panel\Keyboard]"InitialKeyboardIndicators"="2"; Remove Windows Alexa Spyware[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}]; Remove Search Dog Assistant[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]"Use Search Asst"="no"; Disable StickyKeys[HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys]"Flags"="506"; Set Power Scheme[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3]; Disable Windows File Protection[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"SFCDisable"=dword:FFFFFF9D; Increase the USB Polling Interval[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Usb\0000]"IdleEnable"=dword:00000001; Disable Built-In CD Burning[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoCDBurning"=dword:00000001;Disable Error Reporting Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ERSvc]"Start"=dword:00000004Does any1 know why all my other registry tweaks are been applied at T-9 but this one registry tweak wont apply ? Thankyou in advanced. Any clues would be apreciated, its probably something I've missed. Edited April 23, 2006 by zen62619 Link to comment Share on other sites More sharing options...
urie Posted April 23, 2006 Share Posted April 23, 2006 Try removing General.reg from the top of your general.reg file Link to comment Share on other sites More sharing options...
andrew84uk Posted April 23, 2006 Author Share Posted April 23, 2006 Try removing General.reg from the top of your general.reg fileThe top lines is to represent what the file is called, sorry my bad. I have found a few mistakes with UARegistryTweakageDOTNET0.4.1 but I will report them later. I found that; Set Power Scheme[HKEY_CURRENT_USER\Control Panel\PowerCfg\CurrentPowerPolicy\3]Should be; Set Power Scheme[HKEY_CURRENT_USER\Control Panel\PowerCfg]"CurrentPowerPolicy"="3"The power setting is been applied now. Still dont understand why its not applying the rest. Link to comment Share on other sites More sharing options...
DL. Posted April 23, 2006 Share Posted April 23, 2006 Why not use just Regedit instead of start /wait REGEDT32.EXE?Add some delay in the end and maybe somewhere in the middle just to be sure. There are a few ways to do this, for example by using ping or sleep.Why do you use that many files?I myself use one large file (6000+ lines) and a few small files for some extra apps. Link to comment Share on other sites More sharing options...
andrew84uk Posted April 24, 2006 Author Share Posted April 24, 2006 (edited) Why not use just Regedit instead of start /wait REGEDT32.EXE?Add some delay in the end and maybe somewhere in the middle just to be sure. There are a few ways to do this, for example by using ping or sleep.Why do you use that many files?I myself use one large file (6000+ lines) and a few small files for some extra apps.The reason why I use as many Reg files is because I personally find it better to find a registry key if I no what area it is, example Appearence has my appearence registry keys in, I personally don't find it practical to have 6000+ registry keys in one file. Thankyou for the help though. I can see that when the batch file runs it does acctually launch the registry key but doesn't import them. There has been a few errors found but correctly but I am still gettin errors. Can HKEY_CURRENT_USER\ be imported at the T-9 stage ? ... Thankyou in advanced Edited April 24, 2006 by zen62619 Link to comment Share on other sites More sharing options...
DL. Posted April 24, 2006 Share Posted April 24, 2006 There are positive and negative sides with both ways (few large files vs. many small files).I find it easier to have a few large files, maybe because I've worked with my main file every now and then for approximately three years and therefore know it very well. It also results in a lot less files to update/add.Don't you mean at T-12, not at T-9?!Many .reg-settings can be imported at T-12, but not all. The settings imported at that stage will affect all users since they are applied to the default user profile.Read the regtweaks section in the MSFN Unattended Guide. Link to comment Share on other sites More sharing options...
andrew84uk Posted April 24, 2006 Author Share Posted April 24, 2006 There are positive and negative sides with both ways (few large files vs. many small files).I find it easier to have a few large files, maybe because I've worked with my main file every now and then for approximately three years and therefore know it very well. It also results in a lot less files to update/add.Don't you mean at T-12, not at T-9?!Many .reg-settings can be imported at T-12, but not all. The settings imported at that stage will affect all users since they are applied to the default user profile.Read the regtweaks section in the MSFN Unattended Guide.Ok, so from that conclusion when would i apply HKEY_CURRENT_USER registry keys, yes I ment T-12 sorry. Thanks Link to comment Share on other sites More sharing options...
andrew84uk Posted April 24, 2006 Author Share Posted April 24, 2006 DL that guide was it wrote by you ? Just got home from work and I must say whoever wrote it (Submitted by Vadikan), excellent explination. From the guide for the Registry The keys now have worked. Thanks Link to comment Share on other sites More sharing options...
DL. Posted April 24, 2006 Share Posted April 24, 2006 No, I didn't write it.The entire Unattended Guide is a great source of information in one place, make sure you read it if you haven't already. Link to comment Share on other sites More sharing options...
andrew84uk Posted April 25, 2006 Author Share Posted April 25, 2006 (edited) This problem has been solved, while reading the guide as DL mentioned. Also I have intergrated my registry keys like HKLM / HKCU / HKCR into one batch file for each, so I now only have 3 batch files that run the specific keys at specific times. Doing it this way did reduce the amount of files I had to edit, which saves time alittle. Well done all. Edited April 25, 2006 by zen62619 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