Solved

DSQuery for user account information

Posted on 2006-11-17
2
1,323 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 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