Command-line (cmd) command to lock a windows machine

listed in answer

Command-line (cmd) command to lock a windows machine
0 votes, 0.00 avg. rating (0% score)

ANSWER:

Since it’s not recommended to run LockWorkStation via rundll32.exe, another solution is to use Wizmo. Just run:

wizmo lock

by Laurent from http://superuser.com/questions/431351