Windows Script error - cannot find script file

Hi,

I have this error, which appears when attempting to open services, event viewer and possibly more - the application is no longer installed on the device.
How do I remove this error?

WindowsScriptHost2

You have 2 issues:

  • From inside PSADT, you are blocking applications. To accomplish this, PSADT generates a VBS script in the temp folder and tries to run it.
  • You have AppLocker enabled in Windows 10 and it’s blocking that VBS script because it’s in temp folder.

I vaguely remember that you can change where PSADT places its temp files. I even raised an issue about this.