Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disabling Ctrl-Alt-Del in Win2000?

Posted on 2000-03-28
11
Medium Priority
?
332 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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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…
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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