How to keep MG2 files before reinstalling Windows?

I want to reinstall Win10 but i don’t want to loose my patches etc…
Which MG2’s files have to be saved in order to recover all the same settings after reinstallation ?
I guess it is the patch folder but do MG2 needs more files ?

you can open the MG datafolder from within MG’s preferences.
if you move that folder to your new computer, all will have been transported.
The folder will only be created by a fresh MG install if it doesnt exist.