Solved

Disabling Ctrl-Alt-Del in Win2000?

Posted on 2000-03-28
11
323 Views
Last Modified: 2012-05-04
Hi all,
I'm writing a program which needs to disable pressing Ctrl-Alt-Del, so that user won't be able to access the system functions (the program will run on public access computer). In WinNT, I used GINA DLL to achieve the result, but in Win2000 the things don't seem to be the same way.
How can I disable Ctrl-Alt-Del in Win2000?
0
Comment
Question by:lenya
  • 7
  • 3
11 Comments
 

Author Comment

by:lenya
ID: 2668886
Adjusted points from 100 to 150
0
 

Author Comment

by:lenya
ID: 2668896
Just to explain myself a bit, the thing that is not working is actually the setting. The registry key \HKLM\Software\Microsoft\Windows NT\Winlogon does not contain the GINA DLL name anymore. DO you know where it moved to?
0
 

Expert Comment

by:smith1844
ID: 2670502
lenya;

check the HKLM,Software, Microsoft, Windows NT, Current Version, Winlogon=>GinaDLL=>PCIgina.dll

regards
Eugene
0
 

Author Comment

by:lenya
ID: 2678986
Eugene,
This is really the place the GINA name was placed in NT, but in Win2000 there's no GinaDLL key. Moreover, they seem to add some new functions to the DLL interface, thus the older GINA DLL's won't work even if I replace the default MSGINA.DLL with my file.
Regards,
 Leonid.
0
 

Author Comment

by:lenya
ID: 2678988
Adjusted points from 150 to 300
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Expert Comment

by:rhodgson
ID: 2707253
a) Are you really asking how you get an NT4 GINA to work on Windows 2000?

b) Is your NT4 GINA a pass through GINA or a complete replacement GINA?
0
 

Author Comment

by:lenya
ID: 2711230
Hi rhodgson,
a) Yes, you're right.
b) Bingo, again. I need to make a pass-through GINA which disables certain functions.
0
 
LVL 1

Expert Comment

by:rhodgson
ID: 2712394
Have you got the Win2000 WinWlx.h file?
It's the one with the v1.3 additions.

Find a function in your NT4 GINAthat you pass through with no interception.
Perhaps WlxShutdown(), I cannot say for sure because I do not know what you have actually done.

and so the same for the new functions

BOOL WINAPI WlxNetworkProviderLoad(
 PVOID pWlxContext,
 PWLX_MPR_NOTIFY_INFO pNprNotifyInfo);

BOOL WINAPI WlxDisplayStatusMessage(
 PVOID pWlxContext,
 HDESK hDesktop,
 DWORD dwOptions,
 PWSTR pTitle,
 PWSTR pMessage);

BOOL WINAPI WlxGetStatusMessage(
 PVOID pWlxContext,
 DWORD *pdwOptions,
 PWSTR pMessage,
 DWORD dwBufferSize);

BOOL WINAPI WlxRemoveStatusMessage(
 PVOID pWlxContext);

Also note the additions to the WLX dispatch table, again repeat what you have done for other pass through dispatch entries (ie. WlxSetTimeout, again a guess)

PWLX_SET_OPTION WlxSetOption;
PWLX_GET_OPTION WlxGetOption;
PWLX_WIN31_MIGRATE WlxWin31Migrate;    PWLX_QUERY_CLIENT_CREDENTIALS
  WlxQueryClientCredentials;
PWLX_QUERY_IC_CREDENTIALS
  WlxQueryInetConnectorCredentials;
PWLX_DISCONNECT WlxDisconnect;
PWLX_QUERY_TERMINAL_SERVICES_DATA
 WlxQueryTerminalServicesData;

Regarding the GINA registry setting, if it is non-existent the W2K defaults to MSGINA.DLL, however, if you build an entry it will use yours.

Rob
0
 

Author Comment

by:lenya
ID: 2720123
Hi Rob,
I will gladly accept your answer and give you the points you deserve if you give me some clarifications.
1. Could you please send me the newer version of WinWlx.h? The one I've got is ver.1.1.

2. The only function I intercept is WlxLoggedOnSAS, in all the rest of the functions I simply make GetProcAddress in the original GINA, and call the function. Your comment about the WLX dispatch table is unclear to me. Could you please give me more info on that, or say where to search?

Regards,
 Leonid.
0
 
LVL 1

Accepted Solution

by:
rhodgson earned 300 total points
ID: 2721412
1. Sorry, you will have to get the header file from Microsoft.  I ain't crossing their EULA, especially not in a public place.  You probably find you can download it from somewhere on their site, I think.  Either by filename or alternatively pull down the Win2000 Platform SDK.

2. If you don't override the dispatch table in WlxInitialize then don't worry about the second part of my answer.


My Final Resolution:

Do the GetProcAddress thing with the four functions I have described in my previous answer.

0
 

Author Comment

by:lenya
ID: 2763586
Hi rhodgson,
Sorry for the delay, I've been on vacation.
Here's yours points, enjoy.
Thanks for your help, I'm now digging through our MSDN subscription. :)
Regards,
  Leonid.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now