Prepare your computer. See Preparing your computer and removing the computer cover.
Locate the cover presence switch. See Computer components.
Disconnect the cover presence switch cable from the system board.


Connect the cable of the new cover presence switch to the cover presence switch connector on the system board. See Parts on the system board.
To work with another piece of hardware, go to the appropriate section.
To complete the installation or replacement, go to Completing the parts replacement.