如何制作win2000Server中的服务,类似于系统服务?????????????????

eagle1860 2003-10-20 02:21:33
如何制作win2000 Server中的服务,就是在进行登录的情况下程序也可以运行,类似于win2000 Server中的系统服务
...全文
42 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
eagle1860 2003-10-31
  • 打赏
  • 举报
回复
INSTSRV在哪里能找到
ravenkatte 2003-10-27
  • 打赏
  • 举报
回复
我建议用INSTSRV
eagle1860 2003-10-27
  • 打赏
  • 举报
回复
use sc config command
这是win2000系统命令吗?
sungod8 2003-10-26
  • 打赏
  • 举报
回复
agree with baiyu(baiyu)
eagle1860 2003-10-24
  • 打赏
  • 举报
回复
resource kit涓
eagle1860 2003-10-23
  • 打赏
  • 举报
回复
up
kbkingbird 2003-10-23
  • 打赏
  • 举报
回复
第二个好用~~推荐·~
ravenkatte 2003-10-20
  • 打赏
  • 举报
回复
在resource kit中有一个工具,叫做service installer(INSTSRV),用来安装或者卸载系统服务,语法如下:

INSTSRV <service name> (<exe location> | REMOVE)

[-a <Account Name>] [-p <Account Password>]

例如:

程序的可执行文件为d:\app\test.exe,该程序需要domain域下的test账号(口令为test)权限运行(不指定域的话,默认就是本域或者本计算机上的账号),你打算命名为Myservice,就这样用:

INSTSRV Myservice d:\app\test.exe -a DOMAIN\test -p test
baiyu20122 2003-10-20
  • 打赏
  • 举报
回复
use sc config command

Modifies a service entry in the registry and Service Database.
SYNTAX:
sc config [service name] <option1> <option2>...
CONFIG OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec|adapt|error>
start= <boot|system|auto|demand|disabled|error>
error= <normal|severe|critical|error|ignore>
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
DisplayName= <display name>
password= <password>

6,849

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧