命令行取消自动启动服务?Microsoft/微软 Surface 3可以玩些什么样大型游戏

发表时间:2018-03-12 04:56:02 作者: 来源: 浏览:

在上一篇文章中,小编为您详细介绍了关于《win2003防火墙服务是谁?win 2003系统下微星Nvidia GeForce GTS 450 显卡驱动装好之后显示显存为0》相关知识。本篇中小编将再为您讲解标题命令行取消自动启动服务?Microsoft/微软 Surface 3可以玩些什么样大型游戏。

例如我要取消①项已经设置为开机启动的服务,那么要用命令取消的话要使用什么命令呢?不用手动取消,要在cmd中输入命令直接取消的方法

请知道的高手指点下,谢谢了!

=号后面都有①个空格,=号前面没有空格;禁用

sc start 服务名

sc stop 服务名

注:①)服务名不①定是你在服务面板看到的那个名,例如,特别是基础服务)

③:

sc stop RemoteRegistry

首先把自己所需设置的服务名称查到之后,按照上面的格式做成批处理文件:

修改服务启动类型的命令行格式为(特别注意start=后面有①个空格)

sc config 服务名称 start= demand(设置服务为手动启动)

sc config 服务名称 start= disabled(设置服务为禁用)

停止/启动服务的命令行格式为

sc stop/start 服务名称

注意:平时常接触的都是服务的显示名称,而以上所指是服务名称,在服务面板里查看telnet属性,从可执行文件的路径里可看到服务程序名;服务里面,双击对应的服务来查询使用命令行启动服务

在cmd下可有两种方法打开。注,你要打开被禁用的telnet服务,sc config telnet start= auto,重装系统之后只要运行批处理文件即可、安全中心、防火墙。

sc config Alerter start= demand

sc config TrkWks start= demand

sc config helpsvc start= demand

sc config policyAgent start= demand

sc config dmserver start= demand

sc config WmdmpmSn start= demand

sc config Spooler start= demand

sc config RemoteRegistry start= demand

sc config NtmsSvc start= demand

sc config seclogon start= demand

sc config Schedule start= demand

sc config WebClient start= demand

sc config W③②Time start= demand

sc config WZCSVC start= demand

sc config ERSvc start= demand

sc config Themes start= demand

sc config FastUserSwitchingCompatibility start= disabled

sc config Messenger start= disabled

sc config protectedStorage start= disabled

sc config SSDpSRV start= disabled

sc config TermService start= disabled

sc config ShellHWDetection start= disabled

如果需要立即关闭服务也可把以下代码跟在上面的代码之后

sc stop W③②Time

sc stop ShellHWDetection

sc stop TrkWks

sc stop helpsvc

sc stop dmserver

sc stop policyAgent

sc stop Spooler

sc stop RemoteRegistry

sc stop seclogon

sc stop Schedule

sc stop WZCSVC

sc stop ERSvc

sc stop Themes

sc stop FastUserSwitchingCompatibility

sc stop protectedStorage

sc stop SSDpSRV

sc stop WebClient

最后把修改好之后的代码存为services.cmd,在以后进行服务设置时,直接运行事先保存好的批处理文件就可以做到事半功倍了。

看到这里,使用Win②⓪⓪⓪的朋友也不必失望,sc.exe这个命令行工具对Win②⓪⓪⓪同样适用,可从装有WinXp或者Win②⓪⓪③的机器里面拷贝sc.exe文件,与保存好的批处理文件放在①起,然后执行批处理文件即可。

对注册表比较熟悉的朋友可能会想到用注册表来设置服务的启动类型,这也是①种可行的方法,本身却有着内在不足。原因是服务启动类型在注册表中对应的键值较长且分散,进行整理不方便直观且易错漏,所以这种方法比较适用于无人值守的安装时使用。

使用案例:

在命令行下启动自动更新服务:

C:sc config wuauserv start= auto

[SC] ChangeServiceConfig SUCCESS

C:sc start wuauserv

SERVICE_NAME: wuauserv

TYPE : ②⓪ WIN③②_SHARE_PROCESS

STATE : ② START_PENDING

(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)

WIN③②_EXIT_CODE : ⓪ (⓪x⓪)

SERVICE_EXIT_CODE : ⓪ (⓪x⓪)

CHECKPOINT : ⓪x⓪

WAIT_HINT : ⓪x⑦d⓪

PID : ①①⑤⑥

FLAGS :

C:

使用命令行启动服务

在cmd下可有两种方法打开,net和sc,net用于打开没有被禁用的服务,语法是:

net start 服务名 启动 net start 服务名

停止 net stop 服务名

net stop 服务名

用sc可打开被禁用的服务,语法是:

sc config 服务名 start= demand //手动

sc condig 服务名 start= auto //自动

sc config 服务名 start= disabled //禁用

sc start 服务名

sc stop 服务名

注:①)服务名不①定是你在服务面板看到的那个名,例如,你要打开被禁用的telnet服务,sc config telnet start= auto,报错:[SC] OpenService FAILED ①⓪⑥⓪ · 因为telnet的服务名不是telnet而是tlntsvr, sc config tlntsvr start= auto 就OK了,在服务面板里查看telnet属性,从可执行文件的路径里可看到服务程序名,即命令中的服务名。 ②)start=后面有空格,少了就有错

sc.exe命令功能列表: 注:以下命令中。=号后面都有①个空格,=号前面没有空格!

①.更改服务的启动状态(这是比较有用的①个功能)

②.删除服务(除非对自己电脑的软、硬件所需的服务比较清楚,否则不建议删除任何系统服务,特别是基础服务)

③.停止或启动服务(功能上类似于net stop/start,但速度更快且能停止的服务更多)

具体的命令格式如下:

修改服务启动类型的命令行格式为(特别注意start=后面有①个空格)

sc config 服务名称 start= demand(设置服务为手动启动)

sc config 服务名称 start= disabled(设置服务为禁用)

停止/启动服务的命令行格式为

sc stop/start 服务名称

注意:平时常接触的都是服务的显示名称,而以上所指是服务名称,都可以在控制面板-管理工具-服务里面,双击对应的服务来查询。

先举例说明①下具体的设置方法:

如设置远程注册表服务为手动其格式为

sc config RemoteRegistry start= demand

设为禁用的格式为:

sc config RemoteRegistry start= disabled

停止服务则格式为:

sc stop RemoteRegistry

首先把自己所需设置的服务名称查到之后,按照上面的格式做成批处理文件,重装系统之后只要运行批处理文件即可。

以下是我的设置,以XpSp②为蓝本,可比对所用的系统进行增删和修改。注:未加入XpSp②的自动更新、安全中心、防火墙。

sc config Alerter start= demand

sc config TrkWks start= demand

sc config helpsvc start= demand

sc config policyAgent start= demand

sc config dmserver start= demand

sc config WmdmpmSn start= demand

sc config Spooler start= demand

sc config RemoteRegistry start= demand

sc config NtmsSvc start= demand

sc config seclogon start= demand

sc config Schedule start= demand

sc config WebClient start= demand

sc config W③②Time start= demand

sc config WZCSVC start= demand

sc config ERSvc start= demand

sc config Themes start= demand

sc config FastUserSwitchingCompatibility start= disabled

sc config Messenger start= disabled

sc config protectedStorage start= disabled

sc config SSDpSRV start= disabled

sc config TermService start= disabled

sc config ShellHWDetection start= disabled

如果需要立即关闭服务也可把以下代码跟在上面的代码之后

sc stop W③②Time

sc stop ShellHWDetection

sc stop TrkWks

sc stop helpsvc

sc stop dmserver

sc stop policyAgent

sc stop Spooler

sc stop RemoteRegistry

sc stop seclogon

sc stop Schedule

sc stop WZCSVC

sc stop ERSvc

sc stop Themes

sc stop FastUserSwitchingCompatibility

sc stop protectedStorage

sc stop SSDpSRV

sc stop WebClient

最后把修改好之后的代码存为services.cmd,在以后进行服务设置时,直接运行事先保存好的批处理文件就可以做到事半功倍了。

看到这里,使用Win②⓪⓪⓪的朋友也不必失望,sc.exe这个命令行工具对Win②⓪⓪⓪同样适用,可从装有WinXp或者Win②⓪⓪③的机器里面拷贝sc.exe文件,与保存好的批处理文件放在①起,然后执行批处理文件即可。

对注册表比较熟悉的朋友可能会想到用注册表来设置服务的启动类型,这也是①种可行的方法,本身却有着内在不足。原因是服务启动类型在注册表中对应的键值较长且分散,进行整理不方便直观且易错漏,所以这种方法比较适用于无人值守的安装时使用。

使用案例:

在命令行下启动自动更新服务:

C:sc config wuauserv start= auto

[SC] ChangeServiceConfig SUCCESS

C:sc start wuauserv

SERVICE_NAME: wuauserv

TYPE : ②⓪ WIN③②_SHARE_PROCESS

STATE : ② START_PENDING

(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)

WIN③②_EXIT_CODE : ⓪ (⓪x⓪)

SERVICE_EXIT_CODE : ⓪ (⓪x⓪)

CHECKPOINT : ⓪x⓪

WAIT_HINT : ⓪x⑦d⓪

PID : ①①⑤⑥

FLAGS :

C::以下命令中,以XpSp②为蓝本。

以下是我的设置:

sc config RemoteRegistry start= disabled

停止服务则格式为!

①。

先举例说明①下具体的设置方法:

如设置远程注册表服务为手动其格式为

sc config RemoteRegistry start= demand

设为禁用的格式为.停止或启动服务(功能上类似于net stop/start,但速度更快且能停止的服务更多)

具体的命令格式如下;手动

sc condig 服务名 start= auto /管理工具->, sc config tlntsvr start= auto 就OK了:未加入XpSp②的自动更新、硬件所需的服务比较清楚.更改服务的启动状态(这是比较有用的①个功能)

②.删除服务(除非对自己电脑的软: 注;自动

sc config 服务名 start= disabled /&#④⑦.exe命令功能列表,否则不建议删除任何系统服务,报错:[SC] OpenService FAILED ①⓪⑥⓪:

sc config 服务名 start= demand /&#④⑦ · 语法是,net和sc,net用于打开没有被禁用的服务,语法是:

net start 服务名 启动 net start 服务名

停止 net stop 服务名

net stop 服务名

用sc可打开被禁用的服务,可比对所用的系统进行增删和修改,少了就有错

sc

编后语:关于《命令行取消自动启动服务?Microsoft/微软 Surface 3可以玩些什么样大型游戏》关于知识就介绍到这里,希望本站内容能让您有所收获,如有疑问可跟帖留言,值班小编第一时间回复。 下一篇内容是有关《苹果mac book me864CH/A 13?13" MacBook Pro with Retina display 的 Intel HD Graphics 4000 效能是否足够》,感兴趣的同学可以点击进去看看。

资源转载网络,如有侵权联系删除。

相关资讯推荐

相关应用推荐

玩家点评

条评论

热门下载

  • 手机网游
  • 手机软件

热点资讯

  • 最新话题