The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
48 views

PowerShell Script Not Running on Scheduled Task

I have been attempting to set up a PowerShell script to run as part of a scheduled task on a Windows Server 2012 R2 server. The script will run if I execute it manually from the GUI but all but one of ...
2
votes
1answer
1k views

Scheduled task does not run on WIndows 2003 server on VMWare unattened, runs fine otherwise

Scheduled task does not run on Windows 2003 server on VMWare. The same setup runs fine on standalone server. Test below explains the problem. We really need to run a more complex bat file, but ...
0
votes
1answer
9 views

Unable to schedule task to copy across network

I remote access into a server running windows 2008 with my login from active directory. I wrote a BAT file to copy from a different sharefolder to backup files to this server. Running the BAT file ...
0
votes
1answer
18 views

Scheduled task not running BAT file [duplicate]

I have a windows server that I created a BAT file that basically goes into a network sharefolder and copies a file to a different location. When I run the BAT file manually it works perfectly. When I ...
2
votes
1answer
2k views

Task Scheduler Crashing MMC

I've been getting errors whenever I try to run the task scheduler for Windows 2008 R2. Each time that I've tried running it, the task scheduler will crash and report the following: Problem signature: ...
0
votes
1answer
19 views

Gentle reboot of batch server (Task Schedular)

We have 3 Batch servers running hundreds of scheduled task using the built-in task schedular in Windows (2003R2 and 2012R2) How do i prepare our servers for a reboot, so i wont interrupting a running ...
1
vote
3answers
33 views

Monitoring file for changes and immediately take action on change

How can I constantly monitor (small) file for changes? Eg. when file is updated (action from web application), a script is executed (if not already running). Right now, I do it every minute using ...
0
votes
1answer
28 views

Windows 2003 Task Scheduler Not running in foreground

I have an old (Windows 2003) server running. I then have a Powershell script which I need to execute using a scheduled task (running it on it's own works fine). On all my other (windows 2008) servers, ...
1
vote
1answer
1k views

How do I get a Task Scheduler startup trigger to delay

System is Windows 2008 R2 I have a task scheduler task with a trigger to run at system startup, and have set the Delay to 20 minutes, however the task runs immediatley on system startup and ignores ...
0
votes
2answers
1k views

Server 2008 issue running batch file

For the life of me, I can't seem to get a batch file running in Server 2008 Task Scheduler, despite it not having the common problems I've seen before. Problem so far: I have a batch file that ...
5
votes
2answers
83 views

Cancel / block a task triggered with delay by windows “task scheduler”

This is related to a specific issue, but I think it is an "interesting" question for general use: In Windows (specifically 2k8 server, for me) you have a task that is triggered by an event ...
2
votes
1answer
1k views

Windows Task Scheduler - result code 0xC000005

I created Task in Windows Task Scheduler which runs every day at 9:00 AM. I configured it to run using SYSTEM account and run whether user is logged or not. I'm 100% sure, that action is pointing to ...
0
votes
0answers
16 views

Windows Task Scheduler executing old triggers even after recreating the task

I had this task working perfectly until I changed the schedule. After I changed the scheduled time 5 minutes earlier, I noticed that in the history, it still triggers the old schedule. I tried ...
3
votes
1answer
193 views

Need help using SCHTASKS on Windows Server 2008/2012

I'm executing the following command : schtasks /create /tn "test" /ru system /SC onevent /TR "test" /F /RL HIGHEST /MO "*[System[Provider[@Name='SupportAssistService'] and EventID=900]]" /EC ...
0
votes
2answers
1k views

Unable to connect to another computer from the Task Scheduler on Windows 7

I am getting the following error when trying to connect to another computer from the Task Scheduler on Windows 7: "The remote computer was not found." The computer that I am trying to connect to is ...
0
votes
0answers
52 views

Executing VBS via Task Scheduler not working. It works if logon to server and launch

I am having a problem running a scheduled task using Task Scheduler. I have setup a new domain user with admin privileges on the server (Windows Server 2008): User1. The Task Scheduler runs a VBS ...
-1
votes
2answers
53 views

How to automatically restart after Windows Update requires it?

On a windows machine running Windows Update via the built-in service (not GPO), I would like to have it automatically restart every morning at 5:30AM, only when required by WU. The event log entry ...
0
votes
1answer
76 views

How do I create a task scheduler to restart a software service in Windows Server 2008 R2

I have a pesky software service that fails every few weeks. It has two components. Service A and Service B. Service B gets in a weird state and stops accepting connections from Service A. The only way ...
5
votes
1answer
122 views

Secret scheduled tasks in windows server 2003 [duplicate]

I'm taking care of the company's website for a while. The guy who was doing so before me was fired because reasons. So for the past 3 months I've been keeping it up to date and adding/deleting stuff. ...
0
votes
5answers
1k views

Scheduling tasks|jobs across servers from central location. (Windows Server)

Is there any way, how to schedule Windows tasks|jobs on all servers from central location (server)? Has Microsoft any solution for this? I prefer MS or Windows Server built-in functionalities before ...
3
votes
3answers
2k views

Clone Windows Scheduled Tasks

I would like to copy all scheduled tasks on a computer with Windows Server 2003 to another Server 2003 computer. I can guarantee that all executables will be available on the new computer. Can I do ...
1
vote
1answer
46 views

Task Scheduler - Run a process every hour except at designated time

I'm using Windows Server 2008 R2 I'd like to schedule to run a particular process at 40 minutes on hourly basis, except on Sunday at 2:40AM. How would one set up the trigger for this in Task ...
0
votes
1answer
35 views

Windows Server 2012 R2 - Email server's external IP address when the Azure VM starts

I have been trying to setup a task in the task scheduler that sends an email to me when the server starts. The email should contain the external IP address of the azure virtual machine. What should ...
0
votes
0answers
45 views

Connecting to Windows Server 2012 Task Scheduler from Windows 7 client

We have a number of scheduled tasks set-up on a Windows 2012 Server and need to allow certain users to connect remotely to the server task scheduler via their local Windows 7 task scheduler. My ...
6
votes
2answers
13k views

How to trigger a task at any change on a folder with Windows Server Task Scheduler?

Is it possible to start a script every time a folder tree is modified. E.g.: root dir1 file1 dir2 file1 file2 root would be listened and if, for example, file2 is modified or a new ...
0
votes
0answers
241 views

Task scheduler VS GPO do not allow storage of password

I have a scheduled task in one of my DC, running to check LastLogon date of AD accounts in each DCs everyday. The task was previously running in a Win 2003 DC without problem but now we are going to ...
1
vote
0answers
84 views

Trigger a scheduled task if specific event is logged in AD FS 2.0 event log

I am trying to use Task Scheduler to monitor an AD FS 2.0 event log on an AD FS 2.0 proxy which is located in a DMZ on a Windows 2008 R2 server. I am trying to monitor the log for a specific Event ID ...
0
votes
0answers
75 views

Scheduled RasMan connection to SSTP VPN fails only at night

Background I have an SSTP VPN with a self-signed certificate. It's running on a physical instance of Server 2008 R2 on our LAN. Three off-network workstations are scheduled to connect to the VPN "at ...
2
votes
2answers
66 views

Bizarre behavior of e-mailed reports (text files) via Task Scheduler

I’m still pretty new to powershell and practical implementations of it… but I created a script to monitor disk health and have some very bizarre results on 2012 R2. Wondering if anyone has seen the ...
0
votes
3answers
5k views

Task Scheduler : Logon as Batch Job Rights

I'm trying to set up a scheduled task which will work under the Network Administrators account, whether the account is logged in or not (on a specificed computer) According to the Task Scheduler, I ...
1
vote
3answers
6k views

Cannot get Exchange PowerShell script to run under Scheduled Tasks

I have a PowerShell script that works when entered directly into the PowerShell. The PowerShell program is run with the shorcut: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ...
0
votes
1answer
142 views

Scheduled Task fails to stop

I have a Scheduled Task on a Windows (64-bit) 2008 R12 (SP1) server. It’s a housekeeping task and I was expecting its first run to take some time catching up on backlog of actions , so set what I ...
1
vote
2answers
1k views

.cmd in Windows Server 2008 task scheduler w/o highest privileges

Is it possible to run CMD script in task scheduler as a particular user without checkin option "Run with highest privileges"? Simple test: Create D:\Admin\Scripts\TestScripts\testscript.cmd ...
0
votes
1answer
131 views

Task scheduler not logging failure to operational view in event viewer

The task scheduler below clearly errors but it never shows up under the task scheduler operational view as being failed but completed successfully. I want to send an email on a failed task scheduler ...
4
votes
1answer
182 views

How to get login username of the login that triggerred a task in the task scheduler

In the Windows 7 task scheduler, I have a task that runs when any user logs on. This task is run as Administrator so it can get the proper priviliges and runs a bat file. I would like to pass in the ...
-2
votes
1answer
35 views

When is user logged on

I have a question about users and when Windows treat them as logged on. If I, on Remote desktop log in on Windows server, and then closes the window, am I still being treated as logged on? The ...
54
votes
4answers
21k views

How do I rename a task in Task Scheduled on Windows Server 2008 R2

I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
0
votes
1answer
32 views

How to change task's priority?

How to change task's priority in Windows Server 2003 Scheduled task? I see it's possible in Windows Server 2008 and R2. I'm wondering if it's possible in Server 2003 too? In 2008 it's possible ...
-1
votes
3answers
103 views

Can't create new task with schtasks… Why?

I have a new Windows Server 2008 R2 host with a strange (?) behavior. I try to schedule a new task into Task Scheduler. I'm using a user that's part of administrators group. If I do it from the ...
0
votes
0answers
62 views

Monitoring task status via snmp

We have a number of Windows 2008 r2 servers set to run a scheduled task once a week using the built in task scheduler. We also have another server running SolarWinds which collects information on the ...
1
vote
1answer
474 views

Windows Server 2008 Task Scheduler: Task Started (Task=100) but did task did not complete (Task=102) when the result code is 2

Can someone give me a use case for setting up a Windows Server 2008 Task Scheduler task (we'll call this "test") that completes (action completed is task=201) with an error (result code=2)? This is ...
0
votes
0answers
165 views

How to send email when SPECIFIC scheduled task fails to run or returns with an error code

I have a backup script (Powershell 1.0) that is executed every night by the Task Scheduler on my Windows 2008 box. If that script should fail to start, e.g. because the script has been moved or ...
0
votes
1answer
78 views

How to enable or disable a ClusteredScheduledTask in Powershell 4.0

Reference to this page: http://technet.microsoft.com/en-us/library/jj649815.aspx I'm finding ClusteredScheduledTasks a bit daunting to handle without a GUI interface. For example, they have a ...
0
votes
0answers
41 views

winrs fails with internal error when run from a scheduled task but not from the command line

I have a batch file that is run by the Windows Task Scheduler. This file executes winrs to run a command on a remote computer. I am seeing the following error message when the task runs: Winrs ...
2
votes
1answer
1k views

Run a scheduled task as an unprivileged user remotely

I need to allow a group of unprivileged users to trigger a predefined scheduled tank on a Windows Server 2008 R2 host. I seem unable to find the respective rights to do so. Upon an attempt to connect ...
0
votes
0answers
45 views

Windows Task Scheduler skips a scheduled interval

We use Windows Task Scheduler on Win2008/R2 to run a small Powershell job every 15 minutes. It creates a small XML file which triggers a BizTalk process to run, so it typically takes under 1 second ...
4
votes
2answers
957 views

Windows Server 2008 Task Scheduler Tasks Not Executing

I've been having an intermittent problem for some time now with the Windows Task Scheduler that I can't work out. I use the task scheduler to run a C# app I've written that has various plugins used to ...
1
vote
1answer
268 views

Task to delete a directory runs with success but the directory is still there

I have a task in the task scheduler on a Windows 2012 file server. The task has to delete the contents of a temporary general access directory every Sunday night. It runs at the scheduled times and ...
6
votes
2answers
1k views

How to copy many Scheduled Tasks between Windows Server 2008 machines?

I have several standalone Win2008 (R1+R2) servers (no domain) and each of them has dozens of scheduled tasks. Each time we set up a new server, all these tasks have to be created on it. The tasks are ...
0
votes
2answers
138 views

Block users from Remote Desktop for a specified period of time or by trigger

So I have to server (2003 & 2008). On both servers I have domain users in a Remote Desktop Users group. They need to rdp to the server and work with some apps and log off. But - every day batch ...