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

My Program First

Is it possible to run your program before the windows log on screen on a stand alone computer with multi-users ?
If so, where in the registry do i place this information or what do you suggest ?
I thank you
gbfine
0
gbfine
Asked:
gbfine
  • 3
  • 2
1 Solution
 
EDDYKTCommented:
Run your program as services.
0
 
gbfineAuthor Commented:
eddykt, thanks for the reply to my question. How exactly does one "run their program as a service" ?

This is my first time here and i am not that great at visual basic as you can see from the question above !

Thanks
gbfine
0
 
BeedleGuisCommented:
Add a string value to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices\
that points to the app, name it anything you want  ie:   Name:MyApp  Value: C:\MyApp.exe

If you need to do this through programaticaly, I can also provide code to insert the value.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
gbfineAuthor Commented:
BeedleGuis, Thanks for your time. I already have the code to what you mention above. The problem is that the "Windows Log On Screen" loads before my program. Granted that the log on screen may get there a few seconds before my program because it is a .bmp and probably not as large a file as my program. My program is small though 250k

Regardless, I still would like to know how the the log on screen is getting there in the first place ? From the registry ? If so where in the registry?

I could just be going about this all wrong. If i could find where it is loading from then maybe i could just kill it huh ?

Do you know anything about running a program as a service as mentioned above by EDDYKT ? Lot of questions, just find the one you have a solution to if any !
Thanks
gbfine
0
 
BeedleGuisCommented:
Adding the entry in the registry is running the program as a service.  As far as where the log-on screen comes from?? no clue here, must be the *magic* of windows.  To kill it, as long as your not on a network, just set your password to nothing: delete the username.pwl from the windows directory where "username" is your username used to log-in, then when windows prompts you for a password at next log-in, leave the field blank and hit ok.  
0
 
gbfineAuthor Commented:
BeedleGuis, Thanks for all of your help. Sorry i was late in getting back to you!
gbfine
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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