I think there is a couple of ways but the way i no and do is simply take of the negative battery terminal for about an hour and then re-connect and away you go. Always works for me. I always take it of once the car is of the ground or on ramps saves abit of time.
Hope this helps buddy