11 replies
by cliff680
What will happen to the user when they try to log on using a computer that has been temporarly deactivated?
I don't want to inconvenience anyone.
by cliff680
by dynamo2003
by rsp
NTUSER.EXE from pedestalsoftware.com can give you information on computer accounts. Here's a command-line that will dump all expired accounts using that utility (make sure you write it all on one line):
for /f %i in ('ntuser show MYDOMAIN\*$') do@(ntuser show MYDOMAIN\%i | find "PASSWORD_EXPIRED"|find /i "True" >nul) && echo %i
by rsp
Easier command-line:
ntuser -s MYPDC show MYDOMAIN\*$ -where "password_expired==1"
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending