Solved

How to execute my program after logged in WIN2K?

Posted on 2002-05-09
6
129 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
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

28 Experts available now in Live!

Get 1:1 Help Now