Skip to main content

All Questions

1 vote
1 answer
24 views

Batch script does not output file when limited user runs it from an administrator task manually

The Problem: I want to let a limited user restart a Service. This requires admin privileges, and thus the limited user is unable to restart individual services. I also want to create a timestamp file ...
Manan Adhvaryu's user avatar
0 votes
0 answers
15 views

Task Scheduler Running Multiple Instances

I am encountering an issue with Task Scheduler on a Windows Server. I have a startup task that runs a program/script via Git Bash, which points to a .sh file that executes a Python script every minute....
matheww's user avatar
0 votes
1 answer
21 views

How to schedule a task that runs once every day only if the user has logged in

When an user logs in to his pc, we need to perform a certain task, but this task should only be done once a day. So if the user logs in/out several times a day, only the first time the task should ...
Depechie's user avatar
  • 103
2 votes
0 answers
23 views

Task Scheduler Windows 11 not waking the computer

I know that variations of this have been asked previously and I have read most of the responses to older threads. However I am using a newer OS and those older threads have helped me get this far but ...
Mac McMahan's user avatar
0 votes
1 answer
46 views

Run script elevated as different user on remote machine

I have a Windows Scheduled Task that runs a Powershell script file A.ps1. This task runs mostly locally and does NOT need elevation/administrator access. However, a few steps need to run on a remote ...
Joel Coehoorn's user avatar
0 votes
1 answer
38 views

How does Windows Task Schedule run tasks with multiple actions?

If you have a Windows Tasks Schedule Task with multiple actions, how does it run them? Does it kick off each additional action without waiting for the previous action to finish, or does it wait until ...
Joel Coehoorn's user avatar
0 votes
0 answers
123 views

Windows Security Event ID 4800 (lock screen) on Win 11 Pro for Workstations

I have a task that is triggered on PC1 whenever the user locks their computer. This works fine. I just set it up the same on PC2, but the Event ID 4800 is not logged on this machine when the user ...
relayman357's user avatar
0 votes
0 answers
15 views

Aside from the Task Scheduler, how can tasks automatically fire on a fresh Windows Server 2019 machine?

I have a Windows Server 2019 machine. It is pretty much an empty box. My company has installed a handful of things on it, but I am convinced that I have checked it all. Mysteriously, the CPU goes wild ...
J. Mini's user avatar
  • 226
1 vote
1 answer
134 views

Windows 11 Task Scheduler - How to stop a running powershell script task?

In Task Scheduler, how may I stop a running task sooner than 1 hour, say immediately after execution? I've tried manually entering '1 minute', but the Task is still 'running'. Suggestions? I'm running ...
Scott's user avatar
  • 11
1 vote
1 answer
51 views

No internet connection when scheduled task starts or when Sql server agent job starts

I've a task that runs daily which is failing because it starts without internet connection. I tried to tick wait for network but it doesn't work either. I tried to register the task with System and ...
Axeltherabbit's user avatar
0 votes
1 answer
324 views

Launch request ignored, instance already running

I have created a scheduled task that runs every minute, indefinitely. The task launches a batch which moves files between 2 servers. It runs with a specific domain account. The task takes up to 10 ...
gipinani's user avatar
  • 131
1 vote
1 answer
811 views

Batch files run through Task Scheduler aren't working as intended

This is the code I am using. It is something I found on other posts on this site. Script Code #1: @ECHO OFF SET EXEName=TcpSnd.exe SET EXEFullPath=D:\ComputerRX\Pharmacy\TcpSnd.exe SET ...
RPhZach's user avatar
  • 11
0 votes
0 answers
136 views

How to create a wake-up task on Windows 11?

I need to execute some apps every time the machine wakes up in the mornings. I tried to create Scheduled Tasks like the one below, but it didn't work. When I wake up the machine nothing happens. What ...
delphirules's user avatar
0 votes
0 answers
17 views

Task scheduler hibernate after 18:00 with task repeat issue

My use case: Hibernate computer after 18:00 if it's being idle for 10 minutes. But if I turn it on after hibernation I would like this task to be repeated every 10 minutes till next morning. My setup ...
vukis's user avatar
  • 101
1 vote
1 answer
331 views

How to run wsl using Task Scheduler without loging?

According to Task Scheduler- Batch "Run whether user is logged on or not" not working and other articles, "Run whether user is logged on or not" requires pure batch processing ...
BrandonStudio's user avatar

15 30 50 per page
1
2 3 4 5
24