Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

21 Sep 2016   #1
savinio0

windows xp c86
 
 
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 System SpecsSystem Spec
.
21 Sep 2016   #2
MilesAhead

Windows 7 32 bit
 
 

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 System SpecsSystem Spec
22 Sep 2016   #3
savinio0

windows xp c86
 
 

Quote   Quote: Originally Posted by MilesAhead View Post
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 System SpecsSystem Spec
.

Reply

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
My pc open file automatically, then automatically shut down
My pc open file automatically, then automatically shut down when I running my pc, it create pop up sound then open file automatically then pc get shut down. watching any video file, this create more problem. when i scan all of my hard drives but any virus or virus activity didnt appear....
General Discussion
TaskScheduler: can one specify a task's priority?
I am starting a couple of tasks each time I log in. However, since the number of these tasks keeps growing they are slowing down my startup more and more and so I rather would like to schedule them to run with low priority and/or delayed (like a minute AFTER startup has completed...). It seems,...
Performance & Maintenance
Missing Task in TaskScheduler after Computer Name change
Hello All! Setting up a new Win7 install and goofed up the computer name and didnt immediately notice. I had already setup a task to run upon logon when I noticed that the PC's name was all jacked. So I changed the pc's name and rebooted. After reboot the task disappeared from the task scheduler...
General Discussion
TaskScheduler Display Message
I have created a task that displays a message on my children's computer that it is time to save and log off the computer. This gives them a last chance to save and warns them that time is almost up! However, the message gets lost in the game playing and does not get their attention. Is there a way...
General Discussion
How to do something automatically within a program
Hi all, I'm curious to whether this is possible, and I'm pretty sure it must be but I need to learn a little more first. I want, at a certain time, firefox to launch a web page (already got this bit sorted) and then to press a button in firefox on a webpage. It's a radio streamer and I want...
General Discussion
PC automatically reboots
Hello, My PC is being automatically rebooted and i don't know why! :cry: I am attaching the .dmp file:WD-20100131-1557.dmp This is what the event log shows: Fault bucket , type 0 Event Name: LiveKernelEvent Response: Not available
BSOD Help and Support


Our Sites

Site Links

About Us

Find 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 01:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App