Re: how to find users with the checkmark on allow to logon to terminal servers
- From: "Mark D. MacLachlan" <markdmac@xxxxxxxx>
- Date: Wed, 08 Jul 2009 12:14:11 -0700
Spundae wrote:
Hello,
I am looking for a way to find all my users in active directory that
have a checkmark set at the terminal server tab where you can specify
that the user is allowed to logon to terminal server.
I tried to do this with adfind or a script with ldap but failed.
Is there a way because I also read that this information is in
binairy.
Thanks in advance
H.S.
If you take a look using ADSIEdit you will find that the terminal
services properties are nto actually part of the AD attributes of the
user. ADUC merely has some hooks in it to make that configuration
easier.
There is a Microsoft DLL you can hunt for called wtsadmin.dll that when
registered will let you query these properties.
I wasn't able to find a copy of that DLL with a quick search so you may
need to do some digging. I did find a third party freeware version
called wts_admin.dll but looks like that hasn't been updated to newer
versions and the DLL would not register on my Windows 7 x64 machine.
May work fine for you on a 32 bit machine though.
http://cwashington.netreach.net/main/tools/default.asp?topic=n-z
Hope that helps,
Mark D. MacLachlan
--
.
- Follow-Ups:
- Re: how to find users with the checkmark on allow to logon to terminal servers
- From: Mark D. MacLachlan
- Re: how to find users with the checkmark on allow to logon to terminal servers
- References:
- Prev by Date: Can you query a DHCP server using netsh to display the IP address assigned to a MAC?
- Next by Date: Re: Script to Rename Computer Name in Domain
- Previous by thread: how to find users with the checkmark on allow to logon to terminal servers
- Next by thread: Re: how to find users with the checkmark on allow to logon to terminal servers
- Index(es):
Relevant Pages
|