China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-13 19:58
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Tutorial] [Update] Treat any executable file (including batch files) as a service DigestI View 64,564 Replies 262
Floor 46 Posted 2007-03-14 06:22 ·  中国 浙江 丽水 电信
新手上路
Credits 4
Posts 2
Joined 2007-03-09 00:24
19-year member
UID 81119
Gender Male
Status Offline
Thanks
Floor 47 Posted 2007-03-14 09:46 ·  中国 黑龙江 大庆 联通
新手上路
Credits 2
Posts 1
Joined 2007-03-14 09:21
19-year member
UID 81700
Gender Male
Status Offline
Boss, I want it
Floor 48 Posted 2007-03-20 00:50 ·  中国 浙江 宁波 联通
新手上路
Credits 2
Posts 1
Joined 2007-03-20 00:15
19-year member
UID 82277
Gender Male
Status Offline
Good stuff. Thanks for sharing. Bookmarked!
Floor 49 Posted 2007-03-25 10:50 ·  中国 广东 东莞 电信
初级用户
Credits 60
Posts 23
Joined 2007-02-12 12:58
19-year member
UID 79310
Gender Male
Status Offline
Strongly top. Kiss one. Haha... Used in Internet cafe system management. Very practical. May I ask how to refuse to stop?
Floor 50 Posted 2007-03-25 10:53 ·  中国 广东 东莞 电信
初级用户
Credits 60
Posts 23
Joined 2007-02-12 12:58
19-year member
UID 79310
Gender Male
Status Offline
Seeking help - How to use unstoppable. There are no examples. I'm an internet cafe administrator. I want to prevent others from stopping the Wanxiang I created?
Floor 51 Posted 2007-03-25 20:23 ·  中国 上海 宝山区 电信
高级用户
★★
Credits 653
Posts 252
Joined 2006-04-16 19:48
20-year member
UID 53939
Status Offline
-unstoppable - The system service manager will refuse to stop the service installed with this option.

Example: runassrv add /cmdline:"c:\tools\myapp.exe -arg1 -arg2" /name:"mysrv" -unstoppable

Key points: unstoppable means that the system service manager refuses the user's request to stop the service, but after the user logs in, as long as they have sufficient permissions, they can still use the registry editor to delete the corresponding entry or disable the service. If the permissions are sufficient, this option cannot prevent the user from forcibly killing the service process in the Task Manager.
Floor 52 Posted 2007-03-25 23:49 ·  中国 安徽 马鞍山 电信
中级用户
★★
Credits 493
Posts 228
Joined 2007-02-16 00:38
19-year member
UID 79596
Gender Male
From 安徽
Status Offline
Is this suitable for use without logging in to the Windows desktop?

Test, let's see!
Floor 53 Posted 2007-04-06 14:04 ·  中国 北京 鹏博士BGP
新手上路
Credits 0
Posts 1
Joined 2007-04-06 13:38
19-year member
UID 84189
Gender Male
Status Offline
Learning
Floor 54 Posted 2007-04-06 21:22 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,928
Posts 931
Joined 2007-01-06 11:46
19-year member
UID 75624
Gender Male
Status Offline
Great minds think alike. Admirable, admirable.
Floor 55 Posted 2007-04-09 05:12 ·  中国 山西 运城 联通
新手上路
Credits 4
Posts 2
Joined 2007-04-09 04:47
19-year member
UID 84444
Gender Male
Status Offline
Still don't understand!!, how to do it
Floor 56 Posted 2007-04-09 05:13 ·  中国 山西 运城 联通
新手上路
Credits 4
Posts 2
Joined 2007-04-09 04:47
19-year member
UID 84444
Gender Male
Status Offline
Batch processing??? Really?
Floor 57 Posted 2007-04-20 06:09 ·  中国 北京 宽捷网通信技术有限公司
初级用户
Credits 36
Posts 14
Joined 2007-04-20 01:28
19-year member
UID 85777
Gender Male
Status Offline
Great guy, I accepted it~~ Thank you, the LZ
Floor 58 Posted 2007-04-20 09:14 ·  中国 陕西 西安 电信
初级用户
★★
Credits 112
Posts 50
Joined 2007-04-15 00:59
19-year member
UID 85191
Gender Male
Status Offline
Thanks
Floor 59 Posted 2007-04-20 15:29 ·  中国 上海 电信
初级用户
Credits 24
Posts 12
Joined 2007-04-13 21:05
19-year member
UID 85038
Gender Male
Status Offline
Anyway, first give it a thumbs up. The thing has been received
Floor 60 Posted 2007-05-12 18:11 ·  中国 湖北 武汉 电信
初级用户
Credits 66
Posts 33
Joined 2007-04-28 11:32
19-year member
UID 86777
Gender Male
Status Offline
Wow, the original poster is really powerful yeah.....
Forum Jump: