The wire that you unplugged going to the switch , remove and keep the lower bit (from the connector to the stand) you don't need this bit.
The half of the connector that is left has 3 pin holes in it but only 2 wires going into the top of it , make a small loop from single strand copper wire (flat rwin and earth like house ringmains is good) and push this into the holes that co-respond with the wires.
Tape up the plug to stop moisture getting in , or the loop falling out
Bingo the bike will now run with the stand down , all you have to remember to do is flick it up before you ride off , otherwise it could end in tears
Read more: http://www.visordown.com/forum/workshop/bypass-ducati-side-stand-circut/60516.html#ixzz2w2GFoakr