Solved

about running program in the background after log off

Posted on 2004-03-23
10
1,011 Views
Last Modified: 2010-04-13
I want to know is there any method can let me run a program after I log off windows 2000? That means I start to run a program, say bittorrent, then I log off, but I still want this program to keep running in the background. Is it possible for Windows 2000? I know we can do it on Unix. Thanks
0
Comment
Question by:shy513
  • 5
  • 5
10 Comments
 
LVL 16

Accepted Solution

by:
JammyPak earned 75 total points
ID: 10658271
if the application can run as a service, then it can run with no user logged in.

here's two options:

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q137/8/90.asp&NoWebContent=1

http://www.firedaemon.com/
0
 

Author Comment

by:shy513
ID: 10668576
thx for answering. I can run a service whenever I log on or off now. However, the program itself is running but doing nothing...that means,say again, the bittorrent program is running when I check the task manager, but it does nothing, for example download, upload file, etc.
Because I want to use this feature to run a auto-update for virus definition when I leave the office, I do need it is actual running but not just eating up my memory. Thanks again
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 10668967
I'm not too sure about this....the program *is* running...it's just running as a background service rather than a foreground application. How is an auto-update triggered for this program? Is it scheduled, or does it require human interaction? Obviously if you need to click a button to do an update, then that's not possible.

if you need to do something like this, you could try automating the keystrokes using a tool like Auto-It...then you could schedule the Auto-It script to run using 'at'.

http://www.hiddensoft.com/AutoIt/
0
 

Author Comment

by:shy513
ID: 10669426
the auto update program doesnt need any human interaction. It is a batch file. After running this file, it will download the definition from symantec itself. What I want is to run it when I leave office, but my company's policy doesnt let me lock my computer when I am not in the office. Any idea I can actually run the program? Because I used bittorrent as a testing, the bittorrent.exe is running, but no download is actually occurred. Thanks
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 10669476
you could schedule the batch file to run at night.

try this from command line:

at  3:00AM /EVERY:Monday,Tuesday,Wednesday,Thursday,Friday "c:\batchfile.bat"

this doesn't require a user to be logged in...it runs as the localsystem account
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:shy513
ID: 10670154
where to put this command line? in the registry? or in the command prompt?
0
 

Author Comment

by:shy513
ID: 10670277
I find that this command line is similar to the windows schedule. Any different bewteen them? since the task in windows' schedule doesn't work if I log off the computer
0
 

Author Comment

by:shy513
ID: 10670449
I figure it out how to do to meet my requirement. But I really like your link to User-Defined Service. Thanks alot
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 10670478
it is similar...at has been around longer, and it's what I'm more familar with...they both rely on the 'task scheduler' service to be running...but it definitely can work when a user is logged off (I use this command for lots of things here....)
0
 
LVL 16

Expert Comment

by:JammyPak
ID: 10670490
ok, glad it's working for you!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

19 Experts available now in Live!

Get 1:1 Help Now