• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

How to execute my program after logged in WIN2K?

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
superleo
Asked:
superleo
1 Solution
 
jassavCommented:
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
 
Corvax021899Commented:
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
 
ThaiTranCommented:
Put its shortcut into your Startup Group (Start\Programs\Startup)
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
PoyZenCommented:
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
 
Corvax021899Commented:
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
 
superleoAuthor Commented:
Thank you very much
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now