Have a look here:
Like the article says, their should be a bleeder on the capacitor to
render it safe, but it can fail and there's no way for most to safely
test the capacitor to see if it's drained.
Microwave's main transformers usually have their secondary winding
separate from their primary. For *repurposing*, this is a great
benefit as the fairly useless 2000v winding can be removed and
replaced with a lower voltage one easily.