错误 1783 - instsrv.exe 从 Win2k3 删除

发布于 2024-07-07 18:52:24 字数 278 浏览 9 评论 0原文

我的应用程序安装程序使用户能够通过使用 srvany.exe 应用程序将应用程序作为服务运行。 要在卸载时删除应用程序,我一直使用应用程序 instsrv.exe 和以下命令:

instsrv“myservice”删除

在 Windows Server 2003 上,我遇到错误 1783。

对于导致此问题的原因有什么想法吗? 我是否对 Win2k3 使用了错误的方法?

My applications installer offers the user the ability to run the application as a service through use of the srvany.exe application. To remove the application on uninstall, I've been using the application instsrv.exe with the following command:

instsrv "myservice" REMOVE

On Windows Server 2003, I encounter error 1783.

Any ideas on what is causing this problem? Am I using the wrong approach for Win2k3?

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

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

发布评论

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

评论(2

得不到的就毁灭 2024-07-14 18:52:24

我对 Rk-Tools 2003 和 2000 进行了相同的尝试,两次都得到相同的错误。
但是在下次重新启动后手动删除注册表参数后,服务(我尝试了几个星座)消失了。
请考虑在删除注册表项之前(!)停止服务,否则该服务将不会接受任何进一步的命令。
也许这会对你有帮助。

I tried the same with Rk-Tools 2003 and 2000 and I get the same error both times.
But after removing the registry-parameters manually after the next reboot the services (I tried out several constellations) were gone.
Please think about stopping the service before(!) you're gonna delete the registry-entries, because otherwise the service will not accept any further commands.
Maybe this will help you.

无语# 2024-07-14 18:52:24

首先 - 对 instsrv.c 的引用只是一条错误消息(它告诉您源代码中错误实际发生的位置)。 我认为(但我不确定)当它尝试枚举服务但遇到溢出错误(安装了太多服务?)时,会发生此 1783 错误。

更好的方法是使用 sc.exe:

SC STOP servicename
SC DELETE servicename

First of all - references to instsrv.c is just an error message (it tells you where the error has actually happened in the source code). I think (but I am not sure) that this 1783 error occurs when it tries to enumerate services but hits an overflow error (too many services installed?)

A better approach would be to use sc.exe:

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