Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to execute my program after logged in WIN2K?

Posted on 2002-05-09
6
Medium Priority
?
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 200 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
[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

 
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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

610 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