Jump to content

block Alt+Ctrl+del for 20 seconds


Epulone
 Share

Recommended Posts

I have created a small macro script . To avoid the user could block the progress of the automate sequence (about 20 seconds) I would like to block  Alt+Ctrl+del just the time the script end in about  20 seconds.

How can I do it?

Thanks

 

Link to comment
Share on other sites

I can do it, but the forum is sensitive about scripts that look like keyloggers.

Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

No, here there is a  misunderstand.

Mine is a genuine request. The script I am speaking about open a free legal software (Toolwiz Time Freeze) insert the admin password and activate it only when a student logon using the local student account of a university testing LAB. This to preserve the PC for any unwanted user change. The activation of the software require about 20 seconds where the student can use Alt+Ctrl+del to terminate the script and then mess all around ....

I hope you can see that here there isn't any  key-loggers scope .... I believe it is exactly the contrary .....avoid  any action from students  that could prevent the activation of the program by the script before they use the PC.

 

Edited by Epulone
Link to comment
Share on other sites

i believe what they are intimating is that a keylogger is the only way to do it, and we cant help you down that path.

As well, there are new built in defenses to Windows that warn the user when something is preventing the security screen from displaying when ctrl+alt+del is pressed.

google 'autoit ctrl+alt+del'.  There is no magic to be had, it's just thread after thread of futile efforts.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

@Epulone you could set the group policy: "Prevent Task Run or End", would that work for you?

Also maybe you could just disable the del or one of the other keys entirely using scancode.

Edited by careca
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

7 hours ago, careca said:

Also maybe you could just disable the del or one of the other keys entirely using scancode.

I believe that could work, but you will require to rummage into the registry. 

You could use #requireadmin along with regwrite function to do it for you.

But remember, you will need to reboot the computer in order to activate the change.

It is still possible to complete the script after reboot, but it will require some more scripting...

Link to comment
Share on other sites

  • 2 weeks later...

that program, "Toolwiz Time Freeze", is rather poorly designed and extremely poorly documented. i installed it on a VM just to see if there was a help file available (there wasn't), and the "Help" section in the program UI sums up to this:

To active the Time Freeze mode with command line, you can try this way:
c:\xxx\ToolwizTimeFreeze.exe /freeze 
If you have set a password to protect the program, you can try this way:
c:\xxx\ToolwizTimeFreeze.exe /freeze /usepass=mypassword

To deactive the Time Freeze mode with command line, you can try this way:
c:\xxx\ToolwizTimeFreeze.exe /unfreeze 
If you have set a password to protect the program, you can try this way:
c:\xxx\ToolwizTimeFreeze.exe /unfreeze /usepass=mypassword
This operation will reboot your system automatically

To set the Time Freeze mode to be auto on with command line, you can try this way:
c:\xxx\ToolwizTimeFreeze.exe /freezealways 
If you have set a password to protect the program, you can try this way:
c:\xxx\ToolwizTimeFreeze.exe /freezealways /usepass=mypassword

---------------------------------------------------------
To install the Time freeze to your pc with command line, you can try this way:
c:\xxx\ToolwizSetup.exe /install /alwaysprotect=1 /reboot=1 /setpass=xxx /showtoolbar=1 /safemodequit=1 /cachesize=2000
then restart your computer to make the engine work.

To uninstall the Time freeze from your pc with command line, you can try this way:
c:\xxx\ToolwizSetup.exe /uninstall /reboot=1
then restart your computer to make the uninstall complete.

--------------------------------------------------
To get the protect state with command line, you can try this way:
c:\xxx\\ToolwizTimeFreeze.exe /check /usepass=mypassword

you can read the flag in the Registry.
HKEY_CURRENT_USER\Software\Toolwiz\TimefreezeNew
CURRENT_PROTECT_MODE = 1 means Time Freeze is ON.
NEXT_BOOT_PROTECT = 1 means next reboot, Time Freeze will be ON.

now, although minimalist, that description provides pretty much all you need - in the first two paragraphs.

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...