This post is developed by the trial and error principle 😉 . Here you can find some background.
On Windows a User with just “normal” user rights cannot see and execute Tasks created from User with Administrator permissions. There are dozed of sites that describes that the permissions of an task can be changed by setting the filesystems rights in C:\Windows\System32\Tasks. But this won’t work since some early Versions of Windows 10 (IMHO 1607).
Advertisment to support michlstechblog.info
Tags: allow limited user execute
if you have already created a script and within you do some things with Excel by DCOM Excel.Application the script runs well as a user logged to the Desktop but not within a schedule task started by the same user.
when you tried to start powershell and the window opens and closes immediately.
Open a cmd and start powershell by calling powershell.exe