Jump to content
Microsoft Windows Bulletin Board

Recommended Posts

Posted
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 adm

View the full article

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...