quirrell Posted April 9, 2007 Share Posted April 9, 2007 here is my cmdlines.txt file:[COMMANDS]"Regedit /s regtweaks.reg"oempreinstall=yes in my sif fileboth the files are in my oem folderbut what is this that I have been told I need in my sif file:%systemdrive%\OEM \start.cmd. What is this start.cmd??? what does it do and how do I configure it.I am Totaly confused by this start.cmd reference Will sum1 pls educate me on the matter? Link to comment Share on other sites More sharing options...
mkh Posted April 10, 2007 Share Posted April 10, 2007 hellotry this:[COMMANDS]"Regedit /S regtwks.reg"also verify the content of :regtwks.regbye Link to comment Share on other sites More sharing options...
quirrell Posted April 10, 2007 Author Share Posted April 10, 2007 The command I entered in my cmdlines text file:[COMMANDS]"Regedit /s regtweaks.reg"is correct. The /s switch automatically accepts the prompt to click ok in the dialog box which pops up when you double click the file, and the regtweaks.reg reference is the name of the file I want to run.It is the start.cmd element of this line:%systemdrive%\OEM \start.cmd. that is baffling me.I am under the impression it is something to do with running the cmdlines.txt file from a command prompt automatically, but how do I fashion it? Something like this maybe?@echo offtitle Integrating registry tweaksechoecho Integrating registry tweaks...start cmdlines.txt /waitechoecho Doneexitso I put this in a file and name it start.cmd? Link to comment Share on other sites More sharing options...
neo Posted April 11, 2007 Share Posted April 11, 2007 [COMMANDS]"regedit /s tweaks.reg"Copy Ur tweaks.reg in $OEM$ folde located at root of CDUse this one and there is no need to set OemPreinstall=Yes in Ur WINNT.SIF Link to comment Share on other sites More sharing options...
betamax Posted April 12, 2007 Share Posted April 12, 2007 (edited) The start.cmd file you create yourself. It's only if you don't want to put commands directly in the cmdlines.txt file. You can specify .cmd files to run from cmdlines.txt. You can put start.cmd wherever you want. Most people put it in $OEM$\install on their install CD. Note that anything in the $OEM$ folder of the install CD will be copied to your root drive. So, when referencing this file from your cmdlines.txt file, it would look like[COMMANDS].\install\start.cmdSince cmdlines.txt is parsed from the root directory, you can use a dot (.) in your path.You start.cmd would look something like below:Start "Title" /wait %systemdrive%\install\some_application\setup.exe /switch /anotherswitchYou don't need to put anything in winnt.sif. People put a reference to start.cmd in [GuiRunOnce] of winnt.sif only if they're using GuiRunOnce which fires after the first login to windows. Cmdlines.txt is scanned for automatically by Setup. There is no need to tell windows to look for it. Cmdlines.txt is parsed at the T-12 phase of setup.Note, for your needs, you can probably just put the command directly in the cmdlines.txt file. You won't need start.cmd in that case. You WILL however need to have OEMPreinstall set to YES. This tells Setup to copy the contents of the $OEM$ folder from your cd drive to the root of the drive windows is being installed on (commonly referred to as %systemdrive% NOT TO BE CONFUSED WITH %systemroot% which is actually %systemdrive%\windows). Also, use REGEDT32.EXE instead of regedit:[COMMANDS]"REGEDT32.EXE /S regtweaks.reg"From http://unattended.msfn.org/unattended.xp/view/web/30/Start "Title" /wait %systemdrive%\install\some_application\setup.exe /switch /anotherswitchThe Start command above will launch some_application's installation program, setup.exe. The /wait switch tells the Start command to wait for setup.exe to finish installing before proceeding to the next line of code in the script. It's important to use /wait so the rest of the script doesn't get executed all at once, which would most likely cause conflicts in the number of setup applications being run at the same time. The "Title" parameter tells Start what to name the Command Console opened by Start (if any). Always provide the "Title" parameter, even though using the Start command to open Windows-based programs normally does not result in opening an additional Command Console. Omitting the "Title" parameter will often cause the Start command to inaccurately process switches for the program it is launching. The /wait switch will not work correctly for some programs launched by the Start command—for example when the program Start launched subsequently launches another program and then terminates itself. Start only waits for the program it launched to terminate before allowing the script to proceed, yet the subsequently launched programs could still be executing. In such cases use Sleep to pause the script to allow these subsequent programs to complete.Also check out http://unattended.msfn.org/unattended.xp/view/web/14/CMDLINES.TXT is located in the $OEM$ directory. During setup, CMDLINES.TXT is parsed (note the word parsed not executed) at T-12. [COMMANDS]"REGEDT32.EXE /S tweaks.reg""batch.cmd"CMDLINES.TXT is a VERY limited commandline interface. This means that MOST traditional DOS commands are not available, however external commands (REGEDT32.EXE , REG.EXE, etc. ) are available. Edited April 12, 2007 by betamax Link to comment Share on other sites More sharing options...
quirrell Posted April 14, 2007 Author Share Posted April 14, 2007 (edited) problem solved, thanks for your help guys.The prob was I was putting the files in the OEM drawer and not the $OEM$ drawer! Ah well you live and learn A few notes from my steep learning curve:1 oempreinstall=yes in my sif fileAs Betamax stated I can use this line without the start.cmd file - nice and clean - too many files all over the place makes for a confusing and messy disk!Thank you betamax have a housepoint - you`re a gent2 According to This link: http://support.microsoft.com/kb/141377, regedit32.exe for windows XP and winserver 2k3 quote:"In Windows XP and Windows Server 2003, Regedt32.exe is a small program that just runs Regedit.exe."The Article also points out the differences between regedit.exe and regedit32.exe for different versions of windows -and there are a few!Just run regedt32.exe on windows 2000 and WOW! - is this windows 3.1! (sysedit!) YAYcheers guys Edited April 14, 2007 by quirrell Link to comment Share on other sites More sharing options...
quirrell Posted April 14, 2007 Author Share Posted April 14, 2007 I was wrong! it hasn`t worked, but I get no errors!The registry tweaks I setup from within nlite have workedThe registry tweaks I set up from the $OEM$ folder have not, but I get no Errors from this routine T-12 what is going on here???are the regentries being reset somewhere along the way from t-12?Here is My regtweaks file:Windows Registry Editor Version 5.00; RC137;Disable Auto Reboot On Error[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000000 - shouldn`t this be set to 1 ?!?;Set driver signing policy to warn[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Driver Signing]"BehaviourOnFailVerify"=dword:00000001"Policy"=hex:01;Set Autoupdate to auto download but request to install[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]"AUOptions"=dword:00000003;Disable Remote Registry Service[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteRegistry]"Start"=dword:00000004;Recycle bin uses 15% of available space (not 10%)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\BitBucket]"Percent"=dword:0000000f;Speed up Network Browsing by removing Network Scheduled Tasks[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}];Speedup Internet by altering DNS Settings[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters] "CacheHashTableBucketSize"=dword:00000001 "CacheHashTableSize"=dword:00000180 "MaxCacheEntryTtlLimit"=dword:0000fa00 "MaxSOACacheEntryTtlLimit"=dword:0000012d;copy to and move to context menu[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers][HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}";Lock the homepage[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel]"HomePage"=dword:00000001[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]"HomePage"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoSaveSettings"=dword:00000000;Remove the shared documents folders[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoSharedDocuments"=dword:00000001; Adds Control Panel to right click of MY Computer[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Control Panel\command]@="rundll32.exe shell32.dll,Control_RunDLL";--------------------------------------------------------------------------------------------------------------------------------; Adds Add/Remove to right click of MY Computer[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs\command]@="control appwiz.cpl";--------------------------------------------------------------------------------------------------------------------------------; Adds Services to right click of MY Computer[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services]@=hex(2):53,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,00,00"SuppressionPolicy"=dword:4000003c[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\services\command]@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,00,73, 00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,63,00,2e,00,65,00,78,00, ;65,00,20,00,2f,00,73,00,20,00,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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00, ;32,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,65,00,73,00,2e,00,6d,00,73, 00,63,00,20,00,2f,00,73,00,00,00;--------------------------------------------------------------------------------------------------------------------------------; Adds Device Manager to right click of MY Computer[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr]@="Device Manager"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\command]@="mmc.exe %%SYSTEMDRIVE%%\\WINDOWS\\SYSTEM32\\devmgmt.msc";--------------------------------------------------------------------------------------------------------------------------------; Adds Registry Editor right click of MY Computer[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit]@="Registry Editor"[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\regedit\command]@="Regedit.exe";--------------------------------------------------------------------------------------------------------------------------------; Adds Logoff to right click of MY Computer ,I add the [] to group these[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[Logoff]\command]@="shutdown -l -f -t 5";--------------------------------------------------------------------------------------------------------------------------------; Adds Reboot to right click of MY Computer , I add the [] to group these[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[Reboot]\command]@="shutdown -r -f -t 5";--------------------------------------------------------------------------------------------------------------------------------; Adds Shutdown to right click of MY Computer,I add the [] to group these[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[Shutdown]\command]@="shutdown -s -f -t 5";--------------------------------------------------------------------------------------------------------------------------------; Adds MSCONFIG right click of MY Computer[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\msconfig]@="Microsoft Configurator"[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\msconfig\command]@="msconfig.exe";--------------------------------------------------------------------------------------------------------------------------------; Adds Turn Monitor Off to right click of MY Computer ; download the file from [url="http://www.koding.co.uk/index.php?page=monoff"]http://www.koding.co.uk/index.php?page=monoff[/url] and place it into %systemroot%\system32\ to work[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\[Turn Monitor Off]\command]@="hide.exe MonOff.exe";--------------------------------------------------------------------------------------------------------------------------------; Makes a right click option for unknown files (Open with notepad)[HKEY_CLASSES_ROOT\*\shell]@="\"notepad.exe %1\""[HKEY_CLASSES_ROOT\*\shell\open]@="Open &With Notepad"[HKEY_CLASSES_ROOT\*\shell\open\command]@="notepad.exe %1"; Control Panel Classic View [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"ForceClassicControlPanel"=dword:00000001; Improve Thumbnail Quality[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\"ThumbnailQuality"=dword:00000064; Windows will tell you exactly what it is doing when it is shutting down or is booting; This is the same as Extended Mode in nLite´s Customizations at the "Welcome Screen" part[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]"verbosestatus"=dword:00000001; Dis-allow spying by web-sites[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\ProtocolDefaults]"about"=dword:00000004; Enable DVD on Media Player; Values: Yes or No[HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings]"EnableDVDUI"="Yes"; Enable MP3 encoding with right button while surfing (needs Windows Media Player 9 or higher)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Settings\MP3Encoding]"HighRate"=dword:0004e200; Speed-up Access to AVI Media Files[-HKEY_CLASSES_ROOT\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}][-HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler];Notepad saves page setup and window positions[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"fSavePageSettings"=dword:00000001"fSaveWindowPositions"=dword:00000001;--------------------------------------------------------------------------------------------------------------------------------;Enable status bar in notepad[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"StatusBar"=dword:00000001;--------------------------------------------------------------------------------------------------------------------------------;Tahoma font as default[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"lfFaceName"="Tahoma";--------------------------------------------------------------------------------------------------------------------------------;Enable word wrap[HKEY_CURRENT_USER\Software\Microsoft\Notepad]"fWrap"=dword:00000001; Sort Start Menu and Favorites in Alphabetical Order[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu][-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Favorites]; Disable Automatic Restart in the event of a BSOD[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]"AutoReboot"=dword:00000000; Prefetcher tweak (faster booting) boot and program prefetch use 00000003 or Boot only 00000002[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]"EnablePrefetcher"=dword:00000003; Clear the Page File at System Shutdown for security (makes shutdown slower when activated)[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]"ClearPageFileAtShutdown"=dword:00000001; Use background image to each type of folder; Music folder will have that musical note on the corner, etc etc...;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced];"ListviewWatermark"=dword:00000001;Increase Network Throughput[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]"MaxCmds"=dword:00000064"MaxThreads"=dword:00000064"MaxCollectionCount"=dword:00000064;--------------------------------------------------------------------------------------------------------------------------------;Increase RPC Packet Size[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc]"MaxRpcSize"=dword:00100000; Adds Device Manager to right click of My Computer[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr]@="Device Manager"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\DevMgr\command]@="mmc.exe %%SYSTEMDRIVE%%\\WINDOWS\\SYSTEM32\\devmgmt.msc"; Adds Add/Remove to right click of My Computer[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs\command]@="control appwiz.cpl"; Add register / unregister to the context menu for .dll files[HKEY_CLASSES_ROOT\.dll]"Content Type"="application/x-msdownload"@="dllfile"[HKEY_CLASSES_ROOT\dllfile]@="Application Extension"[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]@="regsvr32.exe \"%1\""[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]@="regsvr32.exe /u \"%1\"";--------------------------------------------------------------------------------------------------------------------------------;Add register / unregister to the context menu for .ocx files[HKEY_CLASSES_ROOT\.ocx]@="ocxfile"[HKEY_CLASSES_ROOT\ocxfile]@="OCX"[HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command]@="regsvr32.exe \"%1\""[HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command]@="regsvr32.exe /u \"%1\"";Event Viewer Context menu[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\eventvwr]@="Event Viewer"[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\eventvwr\command]@="mmc.exe %%SYSTEMDRIVE%%\\WINDOWS\\SYSTEM32\\eventvwr.msc";Enable Quick Launch[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desk top]"TaskbarWinXP";Fix for DSO Exploit that Spybot complains about[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones]"1004"=dword:00000003;set cookies to prompt[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG]"Seed"=hex(3):55,EB,2F,B8,0E,3C,B7,49,E5,E0,AD,5F,2A,0A,01,6E,82,CF,B1,B8,ED,36,\ 48,D6,4B,37,A5,68,E5,9E,F5,AD,AD,A9,39,88,F4,5E,9E,D3,18,FF,C4,65,35,20,C4,5B,\ 26,B2,60,6B,12,A9,54,88,5D,9B,ED,A8,59,23,31,B6,CB,6E,E6,E9,78,D9,95,05,30,7E,\ EB,61,17,13,D0,8D[HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\Software\Microsoft\Window s\CurrentVersion\Internet Settings]"PrivacyAdvanced"=dword:00000001[HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\Software\Microsoft\Window s\CurrentVersion\Internet Settings\Connections]"SavedLegacySettings"=hex(3):46,00,00,00,06,01,00,00,01,00,00,00,00,00,00,00,00,\ 00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,90,EC,96,68,E6,74,C7,01,01,00,00,\ 00,AC,10,01,05,00,00,00,00,00,00,00,00,00,00,00,00[HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\Software\Microsoft\Window s\CurrentVersion\Internet Settings\Zones\3]"{AEBA21FA-782A-4A90-978D-B72164C80120}"=hex(3):1A,37,61,59,23,52,35,0C,7A,5F,20,\ 17,2F,1E,1A,19,0E,2B,01,73,13,37,13,12,14,1A,15,3B"{A8A88C49-5EB2-4990-A1A2-0876022C854F}"=hex(3):1A,37,61,59,23,52,35,0C,7A,5F,20,\ 17,2F,1E,1A,19,0E,2B,01,73,13,37,13,12,14,1A,15,3B;ControlPanelIconsView[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\RNG]"Seed"=hex(3):61,D8,8D,41,9B,69,5F,D7,C0,B8,F7,0E,E1,78,29,09,2E,5C,BA,12,53,A7,\ 8E,F6,BA,A2,76,5A,2E,C0,D2,7B,9D,2D,34,50,83,1C,D3,4A,28,18,EC,9E,C5,35,45,FB,\ 6B,A2,0B,5D,DC,9D,21,3B,21,E6,F2,9E,AF,45,34,8D,DB,11,51,EC,7F,42,FD,FB,3F,32,\ 85,52,B9,E9,CA,99[HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\Software\Microsoft\Window s\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021493-0000-0000-C000-000000000046}\Enum]"Implementing"=hex(3):1C,00,00,00,01,00,00,00,D7,07,04,00,06,00,0E,00,0A,00,1B,\ 00,0F,00,B5,01,07,00,00,00,14,96,56,21,95,B7,B1,46,85,F4,E7,37,A8,DC,09,AD,01,\ 24,D0,30,81,6A,D0,11,82,74,00,C0,4F,D5,AE,38,F3,31,EE,C4,68,47,D2,11,BE,5C,00,\ A0,C9,A8,3D,A1,61,4E,A2,EF,78,B0,D0,11,89,E4,00,C0,4F,C9,E2,6E,62,4E,A2,EF,78,\ B0,D0,11,89,E4,00,C0,4F,C9,E2,6E,64,4E,A2,EF,78,B0,D0,11,89,E4,00,C0,4F,C9,E2,\ 6E,31,9E,05,FF,5A,CC,2E,4E,BF,3B,96,E9,29,D6,55,03[HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\Software\Microsoft\Window s\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories\{00021494-0000-0000-C000-000000000046}\Enum]"Implementing"=hex(3):1C,00,00,00,01,00,00,00,D7,07,04,00,06,00,0E,00,0A,00,1B,\ 00,13,00,9C,00,02,00,00,00,25,8C,5C,4D,75,D0,D0,11,B4,16,00,C0,4F,B9,03,76,7F,\ DE,EA,BD,65,C2,D0,11,BC,ED,00,A0,C9,0A,B5,0FIf I try and do this manual I get a "cannot import registry files"... etc "error accessing the registry" responsetime to dig ! Aha - the game is afoot! EDIT by Shark007 - Please use CODEBOX tags when pasting large blocks of text. Link to comment Share on other sites More sharing options...
quirrell Posted April 14, 2007 Author Share Posted April 14, 2007 I Have a feeling that the reg file is too big. Maybe I should seperate it into it`s respective hives, then import - it what do you guys think?I Will try it anyway and see what gives YAY this is fun! Link to comment Share on other sites More sharing options...
quirrell Posted April 14, 2007 Author Share Posted April 14, 2007 (edited) it works ok on my compaq 2.4g machine! But not on the 1.5g pcchips machine - I have a corrupt file somewhere! on the installation - time for sfc I think! Edited April 14, 2007 by quirrell Link to comment Share on other sites More sharing options...
quirrell Posted April 15, 2007 Author Share Posted April 15, 2007 I have just put a virgin copy of xp on one of my test machines and the same problem ocurs.btw, sfc came up clear on the previuos os checkIf I d/c the individual files they import ok but if I d/c the large file (all tweaks in one file) it comes up with "error accessing the registry.Since this file imports fine on the Compaq machine it cannot be to big although I only have sp2 on the test macine and no other updates at the moment.I am at a loss at the mo, will have to do sum diggin again Link to comment Share on other sites More sharing options...
betamax Posted April 16, 2007 Share Posted April 16, 2007 It might be wroth beraking the .reg script up into multiple files. I'd suggest using the REG ADD command line utility in a .cmd script, but you have so many registry changes it would be painful to rewrite them all. Link to comment Share on other sites More sharing options...
uid0 Posted April 16, 2007 Share Posted April 16, 2007 I don't think you can put comments inline:"AutoReboot"=dword:00000000 - shouldn`t this be set to 1 ?!?Also you probably want to change this to HKEY_CURRENT_USER:[HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\ Link to comment Share on other sites More sharing options...
quirrell Posted April 22, 2007 Author Share Posted April 22, 2007 I won`t use inline comments again ok. [HKEY_USERS\S-1-5-21-1454471165-1343024091-725345543-500\1) I am under the impression that I cannot use the HKU key quoted above as windows won`t recognise it - it is a unique key created when windows was installed and will not be present on the target installation.2) I have to somehow get the settings for the regfile to install to the equivelent HKU ID key for the target installationAm I correct?anyone got any ideas on this? Link to comment Share on other sites More sharing options...
uid0 Posted April 23, 2007 Share Posted April 23, 2007 Why not use HKEY_CURRENT_USERAt the time cmdlines.txt runs, the current user is the default user, so tweaks here affect all subsequently added users 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