How did Cranston prepare to play Walter White ?
He also had a guest role in late 2006 on the CBS sitcom " How I Met Your Mother " , playing Ted Mosby 's obnoxious co-worker and former boss Hammond Druthers .