Posted on February 29th, 2008 by thehabgroup
On Error Resume Next
Const ADS_SCOPE_SUBTREE = 2
Set objConnection = CreateObject(”ADODB.Connection”)
Set objCommand = CreateObject(”ADODB.Command”)
objConnection.Provider = “ADsDSOObject”
objConnection.Open “Active Directory Provider”
Set objCommand.ActiveConnection = objConnection
Set objDSE = GetObject(”LDAP://RootD
SE”)
strDomain = objDSE.Get(”DefaultNamingContext”)
objCommand.CommandText = “SELECT adspath,Name FROM ‘LDAP://” & strDomain & “‘ ” & “WHERE objectClass=’user’ and objectcategory=’person’ and lastlogontimestamp <=’00000000000′”
objCommand.Properties(”Page Size”) = 2000
objCommand.Properties(”Timeout”) = 30
objCommand.Properties(”Searchscope”) = ADS_SCOPE_SUBTREE
objCommand.Properties(”Cache Results”) = […]
No Comments »
Filed under: vbscript, Active Directory
Posted on February 11th, 2008 by thehabgroup
Help and Support Center -> Use Tools to view your computer information and diagnose problems -> Advanced System Information -> View Group Policy settings applied
Results will as “Group Policy Results for <computername>. At the end of the report there is the option to save in html format: “Save this report to an .htm file.”
You […]
No Comments »
Filed under: Active Directory
Posted on January 7th, 2008 by thehabgroup
Event Type: Warning
Event Source: SceCli
Event Category: None
Event ID: 1202
Date: 1/7/2008
Time: 11:13:05 AM
User: N/A
Computer: BRPCBCX8
Description:
Security policies were propagated with warning. […]
No Comments »
Filed under: Active Directory
Posted on January 7th, 2008 by thehabgroup
Logon Events Description
528 A user successfully logged on to a computer. For information about the type of logon, see the Logon Types table below.
529 Logon failure. A logon attempt was made with an unknown user name or a known user name with a […]
No Comments »
Filed under: Active Directory
Posted on December 28th, 2007 by thehabgroup
Unable to modify the Schema
What to check for:
Events of the following type can be ignored:
Event Type : Error
Event Source : NTDS General
Event Category: Internal Processing
Event ID : 1153
Date: MM/DD/YYYY
Time: HH:MM:SS AM|PM
User : Everyone Computer : <some DC>
Description: Class identifier 655562 (class name msWMI-MergeablePolicyTemplate) has an invalid superclass 655560. Inheritance […]
No Comments »
Filed under: Active Directory
Posted on December 28th, 2007 by thehabgroup
If you attempt to view the permissions on the schema, you may receive the following error message:
Could not connect to the current schema master server. The server may not be available, or you may have insufficient privileges to manage the schema.
If you attempt to view or change the Operations Master, you may […]
No Comments »
Filed under: Active Directory
Posted on October 29th, 2007 by thehabgroup
To determine if your backup of Active Directory is good then there are two things you must consider:
Technorati Tags: system state , ad backup , active directory disaster recovery
Age of Backup
Contents of the Backup
Age of Backup
If your backup is older than the Active Directory tombstone age setting, then it is not considered […]
No Comments »
Filed under: Active Directory
Posted on October 24th, 2007 by thehabgroup
How do you troubleshoot the issue where you cannot authenticate to Active Directory Application Mode with you application? Well here are a few steps to follow:
1. Can a user authenticate to ADAM via LDP, using the server name and port number.
2. IS the OS running ADAM Windows XP? […]
No Comments »
Filed under: Active Directory
Posted on October 10th, 2007 by thehabgroup
If you are experiencing ADAM setup failures then there a few steps that should be completed and general questions that need to be answered before proceeding with the troubleshooting process.
Is the computer a member of the domain or in a workgroup?
Are there any events generated in the event logs that provide any details regarding […]
1 Comment »
Filed under: Active Directory
Posted on October 2nd, 2007 by thehabgroup
The following details steps to resolve common Windows authentication issues. These issues cane be related to authentication protocols such as NTLM and Kerberos as well as problem with core Windows process that are vital to authentication such as Winlogon. The issues described below are related to the following operating systems:
Windows 2000 SP4
Windows 2003
Windows XP
NTLM
Possible NTLM […]
No Comments »
Filed under: Active Directory