Spears' lawyers had a Monday court date but went in early to acquire the reported injunction.
Spears reportedly has told her conservators to "protect" her from the two men, who were associated with the star during her tumultuous breakdown over a year ago.
Jamie Spears sought the restraining order because he alleges in his sworn declaration that he was contacted via instant messenger on his computer from a woman claiming to she had damaging information about the Spears clan and was going to go public with it. Jamie didn't respond to the messages, but then 15 minutes later he was contacted by Sam Lutfi, asking if he could help Jamie Spears in any way. Lutfi was also texting and calling Jamie's attorney, Blair Berk, wanting to meet with her. Berk also gave a sworn declaration, but it will remain sealed to the the public, as are the instant messages Jamie received.