Skip to main content

All Questions

0 votes
1 answer
18 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
19 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
44 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
24 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
94 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
  • 216
1 vote
1 answer
98 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
49 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
272 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
706 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
127 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
16 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
302 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
0 votes
1 answer
395 views

How to pass arguments from a windows 10 scheduled task to a powershell script onLock and onUnlock events/triggers

I am trying to setup the following scenario using a windows 10 task scheduler. A logged in user locks or unlocks the workstation A powershell script gets triggered and the PC-NAME and a USER_NAME of ...
CAIB-scay-lact's user avatar
0 votes
1 answer
654 views

Starting a Scheduled Task from Command prompt gives Access Denied

I have a FreeFileSync setup that backups my files. I need non-admin users be able to launch the backup. I created a scheduled task with the name "FreeFileSync PC Backup" and configured it ...
LPChip's user avatar
  • 62.2k

15 30 50 per page
1
2 3 4 5
24