Before starting, make sure your Macbook is fully powered off and unplugged from any power source. It's wise to work on a non-conductive surface to prevent static electricity damage and wear anti-static wristbands to protect sensitive components.
This tutorial will guide you in detail how to remove the Apple A1189 / MacBook Pro 17" A1151 / A1212 / A1229 battery.
Step 1
Use your fingers to push both battery release tabs away from the battery and lift the battery out of the Macbook.