pax Posted June 13, 2006 Share Posted June 13, 2006 (edited) Hello People,I've been trying to create an unattended Windows 2000 SP4 CD with all the SCSI and RAID drivers for all our server models at work. I've done the winnt.sif and txtsetup.sif files. I've also edited the hivesys.inf file with the event log and drivers sections as per online websites.I keep getting corruptions in the hivesys.inf when installing. the latest one is on line 2034, but it is a blank line so I don't know what is causing it. Below I've got an extract of the area around line 2034, and included the line numbers. Can someone see something I cannot about what is causing the problem??2011 HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Security","bb2c0980-e900-11d1-b07e-0080c71382bf",0x00030003,\20122013 01,00,04,80,14,00,00,00,24,00,00,00,00,00,00,00,\20142015 34,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\20162017 20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\20182019 20,02,00,00,02,00,00,02,03,00,00,00,00,00,14,00,\20202021 ff,07,02,00,01,01,00,00,00,00,00,05,12,00,00,00,\20222023 00,00,18,00,ff,07,02,00,01,02,00,00,00,00,00,05,\20242025 20,00,00,00,20,02,00,00,00,00,14,00,05,00,02,00,\20262027 01,01,00,00,00,00,00,01,00,00,00,00,00,00,00,00,\20282029 35,1d,f9,77,b0,f5,06,00,01,00,00,00,00,00,07,00,\20302031 fc,b5,d5,77,d0,4d,d4,77,ff,ff,ff,ff,00,fa,06,00,\20322033 00,0f,dc,77,03,00,00,00,0a,bd,db,77,90,f9,06,00,\20342035 9f,0e,dc,77,00,00,07,00,03,00,00,00,00,00,07,00,\20362037 05,00,00,00,00,27,07,00,01,00,00,00,00,00,00,00,\Thanks in advance,Pax Edited June 13, 2006 by pax Link to comment Share on other sites More sharing options...
Camarade_Tux Posted June 13, 2006 Share Posted June 13, 2006 (edited) Afaik, there should be any blank line!2011 HKLM,"SYSTEM\CurrentControlSet\Control\WMI\Security","bb2c0980-e900-11d1-b07e-0080c71382bf",0x00030003,\2013 01,00,04,80,14,00,00,00,24,00,00,00,00,00,00,00,\2015 34,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\2017 20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\2019 20,02,00,00,02,00,00,02,03,00,00,00,00,00,14,00,\2021 ff,07,02,00,01,01,00,00,00,00,00,05,12,00,00,00,\2023 00,00,18,00,ff,07,02,00,01,02,00,00,00,00,00,05,\2025 20,00,00,00,20,02,00,00,00,00,14,00,05,00,02,00,\2027 01,01,00,00,00,00,00,01,00,00,00,00,00,00,00,00,\2029 35,1d,f9,77,b0,f5,06,00,01,00,00,00,00,00,07,00,\2031 fc,b5,d5,77,d0,4d,d4,77,ff,ff,ff,ff,00,fa,06,00,\2033 00,0f,dc,77,03,00,00,00,0a,bd,db,77,90,f9,06,00,\2035 9f,0e,dc,77,00,00,07,00,03,00,00,00,00,00,07,00,\2037 05,00,00,00,00,27,07,00,01,00,00,00,00,00,00,00,\ Edited June 13, 2006 by Camarade_Tux Link to comment Share on other sites More sharing options...
Yzöwl Posted June 13, 2006 Share Posted June 13, 2006 You are not looking at it in the correct type of text editor!All of those lines have continuation characters and are effectively all on the same line.Post your hive file as a compressed archive attachment. Link to comment Share on other sites More sharing options...
Camarade_Tux Posted June 13, 2006 Share Posted June 13, 2006 Better to trust Yzöwl, I don't know whether you can use multi-lines with hives. (think this is possible with .reg files but hives ?) Link to comment Share on other sites More sharing options...
pax Posted June 14, 2006 Author Share Posted June 14, 2006 (edited) You are not looking at it in the correct type of text editor!All of those lines have continuation characters and are effectively all on the same line.Post your hive file as a compressed archive attachment.This could be it. I've tried Text pad, which I get the line numbers from, and normal notepad.I've attached it.Textpad is where I've been doing the editting, and the standard hivesys.inf has the lines as posted above within textpad. What is the best .inf/.sif editor to use?Please let me know what you find,PaxP.S. Please disregard filename as I've been trying a few things with the standard hivesys.infHIVESYS_.zip Edited June 14, 2006 by pax Link to comment Share on other sites More sharing options...
Delprat Posted June 14, 2006 Share Posted June 14, 2006 (edited) The best .inf editor is provided by MS : notepad.You can use any other, but you need one with proper unicode support.I know notepad2 has it (along with line numbering IIRC), and i didn't tried any other.about you "blank lines", the matter is that :; 2. GUID_QOS_STATISTICS_BUFFERHKLM,"SYSTEM\CurrentControlSet\Control\WMI\Security","bb2c0980-e900-11d1-b07e-0080c71382bf",0x00030003,\ 01,00,04,80,14,00,00,00,24,00,00,00,00,00,00,00,\ 34,00,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,02,00,00,02,03,00,00,00,00,00,14,00,\ ff,07,02,00,01,01,00,00,00,00,00,05,12,00,00,00,\ 00,00,18,00,ff,07,02,00,01,02,00,00,00,00,00,05,\ 20,00,00,00,20,02,00,00,00,00,14,00,05,00,02,00,\ 01,01,00,00,00,00,00,01,00,00,00,00,00,00,00,00,\ 35,1d,f9,77,b0,f5,06,00,01,00,00,00,00,00,07,00,\ fc,b5,d5,77,d0,4d,d4,77,ff,ff,ff,ff,00,fa,06,00,\ 00,0f,dc,77,03,00,00,00,0a,bd,db,77,90,f9,06,00,\ 9f,0e,dc,77,00,00,07,00,03,00,00,00,00,00,07,00,\ 05,00,00,00,00,27,07,00,01,00,00,00,00,00,00,00,\ 34,f9,06,00,b0,ff,06,00,fc,f9,06,00,58,81,fb,77,\ a8,66,f8,77,ff,ff,ff,ff,0c,fa,06,00,0a,f8,e9,77,\ 00,00,07,00,c8,46,07,00,00,00,00,00,08,fa,06,00,\ 00,00,00,00,7f,0e,f9,77,00,00,07,00,a8,46,07,00,\ 00,00,00,00,e4,f9,06,00,88,06,07,00,98,fa,06,00,\ 58,81,fb,77,98,0e,f9,77,ff,ff,ff,ff,a8,fa,06,00,\ 9f,99,fc,77,48,07,07,00,b0,46,07,00,e8,fa,06,00,\ 40,fb,06,00,00,00,00,00,78,01,07,00,c8,63,07,00,\ 78,01,07,00,c0,63,07,00,20,fa,06,00,b0,ff,06,00,\ b0,ff,06,00,57,1a,db,77,38,cc,db,77,ff,ff,ff,ff,\ 00,00,07,00,81,00,00,00,01,27,07,00,24,0b,f9,77,\ c8,46,07,00,01,00,00,00,18,00,00,00,f0,f9,06,00,\ 00,00,00,00,b8,fa,06,00,00,00,07,00,04,00,00,00,\ 00,ff,ff,ff,c8,fa,06,00,0a,f8,e9,77,01,00,07,00,\ 00,00,00,00,18,fa,06,00,b0,ff,06,00,b0,ff,06,00,\ 58,81,fb,77,a8,66,f8,77,ff,ff,ff,ff,bc,fa,06,00,\ 7c,21,f9,77,00,00,07,00,00,00,00,00,b0,46,07,00,\ 10,fb,06,00,d1,59,f8,77,b0,46,07,00,be,59,f8,77,\ b6,02,dd,77,e8,fa,06,00,61,29,01,78,28,24,23,00,\ 00,00,00,00,18,b2,03,78,61,29,01,78,b2,24,23,00,\ 00,fb,06,00,9d,29,01,78,b2,24,23,00,f8,15,00,01,\ 54,ff,06,00,70,ff,06,00,6e,29,01,78,b2,24,23,00,\ f8,15,00,01when you read this copy/pasted code in the original file with notepad, you'll see everything on a single or two lines, but there should be a new line after each "\" (and no spaces at the end of the lines), which is the "line continued" escape character.If you're unsure, you can use a single line (i can't paste it here, it will word-wrap even in a codebox)I urge you to look at the original file to see its layout... that's self-explaining !++ Edited June 14, 2006 by Delprat Link to comment Share on other sites More sharing options...
Yzöwl Posted June 14, 2006 Share Posted June 14, 2006 Okay, I've taken a look at you file, and must say that you appear to have done a very good job.I have only found one problem:1.line 2685, is nowHKLM,"System\CurrentControlSet\Services\a320raid\Parameters\Device,should beHKLM,"System\CurrentControlSet\Services\a320raid\Parameters\Device",orHKLM,System\CurrentControlSet\Services\a320raid\Parameters\Device,you missed a double quote Link to comment Share on other sites More sharing options...
pax Posted June 14, 2006 Author Share Posted June 14, 2006 (edited) Thanks to Yzöwl and Delprat.I am wondering if the missing " was causing the problem. I guess I'll find out next image file I make.edit: tried to edit the hivesys.inf to make change, and opening the same hivesys.inf in notepad, rather than textpad, gives the setout correct as Delprat states above, but if I make the change of inserting an ", then save the file using the format either ANSI, Unicode, UTF-8, then the lines mess up, i.e. there isn't a new line after each \, which especially shows on the shorter lines. I've tried all 3 formats seperately with seperate files, even taking the original hivesys.inf from the CD and making the changes from scratch.HELP?!?! What am I doing wrong?*sigh*Pax Edited June 14, 2006 by pax Link to comment Share on other sites More sharing options...
Delprat Posted June 14, 2006 Share Posted June 14, 2006 edit: tried to edit the hivesys.inf to make change, and opening the same hivesys.inf in notepad, rather than textpad, gives the setout correct as Delprat states above, but if I make the change of inserting an ", then save the file using the format either ANSI, Unicode, UTF-8, then the lines mess up, i.e. there isn't a new line after each \, which especially shows on the shorter lines. I've tried all 3 formats seperately with seperate files, even taking the original hivesys.inf from the CD and making the changes from scratch.i never saw notepad altering files !maybe you can try another editor than textpad ; or maybe a virus check ?????++ Link to comment Share on other sites More sharing options...
Yzöwl Posted June 14, 2006 Share Posted June 14, 2006 (edited) You could also try the attached one.<Edit>I have added the pertinent changes to a section at the bottom, of the [AddReg] and [DelReg] sections, of a clean version of HIVESYS.INF.All of your settings are taken into account and I have altered as little as possible of the original text from the clean file, commenting out only where necessary.You had just a few of the original settings which you had altered from their default values. They do not need editing as I have removed the NOCLOBBER settings where necessary and your later settings will overwrite those earlier in the file during the install.</Edit>Hope it helps!HIVESYS.zip Edited June 14, 2006 by Yzöwl Link to comment Share on other sites More sharing options...
pax Posted June 15, 2006 Author Share Posted June 15, 2006 You could also try the attached one.<Edit>I have added the pertinent changes to a section at the bottom, of the [AddReg] and [DelReg] sections, of a clean version of HIVESYS.INF.All of your settings are taken into account and I have altered as little as possible of the original text from the clean file, commenting out only where necessary.You had just a few of the original settings which you had altered from their default values. They do not need editing as I have removed the NOCLOBBER settings where necessary and your later settings will overwrite those earlier in the file during the install.</Edit>Hope it helps!Thanks muchly. I'm going to have to find a text editor that works as I need to do this for 2003 aswell.Now I know where things went wrong, I can look out for what to make sure is set right.Pax 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