evilvoice Posted April 30, 2004 Posted April 30, 2004 Ok, I have learned to live with the fact that svcpack.inf is not gonna work for me, no idea why and it seems like there is no clear answer to this. Now my tweaks for HKCU arent working...though they never worked for me unless I apply them after a user is created (ie like logged in as admin). I have dumped all my HKCU reg settings in a file called HKCU.reg. I run it from cmdlines.txt as REGEDIT /S HKCU.reg. Do I need to specify .exe after regedit? I dont think so...I do know its not applying the tweaks because MSN starts up and I have it set not to. Also, if I apply them when im logged in, no more msn. Could it be a problem with VMWare? I could always test on a real environment I suppose, tho I somehow remember that it didnt work that way either. HKCU.reg is in the same folder as cmdlines.txt ($OEM$). Am I gonna have to knock everything into batch files? I have a batch called installs.cmd which loads ntuser.dat and adds a bunch of keys to that...OE fix, quicklaunch (which doesnt work in vmware in either installs or as a reg setting), command processor settings, screen saver disabled, max internet connections...these are only in the batch because as reg settings they were labeled as HKU\.Default so I dumped them in this...Im not even sure thats working, tho OE doesnt have the identity switch error (Its a multifaceted fix, so it may not even need what I do in installs.cmd...but who knows). Ok time for the question:Why am I having soo many problems with this?I have to run all hotfixes from cmdlines now and am lost on how to get my reg settings to apply for all users...Please help.
evilvoice Posted April 30, 2004 Author Posted April 30, 2004 These are my files:cmdlines.txt[COMMANDS]"RunOnceEx.cmd""REGEDIT /S HKCU.reg""installs.cmd"".\hotfixes\DOTNETFX.EXE /Q:U /R:N"".\hotfixes\DX9NTOPK.EXE /Q:U /R:N"".\hotfixes\MDAC_TYP.EXE /C:"dasetup.exe /q /n" /q:a"".\hotfixes\REG_MDAC.CMD"".\hotfixes\MM20ENU.EXE /Q:U /R:N"".\hotfixes\MPSETUP.EXE /Q:U /R:N"".\hotfixes\MSJVM.EXE"".\hotfixes\JS56NEN.EXE /Q:U /R:N"".\hotfixes\KB815021.EXE /O /U /N /Z"".\hotfixes\KB820291.EXE /O /U /N /Z"".\hotfixes\KB821253.EXE /O /U /N /Z"".\hotfixes\KB822603.EXE /O /U /N /Z"".\hotfixes\KB823182.EXE /O /U /N /Z"".\hotfixes\KB824105.EXE /O /U /N /Z"".\hotfixes\KB824141.EXE /O /U /N /Z"".\hotfixes\KB825119.EXE /O /U /N /Z"".\hotfixes\KB826939.EXE /O /U /N /Z"".\hotfixes\KB826942.EXE /O /U /N /Z"".\hotfixes\KB828035.EXE /O /U /N /Z"".\hotfixes\KB829558.EXE /O /U /N /Z"".\hotfixes\KB833407.EXE /O /U /N /Z"".\hotfixes\KB833998.EXE /O /U /N /Z"".\hotfixes\Q322011.EXE /O /U /N /Z"".\hotfixes\Q327405.EXE /Q:U /R:N"".\hotfixes\Q327979.EXE /O /U /N /Z"".\hotfixes\Q810243.EXE /O /U /N /Z"".\hotfixes\Q814995.EXE /O /U /N /Z"".\hotfixes\Q832894.EXE /Q:U /R:N"".\hotfixes\Q828026.EXE /O /U /N /Z"".\hotfixes\KB828741.EXE /O /U /N /Z"".\hotfixes\KB835732.EXE /O /U /N /Z"".\hotfixes\KB837001.EXE /O /U /N /Z"".\hotfixes\Q831167.EXE /Q:U /R:N"".\hotfixes\KB837009.EXE /Q:U /R:N"".\hotfixes\KB832353.EXE /O /U /N /Z"".\hotfixes\KB837272.EXE /O /U /N /Z"".\hotfixes\HMTCDWizard.exe /q"".\hotfixes\fm2paste.exe /Q:U /R:N"".\hotfixes\qchain.exe"installs.cmdreg load HKU\TempUser "C:\Documents and Settings\Default User\ntuser.dat"reg add HKU\Tempuser\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop /V TaskbarWinXP /t REG_BINARY /d 0c000000080000000200000000000000b0e22bd86457d011a96e00c04fd705a222001c000a0100001a000000010000000000000000000000000000004c0000000114020000000000c0000000000000468300000010000000a0b0485e898dbd0100d89ee42a8dbd010045fe5e898dbd01000000000000000001000000000000000000000000000000130114001f0fe04fd020ea3a6910a2d808002b30309d190023443a5c0000000000000000000000000000000000cd971500310000000000af245cb9108057696e6e7400002000310000000000af24a3b9100050726f66696c65730050524f46494c4553001900310000000000c1240892100069653530302e30303000002800310000000000c124089210004170706c69636174696f6e2044617461004150504c49437e31002100310000000000c5229d9110004d6963726f736f6674004d4943524f537e31002900310000000000d32232a61000496e7465726e6574204578706c6f72657200494e5445524e7e31002400310000000000db2276ba1000517569636b204c61756e636800515549434b4c7e310000008d0000001c000000010000001c000000360000000df0adba8c0000001a00000003000000e7182d231000000049453530305f58314300433a5c57494e4e545c50726f66696c65735c49453530302e3030305c4170706c69636174696f6e20446174615c4d6963726f736f66745c496e7465726e6574204578706c6f7265725c517569636b204c61756e6368000010000000050000a01a000000a3000000000000000800000002000000cc00000001000000030000004a0000000100000040003200e6010000c424159f20004c61756e636820496e7465726e6574204578706c6f7265722042726f777365722e6c6e6b004c41554e43487e322e4c4e4b00000040000000020000003600320048020000c424159f20004c61756e6368204f75746c6f6f6b20457870726573732e6c6e6b004c41554e43487e312e4c4e4b00000036000000000000002c00320051000000ec224639200053686f77204465736b746f702e7363660053484f5744457e312e53434600000052000000e00000000000000016000000000000000000000016000000000000000100000001000000aa4f2868486ad0118c7800c04fd918b437020000e000000000000000160000000000000000000000160000000000000001000000 /freg delete HKCU\Identities /freg add HKU\Tempuser\Identities /V "Identity Ordinal" /t REG_DWORD /d 1 /freg add HKU\Tempuser\Identities /V "Last User ID" /t REG_SZ /d {00000000-0000-0000-0000-000000000000} /freg add HKU\Tempuser\Identities /V "Last Username" /t REG_SZ /f reg add HKU\Tempuser\Identities /V "Migrated5" /t REG_DWORD /d 1 /freg add "HKU\Tempuser\Control Panel\Desktop" /V "ScreenSaveActive" /t REG_SZ /d 0 /freg add HKU\Tempuser\Console /V "HistoryBufferSize" /t REG_DWORD /d 100 /freg add HKU\Tempuser\Console /V "InsertMode" /t REG_DWORD /d 1 /freg add HKU\Tempuser\Console /V "LoadConIme" /t REG_DWORD /d 1 /freg add HKU\Tempuser\Console /V "NumberOfHistoryBuffers" /t REG_DWORD /d 4 /freg add HKU\Tempuser\Console /V "QuickEdit" /t REG_DWORD /d 1 /freg add HKU\Tempuser\Console /V "ScreenBufferSize" /t REG_DWORD /d 0x12c0050 /freg add HKU\Tempuser\Console /V "WindowSize" /t REG_DWORD /d 190050 /freg add HKU\Tempuser\Console /V "CurrentPage" /t REG_DWORD /d 0 /freg add "HKU\Tempuser\SOFTWARE\Microsoft\Command Processor" /V "CompletionChar" /t REG_DWORD /d 6 /freg add "HKU\Tempuser\SOFTWARE\Microsoft\Command Processor" /V "DefaultColor" /t REG_DWORD /d 0 /freg add "HKU\Tempuser\SOFTWARE\Microsoft\Command Processor" /V "EnableExtensions" /t REG_DWORD /d 1 /freg add "HKU\Tempuser\SOFTWARE\Microsoft\Command Processor" /V "PathCompletionChar" /t REG_DWORD /d 4 /freg add "HKU\Tempuser\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /V "MaxConnectionsPerServer" /t REG_DWORD /d 20 /freg add "HKU\Tempuser\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /V "MaxConnectionsPer1_0Server" /t REG_DWORD /d 20 /freg unload HKU\TempUserHKCU.regWindows Registry Editor Version 5.00 ;Broadband Tweak for Windows XP[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"MaxConnectionsPerServer"=dword:00000020"MaxConnectionsPer1_0Server"=dword:00000020 ;This allows more buttons on the taskbar[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]"MinWidth"="-285" ;This makes sure internet connection wizard doesnt popup[HKEY_CURRENT_USER\Software\Microsoft\Internet Connection Wizard]"Completed"=hex:01,00,00,00"DesktopChanged"=dword:00000001 ;This registry file is for Windows XP Family;no sounds[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\.Default\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceFail\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MailBeep\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuCommand\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuPopup\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\PrintComplete\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExit\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemHand\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemNotification\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStart\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogoff\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current]@=""[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.Current]@="" ;Configure Start Menu[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"CascadeControlPanel"="YES""CascadePrinters"="YES""ClassicViewState"=dword:00000001"DisableThumbnailCache"=dword:00000000"DontPrettyPath"=dword:00000000"Filter"=dword:00000000"FolderContentsInfoTip"=dword:00000000"FriendlyTree"=dword:00000001"Hidden"=dword:00000001"HideFileExt"=dword:00000000"HideIcons"=dword:00000000"ListviewAlphaSelect"=dword:00000001"ListviewShadow"=dword:00000001"ListviewWatermark"=dword:00000001"MapNetDrvBtn"=dword:00000000"NoNetCrawling"=dword:00000000"PersistBrowsers"=dword:00000000"SeparateProcess"=dword:00000000"ServerAdminUI"=dword:00000001"ShowCompColor"=dword:00000001"ShowInfoTip"=dword:00000000"ShowSuperHidden"=dword:00000001"Start_AdminToolsRoot"=dword:00000002"Start_AutoCascade"=dword:00000001"Start_EnableDragDrop"=dword:00000001"Start_LargeMFUIcons"=dword:00000000"Start_MinMFU"=dword:00000006"Start_NotifyNewApps"=dword:00000000"Start_ScrollPrograms"=dword:00000000"Start_ShowControlPanel"=dword:00000002"Start_ShowHelp"=dword:00000000"Start_ShowMyComputer"=dword:00000002"Start_ShowMyDocs"=dword:00000000"Start_ShowMyMusic"=dword:00000000"Start_ShowMyPics"=dword:00000000"Start_ShowNetConn"=dword:00000000"Start_ShowNetPlaces"=dword:00000000"Start_ShowPrinters"=dword:00000002"Start_ShowRecentDocs"=dword:00000000"Start_ShowRun"=dword:00000001"Start_ShowSearch"=dword:00000001"StartButtonBalloonTip"=dword:00000002"StartMenuAdminTools"=dword:00000001"StartMenuFavorites"=dword:00000000"StartMenuInit"=dword:00000002"SuperHidden"=dword:00000001"TaskbarAnimations"=dword:00000001"TaskbarGlomming"=dword:00000000"TaskbarSizeMove"=dword:00000001"WebView"=dword:00000001"WebViewBarricade"=dword:00000001 ;Disables Windows Tour bubble popup[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour]"RunCount"=dword:00000000 ;Disable the Desktop Cleanup Wizard[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]"NoRun"=dword:00000001 ;Remove MSN and Yahoo Messenger from startup[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"MsnMsgr"=""[HKEY_CURRENT_USER\Software\Yahoo\Pager]"launch on startup"=dword:00000000"tour"=dword:00000000 ;Disable Balloon Tips[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"EnableBalloonTips"=dword:00000000 ;Proxomitron Setting for Internet Explorer[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"ProxyEnable"=dword:00000001"ProxyServer"="http=localhost:8080;https=localhost:8080""ProxyOverride"="www.911cd.net;<local>" ;Change MenuShowDelay (Start Menu load speed)[HKEY_CURRENT_USER\Control Panel\Desktop]"MenuShowDelay"="2" ;Removes Sign up with Passport Wizard when trying to sign in MSN Messenger[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Passport]"RegistrationCompleted"=dword:00000001 ;NoLowDiskSpaceChecks won't check if you are low on diskspace and pop up a balloon telling you.;NoRecentDocsmenu removes the recent documents from the start menu.[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoLowDiskSpaceChecks"=dword:00000001"NoRecentDocsMenu"=dword:00000001 ;Configure Desktop[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000"{450D8FBA-AD25-11D0-98A8-0800361B1103}"=dword:00000000"{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000000 ;AutoEndTasks, HungAppTimeout, WaitToKillAppTimeout, and ForegroundLockTimeout improve shutdown time or application response if applications are hung.[HKEY_CURRENT_USER\Control Panel\Desktop]"AutoEndTasks"="1""ForegroundLockTimeout"=dword:00000000"HungAppTimeout"="100""WaitToKillAppTimeout"="1000" ;Enable word wrap and status bar in notepad, and give it Tahoma font[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"fWrap"=dword:00000001"StatusBar"=dword:00000001"lfFaceName"="Tahoma" ;Force Classic Control Panel[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"ForceClassicControlPanel"=dword:00000001 ;Remove the 'Shortcut to...' (00 00 00 00 = No Shortcut Text)[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]"link"=hex:00,00,00,00 ;Adds search keywords to Internet Explorer[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\g]@="http://www.google.com/search?q=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\a]@="http://www.astakiller.com/cgi-bin/robot?srch=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\t]@="http://tvtome.com/tvtome/servlet/Search?searchType=all&searchString=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\tv]@="http://www.tvguide.com//listings/search/SearchResults.asp?FormText=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\sc]@="http://www.shareconnector.com/modules.php?name=Edonkey&d_op=search&query=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\sr]@="http://www.sharereactor.com/search.php?category=0&search=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\f]@="http://www.filemirrors.com/search.src?file=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\mskb]@="http://support.microsoft.com/?kbid=%s"[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\w]@="http://en.wikipedia.org/wiki/%s" ;Media Player Stuff[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]"SilentAcquisition"=dword:00000000"SendUserGUID"=dword:00000000"UpgradeCodecPrompt"=dword:00000000"PlayerScriptCommandsEnabled"=dword:00000000 ;Change Default Search Options (1 = ON, 0 = OFF)[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]"SearchSystemDirs"=dword:00000001"SearchHidden"=dword:00000001"IncludeSubFolders"=dword:00000001"CaseSensitive"=dword:00000000"SearchSlowFiles"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]"Use Search Asst"="no" ;Set Power Configuration[HKEY_CURRENT_USER\Control Panel\PowerCfg]"CurrentPowerPolicy"="2" ;Disable User Tracking [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoInstrumentation"=dword:00000001"NoSimpleStartMenu"=dword:00000000"NoUserNameInStartMenu"=dword:00000001"MemCheckBoxInRunDlg"=dword:00000001"ClearRecentDocsOnExit"=dword:00000001"NoSaveSettings"=dword:00000000 ;Disable Changing Home Page[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]"HomePage"=dword:00000001 ;Disable links folder in explorer favorites so it never appears again.[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]"LinksFolderName"=-"LinksFolderName"="""Locked"=dword:00000001 ;Command Prompt Settings[HKEY_CURRENT_USER\Console]"HistoryBufferSize"=dword:00000100"InsertMode"=dword:00000001"LoadConIme"=dword:00000001"NumberOfHistoryBuffers"=dword:00000004"QuickEdit"=dword:00000001"ScreenBufferSize"=dword:012c0050"WindowSize"=dword:00190050"CurrentPage"=dword:00000000[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]"QuickEdit"=dword:00000001"ScreenBufferSize"=dword:09c40050"WindowSize"=dword:001e0050"HistoryNoDup"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]"CompletionChar"=dword:00000004"DefaultColor"=dword:00000000"EnableExtensions"=dword:00000001"PathCompletionChar"=dword:00000006 ;Details view with status bar[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]"Settings"=hex:09,00,00,00,04,00,00,00,00,00,00,00,00,77,7e,13,73,35,cf,11,ae,\69,08,00,2b,2e,12,62,04,00,00,00,03,00,00,00,43,00,00,00 ;All users have a common IE cache folder - %SYSTEMROOT%\Temporary Internet Files[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]"Cache"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\ 00,25,00,5c,00,54,00,65,00,6d,00,70,00,6f,00,72,00,61,00,72,00,79,00,20,00,\ 49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,46,00,69,00,6c,00,65,\ 00,73,00,00,00 ;Set the TEMP and TMP environment variable to use a common TEMP file[HKEY_CURRENT_USER\Environment]"TEMP"="%SystemRoot%\\TEMP""TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\ 25,00,5c,00,54,00,45,00,4d,00,50,00,00,00 ;don't warn me on switching between http and https[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"WarnOnZoneCrossing"=dword:00000000 ;no IE 'privacy' warning[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]"PrivDiscUiShown"=dword:00000001 ;don't auto-complete![HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"FormSuggest PW Ask"="no""Use FormSuggest"="no""FormSuggest Passwords"="no" ;don't prompt/do form submit[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]"1601"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms]"AskUser"=dword:00000000 ;0-day history[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Url History]"DaysToKeep"=dword:00000000 ;Disable ScreenSaver[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop]"ScreenSaveActive"=dword:00000000[HKEY_CURRENT_USER\Control Panel\Desktop]"ScreenSaveActive"=0
evilvoice Posted April 30, 2004 Author Posted April 30, 2004 As far as what runs...runonceex.cmdinstalls (dont know if it actually works, but the batch file runs)all hotfixes (according to windows update I have all installed)A few more questions...are there things that I can delete since I have it set in ntuser.dat...like the Internet Settings, Command Console? Or do I need both settings? Also, I load quicklaunch in both, could this be the reason it never loads in vmware? It does load in real environment.
rdalling Posted April 30, 2004 Posted April 30, 2004 I had lots of problems with settings until I changed the HKCU to load with the settings listed here. I also dont recommend using reg so much for loading values. I also use the full path when installing packages.cmdlines.txt[Commands] "REGEDIT /S d:\XP_Installed_Programs\XPUserSettingsHKCU.reg" "D:\XP_Installed_Programs\Hotfix1.bat"hotfix1.batEcho.Echo.Echo.Echo Installing Custom Program links ...QuickLaunch BarEcho. rem Installing some default linksMD "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch"copy D:\XP_Installed_Programs\d*.lnk "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" copy D:\XP_Installed_Programs\c*.lnk "C:\Documents and Settings\Default User\Start Menu\Programs\Accessories" Echo.Echo.Echo.Echo Installing 5 Updates... This can take a while! c:cd\tempEcho.Echo Patching:KB823182"%systemdrive%\Local\XP Hotfixes\SP1\WindowsXP-KB823182-x86-ENU.exe" -q -z Echo Patching:KB824105"%systemdrive%\Local\XP Hotfixes\SP1\WindowsXP-KB824105-x86-ENU.exe" -q /z -ER Echo Patching:KB825119"%systemdrive%\Local\XP Hotfixes\SP1\WindowsXP-KB825119-x86-ENU.exe" -q /z -ER Echo Patching:KB826939"%systemdrive%\Local\XP Hotfixes\SP1\WindowsXP-KB826939-x86-ENU.exe" -q /z -ER /pa /o Echo Patching:Q828026 "%systemdrive%\Local\XP Hotfixes\SP1\WindowsMedia-Q828026-x86-ENU.exe" -q -z -ERwinnt.sif[GuiRunOnce] "REGEDIT /S d:\XP_Installed_Programs\XPUserSettingsHKLM.reg"XPUserSettingsHKCU.regCustom Power settings *verified 4-21-04 [HKEY_CURRENT_USER\Control Panel\PowerCfg]"CurrentPowerPolicy"="3" [HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]"Policies"=hex:01,00,00,00,00,00,00,00,03,00,00,00,10,00,00,00,00,00,00,00,03,\ 00,00,00,10,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,03,00,\ 00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,01,00,00,\ 00,00,00,00,00,01,00,00,00,03,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,\ 04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,\ 00,16,00,00,00 [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies] [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]"Name"="Home/Office Desk""Description"="This scheme is suited to most home or desktop computers that are left plugged in all the time.""Policies"=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,00,03,04,00,00,00,04,00,\ 00,00,00,00,00,00,00,00,00,00,b0,04,00,00,2c,01,00,00,00,00,00,00,58,02,00,\ 00,01,01,64,50,64,64,00,00 [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\1]"Name"="Portable/Laptop""Description"="This scheme is designed for extended battery life for portable computers on the road.""Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,01,\ 00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,03,03,04,00,00,00,04,00,\ 00,00,01,00,00,00,14,f2,06,00,84,03,00,00,2c,01,00,00,08,07,00,00,2c,01,00,\ 00,01,01,64,50,64,64,95,71 [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\2]"Name"="Presentation""Description"="This scheme keeps the monitor on for doing presentations.""Policies"=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,01,\ 00,00,00,00,00,00,00,00,00,00,00,84,03,00,00,32,32,03,02,04,00,00,00,04,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,2c,01,00,\ 00,01,01,50,50,64,64,00,00 [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3]"Name"="Always On""Description"="This scheme keeps the computer running so that it can be accessed from the network. Use this scheme if you do not have network wakeup hardware.""Policies"=hex:01,00,00,00,00,00,00,00,01,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,32,32,00,00,04,00,00,00,04,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,01,64,64,64,64,00,00 [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\4]"Name"="Minimal Power Management""Description"="This scheme keeps the computer on and optimizes it for high performance.""Policies"=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,03,03,04,00,00,00,04,00,\ 00,00,00,00,00,00,00,00,00,00,84,03,00,00,2c,01,00,00,00,00,00,00,84,03,00,\ 00,00,01,64,64,64,64,00,00 [HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\5]"Name"="Max Battery""Description"="This scheme is extremely aggressive for saving power.""Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,05,\ 00,00,00,00,00,00,00,00,00,00,00,78,00,00,00,32,32,03,02,04,00,00,00,04,00,\ 00,00,00,00,00,00,00,00,00,00,84,03,00,00,3c,00,00,00,00,00,00,00,b4,00,00,\ 00,01,01,64,32,64,64,00,00 ;Do Not Receive Media Player Licences[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences]"SilentAcquisition"=dword:00000000 ;Auto-Complete[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]"Append Completion"="yes""Use AutoComplete"="yes""AutoSuggest"="yes" ;Speed up shutdown[HKEY_CURRENT_USER\Control Panel\Desktop]"HungAppTimeout"="5000""WaitToKillAppTimeout"="4000""FontSmoothingType"=dword:00000002 ;place holder for user icon changes if this is the correct section;[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache] ;change windows TEMP from %userprofile%\local settings\temp to %systemroot%\temp[HKEY_CURRENT_USER\Environment]"TEMP"="C:\\WINDOWS\\TEMP""TMP"="C:\\WINDOWS\\TEMP" ;Accepts the License agree ment for CD Creator[HKEY_CURRENT_USER\Software\Adaptec\CreateCD\5.0]"NotFirstTime"=dword:00000001"Registration"=dword:00000001 ;Skips the Internet Connection Wizard the first time you start Internet Explorer 6 [HKEY_CURRENT_USER\Software\Microsoft\Internet Connection Wizard]"Completed"=dword:00000001 ;force picture size to remain constant[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"Enable AutoImageResize"="no" ;Internet Explorer settings *verified 3-30-04 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]"LinksFolderName"="Links""Locked"=dword:00000001"BigBitmap"="FMStatic38.bmp""SmallBitmap"="FMStatic22.bmp""BrandBitmap"="FM38.bmp""SmBrandBitmap"="FM22.bmp""SmBrandLeadIn"=dword:00000004"BrandLeadIn"=dword:00000004 ;Enable Quicklaunch bar[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]"Toolbars"=hex:11,00,00,00,00,00,00,00"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\ d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\ 01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\ 00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\ bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\ 00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\ d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\ 00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\ b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\ 72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\ c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\ c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\ 50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\ 6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\ 32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\ 45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\ 20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\ 00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\ 00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\ 5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\ 5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\ 66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\ 6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\ 00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\ 4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\ 6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\ 77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\ 00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\ 63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\ 55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\ 51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\ 66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\ 00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\ 00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\ 00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\ 00,00,00,00,00,01,00,00,00 ;Internet Explorer Cache Limit *verified 4-13-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content]"CacheLimit"=dword:00005000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Content]"CacheLimit"=dword:00005000 ;show hidden files (1 = ON, 0 = OFF) *verified 3-30-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"Hidden"=dword:00000002"HideFileExt"=dword:00000000"ShowSuperHidden"=dword:00000000"WebViewBarricade"=dword:00000001 ;Settings for full path in Windows Explorer *verified 3-30-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]"FullPath"=dword:00000001 ;Change Default Search Options *verified 4-20-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]"SearchSystemDirs"=dword:00000001"SearchHidden"=dword:00000001"IncludeSubFolders"=dword:00000001"CaseSensitive"=dword:00000000"SearchSlowFiles"=dword:00000000 ;Force Classic Control Panel + start menu logoff *verified 3-30-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"ForceClassicControlPanel"=dword:00000001"ForceStartMenuLogOff"=dword:00000001 ;Remove Shared Documents from My Computer *verified 3-30-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoSharedDocuments"=dword:00000001 ;Visual Effects *verified 4-5-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]"VisualFXSetting"=dword:00000002 ;Data locations *verified 4-16-04 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]"Personal" ="D:\\Data""My Video" ="D:\\Data\\My Video""My Music" ="D:\\Data\\My Music""My Pictures"="D:\\Data\\My Pictures" ;disable the "search-dog" *verified 3-30-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]"Use Search Asst"="no" ;Disable Hideinactive Icons *verified 4-20-04 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]"EnableAutoTray"=dword:00000000Hope it helps...Roger
evilvoice Posted April 30, 2004 Author Posted April 30, 2004 Thank you, it gives me something to build from...if you have to use full paths, then I need to find out how to get it to where it doesnt rely on hardcoded path and uses variables instead.
rdalling Posted April 30, 2004 Posted April 30, 2004 Open a command prompt and type setyou can see all the predefined variables R
big_gie Posted April 30, 2004 Posted April 30, 2004 My cmdlines.txt looks like this:[Commands]"wscript ..\Programmes\scripts\xplode.js"wscript.exe is in the path. No problem with this. "..\" refers to the root of the CD, since cmdlines.txt is execute with the current folder being the folder cmdlines.txt is situated.I could suggest using XPlode for installing hotfixes/programs/tweaks as there is a log option that will tell you what wreng wrong without stoping the installation. Visit http://xplode.voidfx.com/I'm using the t-12 (cmdlines.txt) method since a year and didn't had any problem... I tryed using the t-9 a couple of days ago ([setupParams] from winnt.sif) and Alanoll told me that almost everything is unloaded at that time, and tweaks wont work.So you're using cmdlines.txt? It should work since tweaks works at that time... Are you sure your .reg file is error free? Don't forget the "Windows Registry Editor Version 5.00" or v4 at the top of the .reg file...good luck
evilvoice Posted April 30, 2004 Author Posted April 30, 2004 except the command prompt settings, everything else is tested and working...should I use regedit /s \HKCU.reg? I would think it would do the samer thing with or without the \...Im gonna try without /s and see if it errors...I may even try to see if regedit will load at this so I can verify the keys are in there...dunno but ill try. I would use XPlode but it took so much time to get to this point and then to have to go and transfer it all to xplode...itd take another couple of days (I dont work constantly on the same thing or ill get bored and scrap it).
Alanoll Posted April 30, 2004 Posted April 30, 2004 you can open regedit anytime during install.press <CRTL><f10> and it will bring up the command prompt. just type regedit.exe
evilvoice Posted April 30, 2004 Author Posted April 30, 2004 well seems like im an id***...It looks like most of the tweaks are applied in regedit...and I figured out why msn keeps running, its cuz I install it in runonceex.cmd and some other things are installed at that point so maybe thats why these arent working...Anyone know of a global way to keep msn and yahoo from loading on startup?
evilvoice Posted April 30, 2004 Author Posted April 30, 2004 Ok, one more question...doing the ntuser.dat load and unload, does this only work for a certain user? or will it transfer everything I add to it to every user? I guess Im just wondering what ntuser.dat becomes, if it becomes HKCU then cool, if not then I need to change some things LOL
rdalling Posted April 30, 2004 Posted April 30, 2004 If you have HKCU.reg in the cmdlines.txt, then you dont need to do anything with the ntuser.dat file. The registry add occurs before the ntuser.dat is loaded for all users. You can make changes to HKLM after the gui loads bucause they are for every profile...R
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