I recently updated a Windows Server 2000 Domain Controller schema to allow a Server 2003 Domain Controller to join the domain.
Since then the login scripts that I have inherited have stopped working correctly. The script maps drives and printers based on group membership and sometimes on user names.
I think I have tracked it down to the code that is pulling the group names and user names from Active Directory.
Perhaps someone can tell me what needs to be changed (If I am on the right track) to get the details from the new AD Schema?
Set objLocalGroup = GetObject("WinNT://" & strComputerName & "/" & strLocalGroup & ",group")
Set objDomainGroup = GetObject("WinNT://" & strNetBIOSDomain & "/" & strDomainGroup & ",group")
Set objUserGroup = GetObject("WinNT://" & strNetBIOSDomain & "/" & strUserName)