How do I reopen the gate after fighting crabbe and goyle in the library in harry potter and the half blood prince?

Throw the handle and break it, move it outside the gate, reparo it, and use Wingardium Leviosa to put it back in the switch.
Updated on Wednesday, February 01 2012 at 09:15PM EST