Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
180 views
in Technique[技术] by (71.8m points)

c# - How to change windows default Log in/out screen through a .Net application?

I want to write a .Net framework application which(after installation) can change the windows default Log in/out screens with my own pictures. Please help me how can i start it in .Net(any idea will help me a lot). Should i work with Windows forms/service or some else? I know one can change that screens directly from windows OS but i dont want to use that.


I'm very thankful for your replies, Actually I want to build an interactive application for Windows Logon Screen. The scenario is... Lets the system is locked, a person(not the system user) comes and he should be able to write some comments on Logon screen Textbox without getting log into system. When an administrator log into the system(using Ctrl+Alt+Del and Password) he can read/print those comments. So how to start such application in .net using C#?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Assuming you want to do it on windows 7 you can achieve it this way

1- Create this key in registry

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUIBackground]
"OEMBackground"=dword:00000001 

2- Create this path if does not exist

C:WindowsSystem32oobeinfoackgrounds

3- Copy a jpeg file named backgroundDefault.jpg with a size less than 256 KB to the aforementioned path.

4- Reboot.

You can do all this in any language,even with a simple batch file.

More details


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...