P
P
Pavel2017-07-18 08:08:37
System administration
Pavel, 2017-07-18 08:08:37

How to make windows stop loading through the task scheduler in windows?

The task is to give the employee a laptop for a certain period, after which the laptop should become returnable inoperable. When the desired event occurs, UAC should not pop up and generally somehow report the occurrence of the event.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Satisfied IT, 2017-07-18
@Svarog7

Set a task in the scheduler to start at login and activate after xx date.
To execute, specify a bat file with the shutdown command with parameters to reboot or shutdown. As a result, when the user logs in, the laptop will immediately turn off or reboot after the desired date has come.

H
hexman, 2017-07-27
@hexman

Limit account expiration.
In XP, you could freely remove the bootloader from the C root. Then the system would not boot at all. But you need to do it from an account with administrative rights. As in the new versions, I do not know.
Another option is to rewrite mbr on the screw at X hour. Just don't forget to dump it. The latter option is much more interesting, but more difficult to implement.

Y
younghacker, 2017-07-31
@younghacker

You need to figure out where to get really time. CMOS and NTP sources can be reset or changed. But you can write a script that reads the SMART INFO hard drive time and compares it with the given one and does some actions. Set or activate a password on the disk, encrypt some system area, etc.
Or you can do it differently.
The partition on the disk is initially encrypted by DriveCrypt. When loading, it executes some kind of script that mounts the partition to the directory junction folder. The password is obtained from the system time and disk operation time, figure out how to generate it so that it issues the correct password in the specified time range.
On Linux, the boot process is easier to control than on Windows.
Can issue some kind of token from the Internet. No token refresh - after 24 hours the computer turns into a pumpkin. Maybe there are USB tokens that receive a code from the Internet of things or SMS.
But this will not protect against disk replacement. The employee will change the disk and install the system and move on
. Also, I would try to look for services that remotely control the computer by embedding in the BIOS.
Do not allow to replace the disk, do not allow to reset the password.
For example, Computrace is built into the Dell BIOS even in 10-year-old laptops.
I have not used it, but I understand it can be used to block stolen computers.
You can write your own UEFI module and check whether the disk is in place and how many hours it ticked there, and if everything is in order, boot. Otherwise, fall into a stupor.
Well, or insert a timer into the laptop that will "cut" the desired wire :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question