So I tried to run the Log4Shell Mitigation Script for ArcGIS Server on the 20th. I ran this in cmd as Administrator. The script ran until it got to the -delete and I then got two error messages.
The first was cmd error saying "access is denied"
The second was a windows pop-up saying" This app can't run on your PC."
Now, my scripts using the python path:
[Drive]\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3\python.exe
I have two scheduled tasks that use this python.exe directly and both no longer work.
"could not find a usable Python Installation at the specified path. " and It gives me a bunch of stuff on the x32 & x64 bit. This server was spun up by ESRI Jumpstart in February of 2021 and I have the appropriate versions.
Why is this python.exe no longer recognizable after I had the Apache4Shell Mitigation script fail? Everything failed directly after I tried running the mitigation script.
Edit:
I did run in cmd as Admin
I stopped the license manager and the ArcGIS Services before running the script.