Hi,
I've written a simple application that allows me to input a remote hostname or IP and it returns list of users added to Administrators group. I've also added a "Remove" command to delete the selected username.
This is all happening on domain environment, so running my application with a domain admin works like it should.
The problem started when I encountered a user that was recently migrated. Our company started using a new domain controller (for the sake of simplicity let's call it domain.new and the previous domain is domain.old).
That specific user has his username listed twice in Administrators group - one is DOMAIN.NEW\username and the other one is DOMAIN.NEW\username (DOMAIN.OLD\username).
It seems I can't remove the last username (the one with DOMAIN.OLD\ in parentheses).
Is my domain administrator not enough? I have tried a domain admin from DOMAIN.OLD domain, but the problem persists.
Apologies for the long story, could not think of a way to make it shorter and still understandable.
Regards, js.