Question: how to program a xfinity remote?
Answer: Turn on your TV. Press and hold Setup until the light at the top of the remote changes from red to green. Enter 9-9-1. ...  Keep pressing CH ^ until the TV turns off. Once the TV turns off, press Setup to lock in the code. Press the TV power button on the remote.