Reset, Backup dan Restore CMOS


Lupa password BIOS PC memang menjengkelkan, jangan bersedih dulu masih ada sedikit cara dengan menggunakan Pascal, berikut listing programnya :

Program Reset;
var
   i:byte;
begin
   writeln('Reset CMOS');for i:=1 to 255 do
   begin
      port[$70]:=i;
      port[$71]:=0;
   end;
   writeln('Reset CMOS sukses');
end.

=====================================================

Program Backup;
var
   i:byte;
   buffer : array[1..255] of byte;
   f : file;
   nm : string;
begin
   writeln('Backup CMOS');
   for i:=1 to 255 do
   begin
      port[$70]:=i;
      buffer[i]:=port[$71];
   end;
   write('Masukkan nama file backup : ');readln(nm);
   assign(f,nm);
   {$I-}Rewrite(f,1);{$I+}
   if IOResult <> 0 then
   begin
      writeln('Gagal membuat backup');
      halt(1);
   end;
   blockwrite(f,buffer,sizeof(buffer));
   close(f);
   writeln('Backup CMOS sukses');
end.

=====================================================

Program Restore;
var
   i:byte;
   buffer : array[1..255] of byte;
   f : file;
   nm : string;
begin
   writeln('Restore CMOS');
   write('Masukkan nama file backup : ');readln(nm); assign(f,nm);
   {$I-}Reset(f,1);{$I+}
   if IOResult <> 0 then
   begin
      writeln('Gagal membuka backup');
      halt(1);
   end;
   blockread(f,buffer,sizeof(buffer)); for i:=1 to 255 do
   begin
      port[$70]:=i;
      port[$71]:=buffer[i];
   end;
   close(f);
   writeln('Restore CMOS sukses');
end.
Selamat Mencoba.

2 Responses to “Reset, Backup dan Restore CMOS”

  1. Bagaimana mereset bios Thinkpad 42 saya lupa passwordnya. tanks

  2. @arie : Maaf untuk yang satu ini saya tidak bisa membantu banyak, saya baca dr beberapa forum bahwa IBM mengklaim BIOS buatan mereka memang dibuat secure sehingga tdk mungkin hlg hanya dg reset baterai/soft-reset, mungkin kalo anda bernyali anda bisa mencoba membaca artikel dr link berikut: http://sodoityourself.com/hacking-ibm-thinkpad-bios-password/

    semoga berguna.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: