在 Windows 2008 Server 上将 EXE 安装为服务

发布于 2024-08-02 16:23:28 字数 194 浏览 1 评论 0原文

抱歉英语不好。我正在尝试使用 instsrv.exe 将可执行文件安装为服务,这是我尝试过的:

instsrv "Gestion1" MROOneService.exe

这是我在尝试时收到的消息:

“您不是授权执行此操作 - 请联系您的系统管理员”

有人可以提供帮助。谢谢

Sorry for bad english. I'm trying to install an executable as a service using instsrv.exe, here is what I tried:

instsrv "Gestion1" MROOneService.exe

That is the message that i get when trying:

"You are not authorized to do this - please contact your system Administrator"

Someon can help. Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

嘿看小鸭子会跑 2024-08-09 16:23:28

你应该以管理员身份运行该命令

我目前没有 Windows 2008,但我认为你右键单击开始菜单中的 DOS 命令行图标,然后选择“以管理员身份运行...”。然后,您可以在管理员 dos 命令行提示符下运行此命令。

you should run the command as an administrator

I don't have Windows 2008 with me at the moment but I think you right click on the DOS command line icon from your start menu then choose "Run as administrator...". You then run this command inside the administrator dos command line prompt.

独孤求败 2024-08-09 16:23:28

您需要命令行或调用以管理员身份运行。仅以管理员身份登录并运行命令/语句是不够的。

You need the command line or the call to run as administrator. It is not enough to be logged in as administrator and run the command / statement.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文