Basically battery leads off, join both leads together for a few seconds, reconnect leads to battery, job done.
The leads joined together discharges all the capacitors so when you reconnect the battery it has to do a fresh restart on every system, it sounds scary but it is not.
Fixes all sorts of weird errors, sunroof stuck open, radio/sat nav issues etc, just like your computer at home.