if those codes do not work you can call 18003333474 and ask for a remote code for your tv follow the correct steps from the other answers. or you can do a power scan which you will hold the clear tv button down until all lights light up and then press the red power tv button and the up button until the tv goes off when it does press the down arrow once and press record that will go thru all the avil codes to the t v.
If those don't work, try 680. This one works on my Samsung. If none of the above works, thy the following;
You can do a code search. This works on most tv's. Make sure the TV is on press the TV button on your remote until all the top buttons lite up press the main power button press the channel up button slowly, about once per second until the tv turns off. (if you accidentally go past the code, sometimes you can press the channel down button to go back, but if not you have to start over.) press the # button and you are done.