如何运行没有登录窗口的应用程序? [英] How to run a application without login windows?

查看:88
本文介绍了如何运行没有登录窗口的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我正在开发visual studio 2010,我想启动一个UI应用程序来做某事。但是,程序必须安装在windows server 2008 r2上。

所以,我必须将应用程序编程为Windows服务器,因为服务器通常会重启。

和Windows服务器运行一个UI应用程序,问题是,没有登录Windows桌面,UI应用程序将无法启动。

最后我的英语很差,所以如果你能读懂它,请帮我解决问题。非常感谢你!







电子邮件:1102043058@qq.com

名称:jason.xu

Dear all,
I'm working on visual studio 2010 and i want to start a UI application to do something.but,the program must installed on windows server 2008 r2.
so,I must programming the application as a windows server because of the server will often be restart.
and the windows server run a UI application, The problem is ,without login windows desktop,The UI application will not be start.
at last my english was bad,so if you can read it,please help me solve the problem. thank you very much!



E-mail:1102043058@qq.com
name:jason.xu

推荐答案

如果您希望应用程序在机器重新启动并在没有用户界面的情况下运行时启动,那么您可以将其开发为Windows服务。一个服务不能有用户界面,但是如果你的应用程序需要在没有用户界面的情况下运行,那么无论如何它都可能无需输入。
If you want your application to start when the machine reboots and run without a UI then you could develop it as a Windows Service. A service can't have a UI, but if your app needs to run with no UI then chances are it does things without input anyway.


如果有人遇到同样的问题这些解决方案可能是能够帮到你。

服务之间的互动和Windows Vista中用户级别的应用程序在没有UAC弹出窗口的本地系统帐户下在Vista中启动应用程序

谢谢大家。问题是继续。
if anyone has the same problem these solution may be able to help you.
Interaction between services and applications at user level in Windows Vista and Launch your application in Vista under the local system account without the UAC popup
thank you for everyone. and the question is continue.


这篇关于如何运行没有登录窗口的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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