ASK for detailed steps of atmospheric correction by sen2cor tool or the snap

the access violation indicates that there are no writing privilleges for the tool somewhere.

Can you start your command line with administrator rights and try to run the tool from there?

Just open your command line with right-click (run as administrator) in the folder where the folder with your S2 data (.safe) is located and type
L2A_Process --resolution 60 nameofthefolder

See also here: