How do I set TaskScheduler to automatically log in after being log off


  1. Posts : 73
    windows xp c86
       #1

    How do I set TaskScheduler to automatically log in after being log off


    The Power is always ON so imagine i log on in my RDP account and i start to run a Scanner.Bat file inside 24h/24h.We are 4 administrators and one of them at 1.00 am ,LOG OFF my session or he restart the RDP then my .BAT file doesn't run anymore until i log on again (that can be after 2-3 days) in all this time my .BAT file doesn't run anymore and i want to run it all the time,how to do that?log on automatically and also start my .bat file automatically??
    thanks
      My Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    A better method may be to have your batch file converted to a service. The service would run as SYSTEM and not be dependent on a user being logged on.

    There are some utilities that claim to convert batch files to services. I do not know how well they work. A basic rule of thumb is if you need a UI so that someone can click dialogs etc.. it is not a good candidate for a service. But if it is a monitoring type thing writing to a log file or gathering data with no user interaction that may work well.


    I would probably look for these programs that make batch into service and see if one has a free trial period. Make sure it will do what you want before you buy it. If not that you may have to check with a developer experienced in writing services.
      My Computer


  3. Posts : 73
    windows xp c86
    Thread Starter
       #3

    MilesAhead said:
    A better method may be to have your batch file converted to a service. The service would run as SYSTEM and not be dependent on a user being logged on.

    There are some utilities that claim to convert batch files to services. I do not know how well they work. A basic rule of thumb is if you need a UI so that someone can click dialogs etc.. it is not a good candidate for a service. But if it is a monitoring type thing writing to a log file or gathering data with no user interaction that may work well.


    I would probably look for these programs that make batch into service and see if one has a free trial period. Make sure it will do what you want before you buy it. If not that you may have to check with a developer experienced in writing services.
    ok thanks i'm waiting
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:49.
Find Us