Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to disable the WIN2k shell?

0 views
Skip to first unread message

Bill Sun

unread,
Oct 22, 2001, 7:33:18 AM10/22/01
to
Hi,Everyone:

I have a application on win2k,I hope my application UI can't be
interrupt in win2k by user press the Ctrl+alt+del.and can hide the start up
menu...etc. Any help be appreciated.

Thank in advanced...

Bill Sun


Lion Shi

unread,
Oct 23, 2001, 8:37:06 AM10/23/01
to
Hi Bill,

Thank you for using Microsoft Visual C++ Newsgroup. My name is Lion Shi.

You can trap the mouse event by using a hook. If you determine user click
Start Up button then ignore it. Also, you should trap the keyboard event
and shield the Win key and Ctrl + Esc. However, Ctrl + Alt + Delete has
very high priority. It can’t be disabled with a hook.

If you want to do this you must create your own GINA and replace the one
provided by the system. 18 standard functions such as WlxNegotiate ,
WlxInitialize and WlxLoggedOnSAS must be exported to interact with
winlogon.exe. Then put your GINA dll(says MyGina.dll) into the path
Winnt\system32 and modify the registry as follows:

Key Name: \HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\
Winlogon

Value Name: GinaDLL

Value Type: [REG_SZ]

Value: MyGina.dll

It will be available when you restart the machine. For more information
about GINA dll please see:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/gi
na_functions_4jn7.asp

Best regards,

Lion Shi, MCSE, MCSD
Microsoft Support Engineer

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
>> From: "Bill Sun" <sunsha...@eastday.com>
>> Subject: How to disable the WIN2k shell?
>> Date: Mon, 22 Oct 2001 19:33:18 +0800
>> Lines: 11
>> X-Priority: 3
>> X-MSMail-Priority: Normal
>> X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
>> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
>> Message-ID: <eL$31xuWBHA.992@tkmsftngp03>
>> Newsgroups: microsoft.public.vc.mfc.docview
>> NNTP-Posting-Host: 210.52.211.8
>> Path: cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp03
>> Xref: cppssbbsa01.microsoft.com microsoft.public.vc.mfc.docview:17261
>> X-Tomcat-NG: microsoft.public.vc.mfc.docview

0 new messages