That's how it was in the original. No way for me to test... just trying to get this done. \:\)

Seems like if you were running this in a normal logon script you might have a mix of terminal servers clients and regular pc users. I suppose it might make sense to return the pc name for the pcs.