Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disabling Ctrl-Alt-Del in Win2000?

Posted on 2000-03-28
11
Medium Priority
?
331 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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
 
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 900 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

715 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