Got this from - here
and have used it on my B9.
Don't buy a new Bsi (body control unit) for your Citroen until you have read this and tried a factory reset first. Very often the reset will solve a multitude of problems especially the ones that suddenly happened after you fitted a new battery to your Citroen or the ones that just 'appeared' form nowhere!
Wipers stopped working?
Central locking gone mad?
Windows stopped working?
Indicators and lights doing their own thing?
All of the above can be caused by a nutty BSi and often a reset is all it needs so try this....
Put the driver's window down, lift the bonnet and ensure all equipment is switched off.
Ensure all doors are closed and remove key from the ignition.
Wait for 3 minutes, disconnect the vehicle battery and wait 15 seconds.
Reconnect the vehicle battery, wait a further 10 seconds (do not open doors.).
Switch on the side lights through the driver's window.
Switch on the ignition and check system's functionality.
Hold lock button on key down for 10 seconds.
Remove key open & close door test central locking system.
Start the engine and complete the system's check.
Failure to follow this procedure could result in incorrect operation of many BSI related items.