1

So I wrote the following cmd file:

:he
time < time.txt
goto he

The contents of time.txt are:

00:00:00.00

My goal here was to freeze my Windows 7 clock to see if it caused a program on my computer to stock updating (it did). However, there is a problem.

I cannot figure out how to close the script. Attempting to kill with control+c is not working. Clicking the X in the window is not working. I attempted to press control alt delete but apparently Windows 7 with a frozen clock said nope and after 5 minutes on a black screen booted me back to my desktop without task manager.

Essentially my computer is bricked by accidental malware. How do I stop this runaway train wreck of an application? Is there some other menu that might respond instead of locking up?

4
  • @JitendraSingh I cannot get to system restore. Start menu won’t open. I’m not sure what that would accomplish though. Care to elaborate while I wait to see if start menu ever opens?
    – user64742
    Commented Feb 5, 2021 at 3:29
  • Ok at this point it is clear the start menu is NOT gonna open. Any other thoughts?
    – user64742
    Commented Feb 5, 2021 at 3:37
  • Have you just tried restarting the computer? Commented Feb 5, 2021 at 4:21
  • @music2myear I have unsaved data I would rather not lose.
    – user64742
    Commented Feb 5, 2021 at 4:25

1 Answer 1

4

CTRL-ALT-DEL is the closest thing you have to an interrupt on Windows. If that isn't working you are left with one option whether you like it or not: restart.

1
  • Well, it worked. Thanks.
    – user64742
    Commented Feb 5, 2021 at 4:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .