If you don't want to pay a shop to do it (I did ... and I can see why you'd want to avoid that bill
) you could try something like this:
1) Cut the stud down as close to flush with the case as you dare get being *really* careful not to gouge the sealing surface. A few layers of tape around the base of the stud may offer at least some protection.
2) Center punch the stud making damn sure you're in the center (a transfer punch and/or drill guide might be handy for this)
3) Get a drill/tap guide (
http://toolmonger.com/2008/12/24/drill-guide-might-make-a-wicked-hockey-puck/)
4) If possible, clamp or secure the drill guide to the flat surface.
5) Check this chart for the correct drill size ... I think it's M10 x 1 but maybe someone can confirm... (
https://littlemachineshop.com/Reference/TapDrillSizes.pdf)
6) Drill out the stud. Use some sort of oil or WD40 etc. Start with a small pilot hole (maybe 1/8" ish). I usually jump straight to the size I want but some people go up in several steps. Either is fine so long as you can STAY ON CENTER. Use your drill guide to ensure you are going in straight.
7) One you've gotten to the tap drill size you should be basically left with a threaded hole but the thread still have the steel threads from the stud left in them. Either run a tap through the hole (with WD40 or oil). You will have to go in a bit, back out, clean the tap, go in a bit more, etc. OR try and pick out the remains of the steel threads with a pick. You will need much patience for this I imagine.
8 ) Optional: If the threads are too damaged you will probably have to purchase a helicoil kit in that size but if you've gotten to this point then that part should be easy as you have an existing hole.
Note: It is extremely important to stay on center and straight/true with the existing stud. If your drill bit wanders then you may be in for a TIG welding repair or new cases.
IW