Running Execute Cmd Module as administrator

Hi All

I am trying to completing one of my workflows where one stage consists of running a python script as an administrator. I have tried run as but I am not having any luck with that.

if I simply run " python" the i am getting error “Please make sure you have the correct access rights and the repository exists”

Is there someone who can help me?

That error message is very confusing mainly this part: "… and the repository exists”.

Does that error message come from the Python script? Does not sound like a default system error message you would get.

That is correct. The error msg comes from the python script. The error is generated bcoz the n8n runs this cmd as a system user and can not make any changes in that directory.