You need only to replace a motherboard battery if the time is always wrong on your computer and it isn't to be recommended in a laptop. From memory of the last one I dismantled, the D600 series doesn't have a replaceable CMOS battery.
As to the security password, assuming you mean wireless the following applies. If it's the BIOS password, Forum Rules prevent posters form advising but I can tell you removing the battery is not the answer.
For wireless, go Start then Run in XP - Windows key plus R in Vista and Windows 7, then type in the following, including all the spaces:-
cmd /k ipconfig /all
then press Enter and from the black form that shows up, take a note of the numeric code beside the Default Gateway icon - something like 192.168.0.1.
Type exit to close the black form.
Open Internet Explorer and enter that code into the URL address bar as though it was a website. You're then at the login page to the router's settings utility and admin will usually be the login with either admin or password as the password.
If you're in, seek out Wireless and then Security and take a note of the key. Sometimes it may be a passphrase, some a simple set of letters and others a hexadecimal code. You also may as well note which level of security it is - WEP, WPA or WPA/PSK 2 and then either AES or TKIP. Your computer will already know this but it's handy information to store. Note also that hexadecimal only contains numbers from zero to 9 and letters a to f so there's no confusion of I and O with 1 and 0.
Keep a note of that security key in My Documents and also outside the computer.