Locate all users on my Windows Server 2008

Asked By 0 points N/A Posted on -
qa-featured

All my servers are installed in Windows Server 2008. I want to locate all the users where the “password never expires” is set in the active directory. Should I be using any command? If so, what are the following commands? How would I resolve this problem?

SHARE
Best Answer by Vaslie Soal
Best Answer
Best Answer
Answered By 0 points N/A #105799

Locate all users on my Windows Server 2008

qa-featured

Hi,
Follows below instruction for checking password expire set. You need administrator rights for checking below thing.

open RUN menu and type CMD.

You will find command prompt after that you have to type dsqery * -filter.

You will see result of that command and you can also able to find DN is set of users attribute which means passwords never expire option is set for that particular user.

More command help please click on below link.

http://www.computerperformance.co.uk/Logon/DSquery_user.htm

Thanks

Answered By 0 points N/A #105800

Locate all users on my Windows Server 2008

qa-featured

first of all you better connect all the client servers to a domain. you can promote one server as a domain controller and then after that from the AD ( Active Directory ) you will be creating all the users inside the domain. from AD users & computers you can simply change the password options to never expire.

or Create a group policy which enable password never expire and link it your domain. then use

gpupdate /force in CMD  and hit enter ( assume that you have Administrator privileges in the domain )

it will enforce the group policy and apply it immediately

then after users will never prompt to change the password

 

thanks

 

Related Questions