Solved

Disabling Ctrl-Alt-Del in Win2000?

Posted on 2000-03-28
11
330 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

636 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