Solved

DSQuery for user account information

Posted on 2006-11-17
2
1,315 Views
Last Modified: 2008-01-09
I need to find out which user accounts within an OU has the " smart card is required for interactive logon "
not checked in the account tab of the user's properties.

I have another script that I run using DSQuery for other info and I dont know if I can also use DSQuery for this.
0
Comment
Question by:CMILLER
2 Comments
 
LVL 8

Expert Comment

by:nitadmin
ID: 17970522
Hi CMILLER,

Neither DSquery or DSget will provide this information.

You will have to write your own script or program to get this inofrmation.

Cheers!
NITADMIN
0
 
LVL 10

Accepted Solution

by:
ryangorman earned 500 total points
ID: 17970964
DSquery is more flexible than some people realise. The provided link [1] describes the attributes that you can use via the -ATTR command. I think the attribute that you need is smartCardRequired. It isn't listed but you could try it.

[1] http://www.jsifaq.com/SF/Tips/Tip.aspx?id=7714
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ms Filer Server Migration toolkit issues 2 72
many domain users as service accounts - not documented 2 70
Independent domain networks for setup 6 117
Domain Controller FSMO 7 39
by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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