c++ - Replicating the CMOS contents from one PC to many others -


we have 100 pcs of same brand , model manufactured in 2010. need change in these pcs, periodically , manually, system , user passwords through bios , automate procedure through software , had following idea:

the motherboard manufacturer sent me program read , write cmos. starts setting these passwords on single pc, saving content file , after program, write de cmos others machines. detail: program used boot disk dos.

as carry procedure through central server, copying file new cmos data specific folder existent on machines. in each pc there process running on windows xp sp3 received file, make reading contents, writing new passwords in cmos, deletes file folder , restarts yourself. theory should work, not, inclusive on same machine created file. happens every time update cmos, changed settings retained, passwords come clean, i.e. without protection access bios.

now i'm basing work on 1 program called cmospwd can found on site www.cgsecurity.org, no options works on motherboard have. our platform apparently uses award bios 6.00 pg base these chinese mother boards. tried new contact manufacturer, not provide map of structure of cmos. discovered that, comparing various files, passwords not written in ascii mode 5 bytes @ offset 0x40, believe crc, showed below:

cmos dump passwords:  system: 11111111 user  : 22222222  cmos bank 0:     00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f     -----------------------------------------------  0: 59 00 55 00 14 00 05 02 05 13 26 02 40 80 08 00   1: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   3: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00   4: **59 00 55 00 14 00** 05 02 05 13 26 02 40 80 08 00   5: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   7: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00   cmos bank 1:     00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f     -----------------------------------------------  0: 59 00 55 00 14 00 05 02 05 13 26 02 40 80 08 00   1: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   3: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00   4: **59 00 55 00 14 00** 05 02 05 13 26 02 40 80 08 00   5: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   7: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00  

  system: aaaaaaaa user : bbbbbbbb

 cmos bank 0:     00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f     -----------------------------------------------  0: 51 00 01 00 15 00 05 02 05 13 26 02 00 80 08 00   1: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   3: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00   4: **51 00 01 00 15 00** 05 02 05 13 26 02 40 80 08 00   5: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   7: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00   cmos bank 1:     00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f     -----------------------------------------------  0: 51 00 01 00 15 00 05 02 05 13 26 02 40 80 08 00   1: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   2: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   3: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00   4: **51 00 01 00 15 00** 05 02 05 13 26 02 40 80 08 00   5: 40 f0 00 00 02 80 02 00 04 14 00 00 00 00 00 00   6: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 fc   7: 00 04 20 80 00 00 00 00 00 00 00 00 00 00 00 00  

has had problem , got simple , cheap solution, or have hint this? appreciate kind of help.

a few things keep in mind:

  • in modern chipsets, there multiple banks of cmos bytes beyond core 70h/71h reading now. in datasheet chipset , read "extended cmos". exact implementation varies chipset chipset, @ 72h/73h. issue.

  • for modern uefi bios, contents of cmos there legacy compatibility. "real" bios settings stored in bios flash chip.

  • joachim pileborg correct. internal structure of cmos bits changes revision revision of bios. pretty guaranteed not portable between different motherboards. , may not portable between bios revs. work reliably, motherboards should identical, identical bios versions.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -