I'm trying to lock all computers in my house - I checked the psshutdown option with the -l flag, but although the shutdown is working, the lock isn't working at all - it's writing that the machine is locked, but it's not actually locked.
I also tried with psexec \\192.168.14.100 -s -u {username} -p {password} c:\1.bat
- and there I put the rundll32.exe user32.dll,LockWorkStation
(the file is working locally) - but it's writing as if it succeeded, but the windows machine isn't locked.
Any ideas? (by using the previous programs - or any new ones).