Scheduled Task

Posted on 2006-03-30
Last Modified: 2008-01-09
Hi every one,

I am using win XP Scheduled Task program to schedule a program to be run on a specif ice computer, no matter who is loged into the machine. as long as any user is logged in I want this file to run any time the system is idle for 2 Min ( is just a simple .bat file)

I created this task under my username and it works as long as I am logged in, but if I log in with some elses username/password it doesn't work, I guess this command is specific to the profile that was created, which is kind sucks!

is there any way to work around this issue?

Kiarash Ghasemi
Question by:kiarash13581979
    LVL 3

    Accepted Solution

    You should be able to run it in the all users profile.  Then whomever logs in will have it running.
    LVL 9

    Expert Comment


    There are options in scheduled tasks to run it on all users I think.

    LVL 3

    Expert Comment

    Try creating that scheduler and enter Administrator as the username/password that will run the job.  It should work.
    LVL 4

    Expert Comment

    If you don't have a password on your account, scheduled tasks will not run.  I know that's true, I've seen that happen.

    Here are a few threads which suggest somewhat weird solutions, such as creating the task in the command line, or changing privileges for the task's account.  I have not tried those solutions.

    This guy solved the problem by using this command-line:

    SCHTASKS /Create /S \\"COMPUTERNAME" /U DOMAIN\administrator /P "admin password" /RU DOMAIN\administrator /RP "admin password" /SC DAILY /ST 00:00:00 /TN "Task Name" /TR "File Path to Task"

    This guy added the "Access this computer from the network" permission to the user account that will run the scheduled task in Local Security Policy

    LVL 9

    Expert Comment

    You may have to add the Users group in the security tab and grant them Read and Execute privilege (Default). This should allow the task to run whenever the computer is idle no matter who is logged on.

    Making SURE there is SOMEBODY logged on would probably require some additonal work but could be done.

    If this doesn't work for you let us know.

    Good luck,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
    In a recent article here at Experts Exchange (, I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now