![]() |
|
[Python] How to disable Ctrl+Alt+Delete using Python - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] How to disable Ctrl+Alt+Delete using Python (/showthread.php?tid=6021971) |
How to disable Ctrl+Alt+Delete using Python - f4keg0d - Nov 4, 2019 Hello, Strangers so im trying to make Program tp disable Ctrl+Alt+Delete on widows. Note: Pyhook is not working for some reason RE: How to disable Ctrl+Alt+Delete using Python - TheWarOwl - Nov 9, 2019 I gave it a shot, and while my tests did block the keyboard input it doesn't prevent the ctrl+alt+delete popup With a little bit of research I discovered that this is handled at kernel level due to security reasons. Basically, You need a low level keyboard hook. Are you trying to prevent the user from opening task manager? If so you may just simply end the task manager process if it ever starts, ctrl+alt+delete isn't the only way to open task manager anyways. RE: How to disable Ctrl+Alt+Delete using Python - f4keg0d - Nov 9, 2019 (Nov 9, 2019 02:42 PM)TheWarOwl Wrote: I gave it a shot, and while my tests did block the keyboard input it doesn't prevent the ctrl+alt+delete popupwell I found something but its need rest (reboot) how you can disable it : Code reg add os.system('"HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /t REG_BINARY /d 0000000000000000030000004de01de04be01d0000000000 /f')(if anyone knows how can I make this req stuff work without logout/in please share <3 P.S 2: can you share your method with me (the one that looks at everything. RE: How to disable Ctrl+Alt+Delete using Python - magicparty - Nov 9, 2019 Maybe using a System Call. [Executing user-mode instructions] -> [System call] -> [Execute kernel-mode instructions] -> [Return back to user-mode] The user mode / kernel mode is actually signified by a physical bit that is set in main memory. System calls in the C programming language on the other hand runs instructions specifically built for the operating system which is obviously in kernel mode. Tl;dr - Use a System Call in the C programming language to see if you can get what you want in Kernel Mode If you want to know more I can send you reading material or help you understand on a deeper level. Just PM me. RE: How to disable Ctrl+Alt+Delete using Python - f4keg0d - Nov 11, 2019 (Nov 9, 2019 07:57 PM)magicparty Wrote: Maybe using a System Call. sorry but can't massage you im still under lvl for that XD |