登录后如何停止加载Windows 7桌面 [英] How to stop loading the Windows 7 desktop after login

查看:83
本文介绍了登录后如何停止加载Windows 7桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何构建一个在登录(身份验证)之后和显示桌面之前出现的程序.

具体来说,我希望我的程序始终在机器开启时和首次登录后运行,然后它将显示一个简单的表单,需要用户输入,因此,如果用户未输入数据,我的程序就在等待,但是如果用户将所需的数据输入表单,然后Windows 7桌面通常应出现并运行.

任何提示或想法将不胜感激.
问候
Carlos

I would like to know how can I build a program that appears just after logon (authentication) and before displaying the desktop.

Specifically I would like that my program always run when the machine turn on and after initial login, then it will show a simple form which would need input from the user, thus if the user does not enter data my program await, but if the user inputs the required data into the form, then the Windows 7 desktop should normally appears and run.

Any hint or idea will be very appreciated.
Regards
Carlos

推荐答案

请求看起来很荒谬:在显示桌面之前"和将显示简单形式"相互矛盾.没有台式机就没有这样的表格.但是,当桌面位于该位置时,您可以做一些事情.

您可以开发Windows Server,并可以使用类Microsoft.Win32.SystemEvents:
订阅系统事件通知. http://msdn.microsoft.com/en-us/library/microsoft.win32. systemevents.aspx [ ^ ].

首先,我将处理其事件SessionSwitch:
http://msdn.microsoft.com/en-us/library/microsoft. win32.systemevents.sessionswitch.aspx [ ^ ].

—SA
The request looks absurd: "before displaying the desktop" and "will show a simple form" contradict to each other. There is not such thing as a form shown without desktop. However, you can possibly do something when the desktop is there.

You can develop a Windows Server which you can subscribe to the system event notifications using the class Microsoft.Win32.SystemEvents:
http://msdn.microsoft.com/en-us/library/microsoft.win32.systemevents.aspx[^].

First of all, I would handle its event SessionSwitch:
http://msdn.microsoft.com/en-us/library/microsoft.win32.systemevents.sessionswitch.aspx[^].

—SA


在此处检查解决方案

http://stackoverflow.com/Questions/3922847/full-maximized-screen-programs-at-start-up-for-vending-machines-ticket-mach [ http://stackoverflow.com/questions/6724595/windows-how-to- create-an-startup-application [ ^ ]


http://stackoverflow.com/questions/11091770/full- screen-c-sharp-windows-form-covering-all-monitor [
Check the solutions here

http://stackoverflow.com/questions/3922847/full-maximised-screen-programs-at-start-up-for-vending-machines-ticket-mach[^]

http://stackoverflow.com/questions/6724595/windows-how-to-create-an-startup-application[^]


http://stackoverflow.com/questions/11091770/full-screen-c-sharp-windows-form-covering-all-monitor[^]


这篇关于登录后如何停止加载Windows 7桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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