9/20/2023 0 Comments Bones ctrl alt delete![]() ![]() This will allow the console command line to be opened with F6. It might be necessary to change the keyboard layout to English - UK on some keyboard layouts, as the console can only be opened if the keyboard layout has at least one of the 3 activation keys ( §, ` or ~).Īnother solution that does not require switching the keyboard layout is to navigate to " %LOCALAPPDATA%\FactoryGame\Saved\Config\WindowsNoEditor", and adding the following line in the "input.ini" file under "": This will open the console command line press it again to open a larger window (at least one command requires a large window in order to be used properly). MessageBox.Show("Nice try, but I don't think so.The console can be accessed by §(paragraph)/ ` (backtick)/ ~ (tilde) key. If (e.CloseReason = CloseReason.UserClosing || e.CloseReason = CloseReason.FormOwnerClosing) Override the Form.OnFormClosing: protected override void OnFormClosing(FormClosingEventArgs e) This.Size = Ĭreate a timer, with a 500 millisecond interval, which looks for, and kills "taskmgr.exe" and "procexp.exe". Override the Form.OnLoad method like so: protected override void OnLoad(EventArgs e) This will give you a form which takes over the screen - doesn't allow windows to appear on top of it and will shoot down task manager if it is started. I achieved a similar goal, but with a different tactic in a Time Tracker tool I whipped up. ![]() ![]() To stop ctrl-alt-del whilst your application is running, you could create a named mutex (CreateMutex) and test for its presence in the gina.dll, stopping ctrl-alt-del if the mutex exists. To disable the ctrl-alt-del key press, update the function WlxLoggedOnSAS in GinaInterface.cpp. ![]() As it stands, there is no difference between this and a standard gina.dll, all the gina related calls are passed through to the original gina.dll file (called msgina.dll in the Windows\System32 folder). This will disable the "Welcome" screen and replace it with the 'press crtl-alt-del' to login dialog. The file GinaInterface.cpp details the steps needed to install the new gina.dll library. It is still possible to disable ctrl-alt-delete in Vista/Win7 but it requires a different mechanism - there are MSDN articles about it somewhere.ĮDIT 3: Here's a ZIP file containing the source code to make a gina.dll It was built using DevStudio 2005. This does not stop people from pressing F8 at boot up and selecting the Safe Boot option, which won't load the custom gina.dll.ĮDIT: I should also say that you don't need to implement all the functions the gina is required to implement, you can dynamically load the previous gina.dll and pass all the calls you're not interested in to the old gina.dll.ĮDIT 2: This does not work with Vista/Win7 as they changed the architecture of the logon process. It's not too difficult to create your own gina but it does require C/C++ coding and not C# and it is quite easy to make the system fail to boot. The standard gina.dll invokes the logon screen or the task manager/logoff dialog. The main logon request is the ctrl-alt-delete response. This DLL exports a set of functions that interact with the Winlogon process and provides the user interface to logon requests - the Secure Action Sequence event. For Windows XP, the correct way to do this is to create your own Graphical Identification and Authentication Dynamic Link Library, or gina.dll for short. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |