For some reason, I need to lock my computer from remote side over Remote Desktop. In local side, we can simply press “WIN-L” to lock to computer instantly, but it is not allowed in remote side. So,below is another way to do this:
- In COMMAND windows (i.e. Run->cmd.exe)
- Type: “rundll32.exe user32.dll, LockWorkStation”
- Create the short-cut
- Right-click desktop –> New –> Shortcut
- Place “rundll32.exe user32.dll, LockWorkStation” in the “Type the location of the item” input box.
- Complete and save.
How is it useful?
In my AV-Computer, it need to be auto-login for DVBViewer application. Since I don’t want this computer to be used by my daugther without permission, I need to do auto-lock just after login. So, I create the shortcut in desktop and “Startup”folder. I also configurate the screensaver for 120min with password request option.
沒有留言:
發佈留言