1
vote
0answers
29 views

Trigger task on USB insert instead of insert and removal

i'm using Windows' task scheluder to trigger a task when a specific USB device is plugged to the computer, problem is the task is also triggered on USB removal. I used custom XML trigger for this ...
0
votes
0answers
32 views

How to whitelist a scheduled task in Windows 7 to run in interactive window fully as administrator

How to whitelist a scheduled task in Windows 7 to run in interactive window(not running in the background) fully as administrator from a standard user account. If whitelisting is not an option, is ...
0
votes
1answer
61 views

Console application is shown as “Running” when it has actually completed

I created a task in Task Scheduler to run the following C# Hello World program. When I trigger it wait for it to complete, I can confirm under in its history that the console application have ...
1
vote
1answer
45 views

Solved: Can I define scheduled tasks before naming the computer?

When scheduling a task it's scheduled as running as a specific user/group. Can I on a vm schedule a task, then sysprep, and then deploy the image to a machine which I then name and join to a domain? ...
0
votes
0answers
418 views

Scheduled Task to shutdown computer after 2 hours of inactivity?

We have around 900 machines in two locations. 95% of these machines are shared, and we find users don't log off or shutdown as often as they should to get updates. I thought I would create a ...
0
votes
1answer
33 views

Running Network-Reliant Processes on Startup

I'm in charge of deploying and modifying a bit of in-house software that is meant to run on end-user workstations, which run either Windows 7 or XP SP3. The goal is to maximize the amount of time the ...
1
vote
1answer
3k views

Can I schedule a windows task to run in an interactive desktop session?

I'm trying to create a scheduled task that will run once daily on a dedicated machine. The task will run an exe. That exe does a bunch of things, including running automation that manipulates the ...
1
vote
1answer
34 views

Win7 scheduled task minute settings?

I must process a bat file for every minute but win7 scheduled task not allow per minute. Lowest 5 minutes. Can I set scheduled task win7 for per minute?
2
votes
2answers
675 views

My powershell script wont save a file when run using Task Scheduler, do I need to specify a specific argument?

I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network. The problem I'm having is that the new file is never ...
-1
votes
2answers
120 views

what is the criteria for a scheduled task to run?

I have a scheduled task that needs to be run 3 times per day. I have the option between running the task on either a 2008 windows server machine or a windows 7 64 bit regular machine. Both machines ...
0
votes
1answer
1k views

How to start scheduled task in minimized cmd window? [duplicate]

Possible Duplicate: Run a .bat file in a scheduled task without a window In Windows 7, I have a scheduled task running a console application in a CMD window. It runs every day at 12 ...
1
vote
2answers
101 views

Setting up a multi-user scheduled job?

What's the best practice for setting up a scheduled job (like a software build) so that it's not tied to a single user? Our situation is that we need to schedule a job that runs overnight on a ...
0
votes
1answer
507 views

Use Powershell to read XML comments

So I'm working on a way to use Powershell to get a list of scheduled tasks. Through my research, I determined that the only way to get "most" tasks is to use SCHTASKS. This command does allow for XML ...
1
vote
3answers
420 views

Safe place to put an executable file on Windows 7 (and Windows XP)

I'm working on a tweak to our logon script which will copy an executable file to the local hard drive and then, using the schtasks command, schedule a task to run that executable daily. It's a ...
2
votes
2answers
8k views

SCHTASKS can't administer remote tasks

I am trying to stop and then disable a remote task from a build script. The remote server is Server 2k8. The client running the script is Windows 7. Both machines are joined to the domain. When I run ...
0
votes
1answer
329 views

scheduled tasks running in %systemroot%\system32\

I have a scheduled task that calls a bat file, problem is it does this in c:\windows\system32 instead of the path it exists in (c:\bak), is there a setting that I can change to set it to run in the ...
1
vote
1answer
116 views

check to see if a program is running, if it isn't then run it?

Is there a way in Windows to check to see if a program is running (in this case a java application) and if it isn't running (because of a crash) re-run it?
6
votes
4answers
4k views

Query schtasks using Powershell

On a Windows7 machine I am trying I can run a query to view all the scheduled tasks using schtasks.exe This is fine but I would also like to filter the result set using something like schtasks ...
1
vote
2answers
269 views

Not able to see scheduled tasks from windows 7

Since upgrading to windows 7 I am no longer able to see scheduled tasks on a remote computer accessed by a UNC path (ie: \\mymachinename). Any ideas why?