- User Export
- Posted by jim on January 21st, 2004
Is there a way to export just disabled accounts from AD Users and
Computers?? I'd like to put all the disabled accounts in a spreadsheet.
Thanks.
- Posted by Matjaz Ladava [MVP] on January 21st, 2004
Sure,
Run
csvde -f yourfile.csv -r
"(&(objectClass=User)(userAccountControl:1.2.840.1 13556.1.4.803:=2))"
More info on userAccountControl flag
http://support.microsoft.com/?id=305144 and searching AD using bitwise
filter
http://support.microsoft.com/?id=269181
--
Regards
Matjaz Ladava, MCSE, MCSA, MCT, MVP
Microsoft MVP - Active Directory
matjaz@ladava.com, matjazl@mvps.org
http://ladava.com
"jim" <jim@NOSPAM.com> wrote in message
news:OhJpo3F4DHA.560@TK2MSFTNGP11.phx.gbl...
Similar Posts
- Export User profiles (Help and Support) by Peter L. M. Kwan
- Office 2000: Export user profile (Home and office) by MicKL
- How to export domain 'user rights'? (Windows NT) by Ath
- Export Local User Accounts From Windows 2000 Server (Windows 2000) by Jerold Schulman
- Domain User List export (Windows NT) by Kwame

