I created a local user, that I addd to the local admin group. So outside of
the local admin account, I've also got another account in the local admin
group. Lets call it localA.
My question is once the pc is added to the domain, and a person logs in with
a domain account, I want to be able to remove the account called localA.
How do I script that out? I was thinking of putting a script in the default
users startup, that will look for my FQDM and if it detects it, then it will
remove the localA account, and delete itself.
I just need to know how I can delete that localA account.... the rest I
think I can handle
Thanks