Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How can you check user account information using scripts?

Posted on 2004-11-05
5
Medium Priority
?
134 Views
Last Modified: 2010-08-05
I want to check:

1.  When users last changed their passwords.
2.  Which users are required to change their passwords.
3.  Which accounts have not been used in 2 months.

Thanks.
0
Comment
Question by:ojfahoum
  • 3
  • 2
5 Comments
 

Author Comment

by:ojfahoum
ID: 12509414
Sorry.  I forgot to mention we are using Active Directory.

0
 
LVL 11

Accepted Solution

by:
WeHe earned 2000 total points
ID: 12509906
1.  no idea atm.
2.  dsquery user domainroot -name * | dsget user -mustchpwd
3.  dsquery user domainroot -inactive 8 -name * (8 is the Number of Weeks of inactivity)
0
 

Author Comment

by:ojfahoum
ID: 12510146
Can you use these tools on W2K directory?    If so, do you know where I can get them?

thanks for the help.
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12514853
you can get them with Admin Pack for Windows 2003.
http://www.microsoft.com/downloads/details.aspx?FamilyID=c16ae515-c8f4-47ef-a1e4-a8dcbacff8e3&DisplayLang=en
It should be run on a Windows XP (or W2K3) and can be used against W2K and W2K3 Domains
0
 
LVL 11

Expert Comment

by:WeHe
ID: 12588389
thank you.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If you need to complete a Physical to Virtual (P2V), Virtual to Virtual (V2V) conversion to a VMware product (VMware Workstation, Player or VMware vSphere (ESXi) ) for FREE, then there is some good news...
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Screencast - Getting to Know the Pipeline
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question