Solved

Disabling Ctrl-Alt-Del in Win2000?

Posted on 2000-03-28
11
326 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

815 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

11 Experts available now in Live!

Get 1:1 Help Now