PC Review


Reply
Thread Tools Rate Thread

Command line tools

 
 
Pat
Guest
Posts: n/a
 
      3rd Sep 2003
What command line tool can I use in w2k and xp to find out what DC I
am authenticating to and what my account policy and password policy
are?
 
Reply With Quote
 
 
 
 
Jimmy Andersson
Guest
Posts: n/a
 
      3rd Sep 2003
Type 'set' in a command prompt and it will show you the logon server.

Regards,
/Jimmy
--
Jimmy Andersson, Q Advice AB
Microsoft MVP - Active Directory
---------- www.qadvice.com ----------


"Pat" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What command line tool can I use in w2k and xp to find out what DC I
> am authenticating to and what my account policy and password policy
> are?



 
Reply With Quote
 
Robbie Allen
Guest
Posts: n/a
 
      3rd Sep 2003
And more specifically, type 'set logon' to see the LOGONSERVER environment
variable.

You have a couple of options for finding the account and password policy via
the command line, but neither one can handle large integers that are used by
attributes such as maxPwdAge very well. Here is an example of using the
dsquery command:
C:\> dsquery * "dc=test,dc=local" -scope base -attr minPwdAge maxPwdAge
minPwdLength

On W2K, you can use the enumprop command from the resource kit:
C:\>enumprop /ATTR:maxpwdage,minpwdage,minpwdlength
"LDAP://dc=test,dc=local"

If you want a script to do it or want to see all of the password and lockout
attributes, visit this page:
http://rallenhome.com/books/adcookbo...policy.vbs.txt

Robbie Allen
Author of "Active Directory Cookbook" (O'Reilly and Associates)
http://www.rallenhome.com/

"Jimmy Andersson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Type 'set' in a command prompt and it will show you the logon server.
>
> Regards,
> /Jimmy
> --
> Jimmy Andersson, Q Advice AB
> Microsoft MVP - Active Directory
> ---------- www.qadvice.com ----------
>
>
> "Pat" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > What command line tool can I use in w2k and xp to find out what DC I
> > am authenticating to and what my account policy and password policy
> > are?

>
>



 
Reply With Quote
 
Pat
Guest
Posts: n/a
 
      3rd Sep 2003
Thanks for the fast responses

On Wed, 03 Sep 2003 13:28:09 -0400, Pat <(E-Mail Removed)> wrote:

>What command line tool can I use in w2k and xp to find out what DC I
>am authenticating to and what my account policy and password policy
>are?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AV command line tools Tom Del Rosso Anti-Virus 2 13th Feb 2009 10:56 PM
Command Line Tools Vato Windows XP Help 2 26th Nov 2004 08:05 PM
More about command-line tools =?Utf-8?B?R2VvcmdlIEZhcmFq?= Microsoft VC .NET 1 16th Jan 2004 07:08 PM
Missing Command Line Tools Greg Windows XP Basics 2 10th Dec 2003 08:42 PM
Missing command-line tools Richard Somes Windows XP Setup 0 14th Aug 2003 04:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 PM.