For a while we had a production DC and a test DC complaining about low disk space on C:\. It didn’t make any sense because the two DCs seemed to be configured identically to all of the other DCs. Eventually I narrowed it down to the Windows Error Reporting service. It was packing a directory full of logs for years.
This has been a problem that has come up often. From here to Baghdad, every AD environment that I’ve worked in, on, or around has had the computers that will not authenticate because of the computer account password being out of sync.
Here are some resources to start with:
- Ask the Directory Services Team – Machine Account Password Process
- Ask the Directory Services Team – Machine account password resets and Macs
- Microsoft Support – Resetting Computer Accounts in Windows
Since we’re looking at putting UID/GID information into Active Directory we’ve been looking at what number to us so that we don’t conflict with numbers already in use. The idea was floated on a mailing list that you could use the RID portion of a user’s SID. That just might work if we append that number to the end of some arbitrary number that will make it long enough to put it in the range we’re thinking about.
On my workstations and servers I like to create a “scripts” folder in the root of the “C:” drive to store all of my production and test scripts. At the same time, I would like to keep all of those same scripts in my Drop Box folder so that I can access them at work, home, on the road, etc. While I could just move them into the Drop Box folder in my profile, the whole reason I create the “scripts” folder where I do is that it gives me a short path to type.
Well, this is where symbolic links come in. You can create them in Windows (Vista and later…I think) just like you can in UNIX, Linux, or Mac/BSD. As a reference, you can read over this page from “How-to-Geek”: Using Symlinks in Windows Vista
You can ping a web server and determine if it’s “alive” by the ICMP response. However, it doesn’t tell you if the sites running on the web server are actually serving data.
Here is one way to do it with PowerShell: Continue reading “PowerShell Script to Check a Website”