Question : Remove a computer(Workstation) from the domain

Whenever I disconnect a workstation from the network, I would like to have its name removed from the Computers OU in the Active Directory.
Is there a way to do that?
Thanks

Answer : Remove a computer(Workstation) from the domain

OK, this really isn't an Active Directory issue then. It's a DNS issue.

DNS, buy its nature is supposed to keep name-ip mappings around for a while. It does not normally have a mechanism to check for the presence/validity of the entry though (remember DNS was developed long before Active Directory or even reliable TCP/IP connections).

If you are using your DHCP and Active Directory integrated DNS zone to automatically register DNS entries for machines, then the only way to get this process o go faster, is to set your DNS to scavenge old records.

Now there is a caveat you need to be careful of. Scavenging old records can kill off some of your static entries.  If you're not running any static entries, then you'll be fine.

The question is how much overlap are you ready/willing to tolerate? If you're having a non-DHCP machine "register this connection's entry in DNS" then every time you boot the machine, it registers. DHCP the same every time you reboot or release/renew.

Scavenging, if enabled, runs on entries seven days or older.

If you have machines which are statically configured, and almost never reboot, then this is not necessarily the right solution for you.

Go into the DNS console and delete the invalid entry, and it'll be fixed up.
Random Solutions  
 
programming4us programming4us