How to reboot windows (automatically) when RDP password equal some value?
For example :
Password for RDP == "hello_world"
. When user enter with this password Windows will work as usual. But if password == 'bye_world'
Windows will reboot.
How to reboot windows (automatically) when RDP password equal some value?
For example :
Password for RDP == "hello_world"
. When user enter with this password Windows will work as usual. But if password == 'bye_world'
Windows will reboot.
You could use a batch file as @Da_smokes suggested
set /p password=Enter rdp password:
if "%password%"=="hello_world" mstsc /whatever you want to do
if "%password%"=="bye_world" shutdown /s /t 0 /f