CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Windows startup

  1. #1
    Join Date
    Aug 2004
    Posts
    1

    Question Windows startup

    Somebody knows if it is possible to launch an executable, in a windows NT or 2K system with a registry entry, not at the windows startup after the log on, but at the windows loading before the log on form presentation?

  2. #2
    Join Date
    Aug 2004
    Posts
    184

    Re: Windows startup

    The only way I can think of is either using a service or if you have access to the TaskScheduler you can try to schedule your application - I believe there is an option to run a task at startup.

    HTH

  3. #3
    Join Date
    Sep 2004
    Posts
    4

    Cool Re: Windows startup

    the only way is to write a driver,or use the GINA method.

  4. #4
    Join Date
    May 2002
    Location
    Texas
    Posts
    222

    Re: Windows startup

    You can put it in the Task Scheduler as previously suggested or put it in the Startup Script using gpedit.msc.

  5. #5
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346

    Re: Windows startup

    if you want it to run, do as ada said and create a driver that is called from win.ini (not sure if nt still uses win.ini the same way...but you can look into that). Or you can register your program as a service and it will load alongside windows, before login.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured