怎么样使我的程序在WINDOWS启动后但在输入密码框前运行??

解决方案 »

  1.   

    1. gui: gina
       non-gui: service/driver2. depends on nic (google: wol nic magic packet)
      

  2.   

    服务!!!如果把你程序写成服务
    就可以在WINDOWS启动后用户登陆前运行
      

  3.   

    http://www.nsfocus.com/index.php?act=sec_doc&do=view&doc_id=735&keyword=%B7%FE%CE%F1
      

  4.   

    看了http://www.nsfocus.com/index.php?act=sec_doc&do=view&doc_id=735&keyword=%B7%FE%CE%F1之后,一团雾水
      

  5.   

    What you want is to setup your application to run as an NT service.
    NT services are started after bootup and before NT logon.
    There is a way to run almost any application as a service.  
    This can only be done if you have the  NT Resource Kit CD.
    The magic utility program is SRVANY.EXE.
    找一下有关NT service 的资料吧
      

  6.   

    有一个变通的方法就是,修改EXPLORER的进入点调用你的程序!
      

  7.   

    to kingzai :
     直接用srvany.exe调用我的*.exe就可以了吗?神奇,你有这个文件吗?他运行要什么DLL吗?to killhs:
      怎么修改?
      

  8.   

    有关服务程序的编写请看MSDN里的Plat SDK->base service->DLLS.Procceses,and Threads->service
      

  9.   

    NT Resource Kit CD.
    The magic utility program is SRVANY.EXE.
    NT Resource Kit在这里有下载http://www.54bb.com/hack.htmwin2000 Server Resource kit Full(完全安装版) windows 2000 Server资源开发包完全安装版.(2001-07-29) 站点1 站点2 (40M) [W2K资源开发包] 
    win2000 Resource kit(资源开发包) windows 2000资源开发包.(2001-06-07) 站点1 站点2 (23M) [W2K资源开发包] 
    NT 4.0 Server Resource Kit 4.03完全版 NT 4.0 Server Resource Kit 4.03(资源开发包)完全版.(2001-06-07) 站点1 站点2 (22M) [NT4资源开发包] 
    自己去找
      

  10.   

    i search this from news.microsoft.com,it have not been tested .but i think you can try it.
      

  11.   

    MSDN中说logon桌面是只有logon进程才可以访问的,不过有没有可能,不用gina,单用服务就可以与logon桌面进行交互呢?比如模拟按键的发送什么的
      

  12.   

    找了一阵资料,好象不行,pcanywhere就是替换的gina dll
    :(
      

  13.   

    用SetSystemPowerState(..)可以使得电脑待机,但是如果要唤醒待机的电脑该用哪个API呢