Is there a program (or command prompt) that can make my screen black or unresponsive until a key (e.g. "ü") is pressed?
becomes?
Yes, I absolutely need this right now. No, I don't want to do anything illegal with it. Yes, I'm the admin. Yes, it's my computer.
It's supposed to be password protected, so to speak, except that the screen only activates when this "password key" is pressed.
I’ll put on Powershell again. In this particular case because of the easier accessibility than hybrid batch.
Paranoia?
I would have liked to see the code….
The following Powershell hybrid batch does nothing more than
It does not use to close the powershell window via ALT+F4, as there is no desktop that accepts any user actions. (But it remains the way out via the monkey handle or reset)
No admin rights are required and no security policies are tanged! The batch can (unlike a Powershellscript) can easily be placed in the car start folder. (…or as a new REG_SZ value “Shell” under “HKEY_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Winlogon” are entered as shell) !!!Preview!!! changing the standard shell (explorer) into a batch is not quite unproblematic and should only be done if tests do not show any problems… necessarily start the Explorer at the end!!
demo.cmd
as I said, the ding is a powershellscript, to which I just “trickreich” overwhelmed a “batch fur”. with it, I’m wearing all the obstacles in relation to Powershell.
Here is the Powershellscript without abbreviations and commented so that you can also see where any values come from and why I do certain things that you don’t expect in Powershell…
( -570163201 , 0x20 or -16 …etc is not necessarily plausible🥱)
Hide_Desktop.ps1
DANKE!!!!
This is possible if you have knowledge of PowerShell or AutoHotkey. But I don’t have any idea how such a script would look and the way it works would probably depend on the version of the operating system.
That’s why I’d just push you install Windows key + L to block your Pc so you can only get in with your password. Unfortunately, you can’t turn off your screen without a script, except you have a laptop and it has the function for it (at least with my old one)
Mhh, so I’ve already tried it with Power Shell, but my computer has so strong security precautions that I have just crashed it with it xD AutoHotkey I can try, thank you!
For me, it sounds more like “system screwed up”.
Nowadays, it’s not that easy to crash the computer.
The possibly “inconsistent” system has also motivated me to not automatically enter the batch as a shell into the registry.
If you need it as super-specific due to uuuuuuuun:
Customize, compile and mount the .exe into the car start.
simply tapping out the monitor, however, has the disadvantage that an unauthorized person can click around with the mouse in the blind flight or the focus to the window is lost and thus also the read-in of the “passletter”
…and not every monitor reacts (as expected) to SC_MONITORPOWER
That’s right. And if you have a Linux computer or some other POSIX compliant, then _kbhit() does not work.
But I think the questioner just wants to have some kind of bullshit, which is why I did not attach importance to security or stability. If the FS wants something better, then he has to knit it himself if all the proposed methods do not baptize him.
Hello
As command line
scrnsave.scr
With Esc back to desktop
LG
gufrastella
Yeah, that’s going in the right direction.
Then make a bat file and set a link to the car start
With Button Ent back to desktop
Sure.
Okay, thanks anyway.
Unfortunately no.
You know how to stop this?
Right. I’m sorry.
I did, but as I said, it’s going to go away again as soon as I just move the mouse
does not suffice ?
No
Then take the rest mode
https://www.netzwelt.de/instruction/160614-windows-10-so-oriented-shortcut-ruhmodus.html
Windows taste + L