Solved

How to execute my program after logged in WIN2K?

Posted on 2002-05-09
6
132 Views
Last Modified: 2010-04-13
I have a program supposed to be run/execute once when WIN2K started up (after logged in WIN2K).  Is there any method to do? (except placing it in the startup of start menu?
0
Comment
Question by:superleo
6 Comments
 
LVL 3

Expert Comment

by:jassav
ID: 6999108
If you go start, settings, control panel, scheduled tasks, add scheduled task, click next, click the program you want to start. Click "each time your computer starts" Then add the user and password of that user you want the task to run for. Click finish
0
 
LVL 3

Accepted Solution

by:
Corvax021899 earned 50 total points
ID: 6999176
You could also add it to the registry:

With regedit

goto

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Add a new string value on the right side panel

Give it the name you want. Ex: "Myprog At Startup"

double click an the new string

Type the path of the program you want to start.

0
 
LVL 2

Expert Comment

by:ThaiTran
ID: 6999306
Put its shortcut into your Startup Group (Start\Programs\Startup)
0
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

 
LVL 1

Expert Comment

by:PoyZen
ID: 6999458
Corvax is right but only if you want the program to run on every logon.

If I understand you, you want it to run only once, so follow Corvax instructions but do it in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
0
 
LVL 3

Expert Comment

by:Corvax021899
ID: 6999629
the run once key is for a one time deal, once the program is executed, the regestry key is deleted.  The Run key will start the program at every logon, for every user.

Corvax
0
 

Author Comment

by:superleo
ID: 7010185
Thank you very much
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 order to fulfill our mission of inspiring learning in the technology community, Experts Exchange is launching a Course of the Month program. Premium and Team Account members will have access to one course per month as a part of their membership, …

763 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