Windows 11 Posted March 10 Posted March 10 Hello,Probably stupid mistake somewhere :I replace 2 servers (2016 to 2025), first one : no issue.2nd one : I have a C:\script\doit.ps1Inside the PS1 : echo "hello" >> C:\logs\scritps.txtOpen powershell, run ps1 > OKCreate task in scheduler > OKEdit the task so it run from "Run only when user is logged on" to :- "Run whether user is logged on or not"- "Run with highest privileges"Enter password of my user (administrator) and...nothing.I start the task manually, it says "Running" and log file stay empty.I forced kill, restart server, re-create task with task scheduler running as admView the full article Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.