Questions tagged [task-scheduler]

311 questions
0
votes
2 answers

Is it possible to call one Windows scheduled task from another Windows scheduled task?

I have created two independent task Windows scheduled task's: First task running under system-context (needs to run under system-context as application needs to be installed silently) checks if already installed application as any updates on every…
0
votes
2 answers

Windows 10 Run Task On Any Domain User Login and then Delete Task

I have a scenario where I need a non-domain joined Windows 10 to reboot after it gets joined to a domain and there's a logon of a domain user - any domain user, not a specific one. I'd also need this reboot to happen only once after the initial…
0
votes
0 answers

Windows Scheduler fails with error 2147942402

A search about the error message implies that it is due to missing resources, but the file I am trying to execute exists at the correct location. I am currently running it with an Admin account. If I go to the path in question, it can be executed…
Matt
  • 123
  • 5
0
votes
2 answers

Server 2019 custom PowerShell script is getting queued (Code 325)

I'm a newbie to Windows Server so I'm not sure if I'm doing something wrong, or if the server is at fault here. I come from a Linux background and I wanted to make something similar to a cronjob. In Windows Server, this seems to be performed by the…
0
votes
1 answer

Windows 10 Task Scheduler run PowerShell with no pop-up window

I want to set up a task scheduler to run a PowerShell script every 1 hour with no prompt windows pop-up. Here is the command I tried: schtasks /create /sc hourly /tn $Task-Name /st $ScheduleTime ` /tr…
ITnewbie
  • 151
  • 1
  • 6
0
votes
0 answers

automated http post with python 3 doesn't work unless user logs in

I have a script written in python 3 that is designed to send a file to our web server via HTTP POST. It's running on a Windows VM on my customer's infrastructure. I have compiled the python script into an .exe to make it easy on the customer (no…
0
votes
1 answer

All tasks in Task scheduler are going to queued state when triggered

recently we have a strange problem with scheduled tasks on Windows server 2019 with RDS role installed. 6 servers were restored from 3 months old backup, joined into the AD domain again and working as session hosts correctly, but none of the tasks…
culter
  • 507
  • 2
  • 7
  • 16
0
votes
2 answers

How to run a VBA macro from the Task Scheduler in Windows Server 2016?

I have a VBA macro for extracting some data daily. The Macro doesn't have any interactive component like a Message Box, Custom Inputs, or Input Box. It doesn't expect any user input, it only downloads some data from a DB and generates some CSVs. My…
0
votes
1 answer

DHCP Scope Option Sync Scheduled Task

I have two Server 2019 domain controllers with DHCP services running in load-balance mode, which synchronizes leases but not scope options or reservations unless instructed to do so via PowerShell. So all I want to do is schedule…
Vaito
  • 11
  • 2
0
votes
0 answers

My windows Task Schdulrer is raising this error "0xE0434352"

I have windows server 2012 R2, and i have some tasks inside Windows Task scheduler which use to work well, but yesterday they start to return this error 0xE0434352, as follow:- I checked the Event Viewer logs and i found this error:- Faulting…
test test
  • 81
  • 8
0
votes
1 answer

Windows Scheduler: Task Start Failed

I'm trying to learn about task scheduling in Windows 10, so I set myself the task of trying to schedule a script that writes a blank file called test.txt to the user's home directory. I did this by creating a task that executes Out-File -FilePath…
quant
  • 111
  • 4
0
votes
2 answers

How to bind static affinity for *all* Linux processes at startup?

I have one single-threaded process on server that I'd like to statically bind to one CPU core and give it all available computing power all the time (it's real-time process that is heavily affected by insufficient resources). Unfortunately machine…
Lapsio
  • 363
  • 3
  • 14
0
votes
0 answers

How can I run a scheduled task on domain controller whenever a domain user logs into the domain?

I need to log domain user logins & logouts to an Oracle database. Not all computers have Oracle drivers, but one of the domain controllers does. So I have created a script which writes the information when a person logs in to a folder on the domain…
0
votes
1 answer

Task Scheduler failed ... Error Value 2147942402

I tried to schedule a task by schtasks /create /tn Test /sc minute /mo 1 /tr "del /f \"%UserProfile%\path\file\"" ...however the Scheduler always ends up with the following type of error: Task Scheduler failed to launch action "del" in instance …
-1
votes
2 answers

How to fix Win2003 Task Scheduler Error 0x8007000d: The data is invalid after re-joining domain?

After re-joining this Windows 2003 Server box with the domain, all 20+ Scheduled task jobs were unable to start. An error has occurred attempting to retrieve task account information. You may continue editing the task object, but will be unable…
Pro Backup
  • 914
  • 4
  • 15
  • 33
1 2 3
20
21