Solved

DSQuery for user account information

Posted on 2006-11-17
2
1,332 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 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