Chosen Solution

our g e microwave makes a banging/grinding noise when not in use

The stirrer is a metal blade that distributes the microwaves energy by rotating. This action is what causes your food to cook evenly. After years of use, the stirrer motor becomes worn and emits a grinding noise. You will need to replace the motor to eliminate this unnerving sound from infiltrating your kitchen. If it’s doing it when off. it has become dangerous. Personally I would replace it.