The URC SAT code for directv codeset 00001 is 173. And 193 for 00002.
If you used the receiver mode option in the Directv menu to switch codesets your hr21 is set to 00003. Go in and use the Advanced setup menu option, in which you can set it to 00002. And then you can use code 193 in the database.
see this thread:
[Link: dbstalk.com]Picking Receiver 2 in the drop down menu sets the receiver to 00002 codeset, you then just reprogram av1 or av2 on the remote with code 00002:
1. av1 or av2
2. press and hold MUTE & SELECT, wait for two blinks, release
3. enter 0 0 0 0 2