On a domain? You can do something to all machines on a domain with this quick little script here. Your best bet is to open up an elevated (admin) Powershell Prompt on a domain controller and then run that here: Get-ADComputer –filter * | foreach { < do the thing > } Here are some examples that have really helped me in my administrative journeys: Force GPUpdate for all machines on the domain: Get-ADComputer –filter * | foreach { Invoke-GPUpdate –computer $_.name -force } Force … [Read more...] about The “do something to all machines” PowerShell Script
Active Directory
Error during dcpromo: “The source server is currently rejecting replication requests”
Problem You cannot demote a domain controller using dcpromo. You receive the following error: Resolution There's a good chance your Domain Controller has an important service not running or, most likely, replication has been disabled for some reason. Here are some quick things you can do to test: In your source domain controller, head to Active Directory Sites and Services Expand the sites until you find the server you are trying to demote. Right click the NTDS settings under … [Read more...] about Error during dcpromo: “The source server is currently rejecting replication requests”
Password Policies such as Maximum Password Age are not being set by GPO
This issue applies to Server 2003 schemas. Remember, your schema may be lower than your domain controller server version. So you're working through some policy issues and you find that your computer isn't picking up the proper password policy that you've applied, even though your machine is definitely part of the OU where the GPO is linked. You do an RSOP and see that the resultant policy is not applied and can't figure out why some things like password age or complexity are not being changed … [Read more...] about Password Policies such as Maximum Password Age are not being set by GPO
Recent Activity