通过命令行配置Windows服务 [英] Configure windows service through command line

查看:200
本文介绍了通过命令行配置Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在服务属性中通过命令行启用允许服务与桌面交互选项。

如何完成?

我尝试了sc命令。

解决方案

你尝试过sc config servicename type = interact type = own / p>

此外: http://social.microsoft.com/Forums/en-US/vcgeneral/thread/3311c5b7-be80-466e-8d49-fc431115aea9/


I need to enable the "Allow service to interact with desktop" option in the service properties through command line.
How to accomplish that?
I tried the "sc" command. But I can't achieve what I need.

解决方案

Have you tried "sc config servicename type= interact type= own"

Also: http://social.microsoft.com/Forums/en-US/vcgeneral/thread/3311c5b7-be80-466e-8d49-fc431115aea9/

这篇关于通过命令行配置Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆