Deactivate the connection between the security sensor and the home security system -- this may entail shutting off the home security system temporarily or disconnecting the connection or input for the security sensor on the system's control panel.
Open the window where the security sensor has been mounted. Unscrew the sensor module from the bottom edge of the window with the Phillips jeweler's screwdriver.
Unscrew the sensor module from the top of the windowsill with the Phillips jeweler's screwdriver.
Unscrew the two screws on the module with the Phillips jeweler's screwdriver and remove the two wires wrapped around them with your fingers if a wired security system is in use; otherwise, unplug the transmitter connected to the module from the wall socket that is providing it with power.