All Questions
Tagged with batch scheduled-tasks
69
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 ...
0
votes
0
answers
57
views
Schedule a task with admin privileges Windows 10
I feel like this should be easy but I am not making any further progress. I have seen the other post mentioning Windows 7 and UAC prompts but the accepted solution on that did not post work for me. ...
0
votes
0
answers
62
views
Create Task Scheduler with No Triggers Set
I need to Create a Task Scheduler with parameters:
No Triggers
Available both in AC and DC
I learn SCHTASKS /? help, but haven't found what I mean.
I tried:
SCHTASKS /Create /TN "Test" /TR ...
1
vote
1
answer
810
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 ...
0
votes
3
answers
139
views
Batch (or some other file) to have scheduled in Task Scheduler for a popup that leads to a website
I am trying to create a batch file (or some other file) to show a pop up reminder with a yes/no option that I can get set up to run at a designated time in task scheduler. This will be planned to run ...
0
votes
1
answer
233
views
Move files from local to network drive without stealing away focus on production computer
I am looking to move files from local computer to network drive as repeated task once every 24 hours. I have tried couple of things but they all end up stealing away focus on the application as the ...
1
vote
1
answer
2k
views
Disable Microsoft Edge Restore Pages Functionality
I scheduled a batch script with Task Scheduler to routinely close and reopen Edge to my website once a day while the browser is opened in Kiosk mode.
I have:
Taskkill /F /IM msedge.exe
:: wait three ...
0
votes
3
answers
5k
views
How to delete all contents of a folder without deleting the folder itself
I am in the process of setting up a shared network drive, that gets emptied periodically.
Its purpose is to provide an easy file sharing option for the users. Since I can't enforce them to always ...
1
vote
0
answers
355
views
how do I send an HTTP request when my pc goes to sleep or shutsdown
I am trying to set up a system where when my pc goes to sleep or shutsdown it sends an HTTP request to a raspberry pi on my local network which then performs some actions. Currently I have written a ...
1
vote
1
answer
823
views
Create Task Scheduler adding wake computer condition using batch script
I have a batch script to create a task scheduler but I want to add the condition to WAKE THIS COMPUTER TO RUN THIS TASK. The purpose of this task is the wake the computer from sleep mode. I have ...
2
votes
2
answers
22k
views
Downloading all files from URL Folder to local folder
I want to download all contents from a url using Windows 10, like
https://example.com/folder
This folder may contain 100 files, and I want to put them all into
C:\backups
I am going to schedule this ...
0
votes
1
answer
675
views
As an admin, I cannot schedule for a user account a Task Scheduler for an UAC program
As an admin, I am scheduling my task for another user by doing this .bat command to schedule for ANOTHER_USER:
schtasks /create /tn AlarmClock /tr C:\ProgramData\AlarmClock.exe /sc onlogon /ru ...
1
vote
1
answer
2k
views
Windows 10 - Task scheduler (access denied when running .bat)
I have a .bat script, It just runs an .exe with arguments:
@echo off
iperf -s -u -i 1 -f b >> 24htestS.log
The problem is that when I run the task scheduler I get access denied (even as a ...
1
vote
0
answers
1k
views
Robocopy Error 53 when not logged in. When logged in, Robocopy runs successfully
We run a nightly scheduled task that copies files from a local drive to a network share.
When I'm remoted in to this machine using any account, Robocopy runs fine. When I'm not logged in, Robocopy ...
0
votes
0
answers
651
views
Task Scheduler half completes task from batch file, then gives (0x1)
I am attempting to use Task Scheduler to automatically create a backup of a couple of folders in a location at the end of the day. I am using 7zip as my archive program. The batch file that I am ...