Patent ID: 7739734

Claim:
A system for protecting a BIOS from unauthorized modifications, the system comprising: a complementary metal-oxide-semiconductor transistor random access memory (CMOS RAM) configured for storing a password of the BIOS; a password storing region configured for storing the password of the BIOS; and a BIOS storing region configured for storing the BIOS codes and a password protecting program, the password protecting program comprising: an input/output module configured for copying a first password of the BIOS from the password storing region into the CMOS RAM when the BIOS codes are invoked and executed, and configured for copying a new password of the BIOS from the CMOS RAM into the password storing region when the first password in the CMOS RAM is changed to the new password; a determining module configured for receiving a first instruction that determines whether the first password of the BIOS needs to be changed, and receiving a second instruction that determines whether to enable a password verifying mode in which a verifying password is verified by the first password; a comparison module configured for receiving a verifying password inputted by a user, comparing the first password with the verifying password, and returning a comparison result; and a setting module configured for setting a new password of the BIOS.