Answer the question
In order to leave comments, you need to log in
How to lock Windows account (reset login cache)?
Situation:
1. blocking the user account:
dsmod user "CN=Иванов Иван Иванович,OU=DepDirectors,OU=Contoso,DC=Contoso,DC=lan" -disabled yes
start psexec64.exe -accepteula \\WSIVANOV -i -s %windir%\system32\rundll32.exe user32.dll,LockWorkStation
Answer the question
In order to leave comments, you need to log in
Oh gods.... Well, block the user in OU, make him a logof, make gpupdate on AD (just in case, although this is not necessary in this scenario) and that's it, man))) And how you do it is some kind of rubbish .....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question