Windows コンピュータをロックするショートカットの作り方
- Quickly Locking your Windows PC(Steve Clayton: Geek In Disguise)
http://blogs.msdn.com/stevecla01/archive/2008/02/02/quickly-locking-your-windows-pc.aspx
Here's how to create a quick lock app on your taskbar
ロックするショートカットをクイック起動に設定する方法
- Right click on your deksotp and select New, Shortcut
- Paste this text in - rundll32.exe user32.dll,LockWorkStation
- Click next and type a name for the shortcut (e.g. Lock)
- Click finish
- You can right click on your new shortcut and change the icon (there is a lock icon as part of the collection in %SystemRoot%\system32\SHELL32.dll)
- Now drag the icon to your taskbar
Windowsキー+Lキーで同じ効果なわけですがw
個人的にヒットだったのでメモ。
特に、
- アイコンを変更するときにSHELL32.dllを指定するといい
- これならコマンドでもWindowsをロックすることもできるよね
なんてところが。