Sen2cor in windows 10

which version of sen2cor did you use?
If 2.3, please have a look if you edited the variables correctly as described here: Specify system variable PYTHON_BIN for Sen2Cor

If 2.4, please have a look here: Sen2Cor 2.4.0, Stand-Alone Installers, How To Install