Click here to Skip to main content
15,914,820 members
Home / Discussions / System Admin
   

System Admin

 
GeneralVMWare / 2003 Server / Config.NT / 1992 Dos App Pin
Malcolm Smart19-Dec-07 22:39
Malcolm Smart19-Dec-07 22:39 
AnswerRe: VMWare / 2003 Server / Config.NT / 1992 Dos App Pin
Malcolm Smart19-Dec-07 23:39
Malcolm Smart19-Dec-07 23:39 
GeneralWinXP and DirectX 9c killed me Pin
john john mackey19-Dec-07 13:37
john john mackey19-Dec-07 13:37 
GeneralRe: WinXP and DirectX 9c killed me Pin
Hesbon Ongira21-Dec-07 7:06
Hesbon Ongira21-Dec-07 7:06 
GeneralRe: WinXP and DirectX 9c killed me Pin
Jerry Hammond30-Dec-07 4:59
Jerry Hammond30-Dec-07 4:59 
GeneralRe: WinXP and DirectX 9c killed me Pin
john john mackey7-Jan-08 14:02
john john mackey7-Jan-08 14:02 
GeneralRunning an application automaticaly Pin
Kogee San16-Dec-07 14:46
Kogee San16-Dec-07 14:46 
GeneralRe: Running an application automaticaly Pin
Johpoke16-Dec-07 21:19
Johpoke16-Dec-07 21:19 
There are a few different ways to make programs start with windows:

1. Registry
2. Startup folder
3. Service (can run before login)

Depending on what you program does some methods may be better then others, for example if you have a computer critical driver then a service is nice. If its a utility which no one would want to disable the registry is nice, and if its a ad-don which someone might want to disable, then the startup folder is nice.

1. Registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
There are different places as you see, and if i remember correctly you can add it HKEY_LOCAL_MACHINE for it to start with all users or HKEY_CURRENT_USER for currently logged on user (but not sure)

2. Startup:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
C:\Documents and Settings\%USERNAME%\Start Menu\Programs\Startup
This also has a per user setting, or global. Its a nice and very simple

3. Service:
Services are the most reliable and most advanced, they can run before the user logs in, and keeps running when all users have logged out.

If your application has no dialogs, then it shouldnt show anything no-matter how it starts, but if you use the registry or services (maybe even startup folder) then you can pass you own params to affect how your program starts. (but you will have to program them..)

Choose which method would fit best to you application, then Google a bit on it, there is alot of info for all of them

Smile | :)
//Johannes

GeneralRe: Running an application automaticaly Pin
Kogee San17-Dec-07 13:49
Kogee San17-Dec-07 13:49 
GeneralRe: Running an application automaticaly Pin
Johpoke17-Dec-07 20:53
Johpoke17-Dec-07 20:53 
GeneralRe: Running an application automaticaly Pin
Kogee San17-Dec-07 21:56
Kogee San17-Dec-07 21:56 
GeneralRe: Running an application automaticaly Pin
Dave Kreskowiak18-Dec-07 10:51
mveDave Kreskowiak18-Dec-07 10:51 
GeneralVPN Connection setup Pin
Bogdan Istrate14-Dec-07 1:28
sussBogdan Istrate14-Dec-07 1:28 
GeneralRe: VPN Connection setup Pin
Hesbon Ongira21-Dec-07 7:08
Hesbon Ongira21-Dec-07 7:08 
GeneralWindows Update on XP Pin
Kevin McFarlane13-Dec-07 5:06
Kevin McFarlane13-Dec-07 5:06 
GeneralRe: Windows Update on XP Pin
User 171649214-Dec-07 2:39
professionalUser 171649214-Dec-07 2:39 
Generalusing WinDbg remotely Pin
ForNow12-Dec-07 13:29
ForNow12-Dec-07 13:29 
GeneralImage Transfer from window machine to Unix based machine Pin
Vipin Chauhan12-Dec-07 1:51
Vipin Chauhan12-Dec-07 1:51 
GeneralRe: Image Transfer from window machine to Unix based machine Pin
Craster12-Dec-07 2:07
Craster12-Dec-07 2:07 
GeneralSecurity Policy Error - Window App on Network Shared Server. Pin
mccalla10-Dec-07 8:12
mccalla10-Dec-07 8:12 
GeneralVista Home Premium and Old Games Pin
DanB19839-Dec-07 13:07
DanB19839-Dec-07 13:07 
QuestionDeleated files in Windows XP???? Pin
Benjamin Dodd8-Dec-07 8:00
Benjamin Dodd8-Dec-07 8:00 
GeneralRe: Deleated files in Windows XP???? Pin
Johpoke8-Dec-07 22:47
Johpoke8-Dec-07 22:47 
GeneralRe: Deleated files in Windows XP???? Pin
Hesbon Ongira21-Dec-07 7:15
Hesbon Ongira21-Dec-07 7:15 
GeneralRe: Deleated files in Windows XP???? Pin
Johpoke21-Dec-07 7:45
Johpoke21-Dec-07 7:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.