VIVEKANANDHAN_PERIASAMY
asked on
Vbscripting
I have windows 2000 ,2win2k3,win2k8 servers
I need to get all successful logins for past one month order by desc.
I have morethan 200 servers.How we get this info through vbscripting?
I need to get all successful logins for past one month order by desc.
I have morethan 200 servers.How we get this info through vbscripting?
ASKER
I'm getting below error
-------------------------- -
Windows Script Host
-------------------------- -
Script: F:\logins.vbs
Line: 28
Char: 1
Error: The specified domain either does not exist or could not be contacted.
Code: 8007054B
Source: (null)
-------------------------- -
OK
-------------------------- -
I'M NOT QUERYING LDAP.I need to collect these info from remote server.
--------------------------
Windows Script Host
--------------------------
Script: F:\logins.vbs
Line: 28
Char: 1
Error: The specified domain either does not exist or could not be contacted.
Code: 8007054B
Source: (null)
--------------------------
OK
--------------------------
I'M NOT QUERYING LDAP.I need to collect these info from remote server.
The only way I know of to get that information is to query Active Directory (LDAP).
Your error showing DC is not available. So please ensure you are running this script in a domain member PC. with an enterprises log in user
ASKER
Still i'm getting with same error.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
http://www.rlmueller.net/Programs/LastLogon.txt