David M. Stein's Blog

Windows Server 2008, WSUS and Other Stuff

Browse by Tags

All Tags » scripts (RSS)
WSUS 3.0 API Samples Download
Cool-er-est. Gnarly. Bomb-diggity. Microsoft posted a neat-o set of API sample/examples for WSUS 3.0 on the Download Center yesterday. Among the goodies packed inside this gem are those listed below. I like the CleanStaleComputers feature. Too bad they...
WSUS System Event 13001: Part 2 - Sending Notifications
I was asked by a few readers (I can't believe I have a "few", I thought it was just "one") about how to setup the notification I mentioned. It's very easy but depends on what operating system is used. If you're on WS08...
WSUS System Event 13001
Something I'm finding many WSUS admins are ignoring is that when you start seeing problems in the WSUS console as far as computers failing to install updates, there's also a corresponding Windows System event log entry 13001. Log Name: Application...
WS08-Core Scripts: 99 yards so far. 1 yard on your own?
It's very nice that the Server Core folks took the time to package up a few WSF script files to help with CLI management tasks. Very nice. However, I'm really confused why they got to the 1 yard line and decided to not score a touchdown. Case...
DCIS 2008-05-15 released: Updated activescan.vbs features
I received quite a bit of feedback on DCIS recently that indicated a few bugs in the activescan.vbs script. I think those are fixed now. At least from what I can verify from my testing. I also decided to outfit activescan.vbs with the ability to accept...
Slightly Off-Topic: DCIS input needed
I'm looking for suggestions for the next version of DCIS . If anyone is looking for something specific (or something in general) please send me some feedback using the Feedback link on the DCIS web site . This refers to both the login script code...
Script Stuff: One way to Reset the Local Administrator Password on a Bunch of Computers
Let's say you put down the liquor bottle and the freebasing spoon for just a minute, and make a bold decision that you're not going to stand for having multiple passwords out in your WAN environment for the local Administrator account on each computer...
Posted: Apr 09 2008, 12:18 AM by David M. Stein | with 1 comment(s)
Filed under:
DCIS package updated to 2008-04-07
For those of you faithfully (or even jokingly) using DCIS, I have posted an update which splits the script code from the settings portion. What was once all included in loginscan.vbs is now split into loginscan.vbs and loginscan.ini. Otherwise, nothing...
Posted: Apr 07 2008, 10:58 AM by David M. Stein | with no comments
Filed under: ,
Network-based Scripting Approaches: Collecting Data from an Obscure Fog of Treachery
I get pulled into a lot of different types of situations where I'm asked to write a script to query information from remote computers or Active Directory, etc. There are obviously an unlimited number of variations that can ensue, however, I've found that...
Script to Uninstall Apps by Wildcard Name Matching
Why you would need to do this I can't tell you. However, I was asked to crank this out and did so in about 30 minutes. It works. And I did it *before* I had my coffee so that's the most amazing thing about this. This script basically runs on a local computer...
Posted: Mar 27 2008, 05:47 PM by David M. Stein | with no comments
Filed under:
Script Tip Quips of the Week
Man, I like those alliterations of the tongue. Fo-shizzle my drizzle. Dr. Suesse goes to scripting class. I was working on some VBscripts recently to "do" whatever it is they "do" to make it so I don't have to "do" as much manually. Good enough, but then...
Computer Start-Up Scripts and Network Access
I've done a lot of work making scripts for a lot of people and one thing seems to repeat all the time: problems with computer startup scripts which try to access things over a network. I won't bother trying to explain what startup scripts are, or what...
Posted: Feb 23 2008, 11:02 PM by David M. Stein | with 1 comment(s)
Filed under:
Web-Based AD Account Management on a Shoestring Budget
Some years ago, at a former job, I had the role of scripting guy. I wrote scripts for just about everything that could be automated by scripting. Active Directory, SQL, event logs, registry management, file and folder editing or data mining, web reports...
We Don't Need No Stinking Version Numbers
I figured that since software vendors can get away with releasing ProductName 2009 while we're still in 2008, I could get away with releasing DCIS 2008-02-08 on 2008-02-06. That's only a jump of two days. Not a full year. Anyhow, if you're one of those...
Slow Logon Scripts on Vista
I've suspected this for almost a year, but until I ran across this blog post I thought it was just me. Nobody else seemed to nod in agreement when I would whine about this, so whatever. Thanks again to Google Reader and my feed from Stephen Bink's web...
DCIS future changes
Sorry to beat this DCIS stuff up so much lately, but I'm trying to refine it for a few actual paying projects I'm working on. So I'm passing the benefits along to you as I have time. If you want additional features added or something changed to help you...
DCIS updated: Added ActiveScan.vbs
I posted an update for DCIS today that includes a few minor bug fixes to the loginscan.vbs script file, but more importantly, it adds a version of that called activescan.vbs. This performs roughly the same inventory audit, but on all computers joined...
Apologies: DCIS Finally Released
I have to apologize to all the folks who've been beating on me to release my login-script based computer inventory system. Known as "Dave's Computer Inventory System" or DCIS for short, it is comprised of two packages: The Login Scripts, and the Web Reporting...
30 pct Scripting + 70 pct Compiler Mindset = PowerShell
I was pretty involved in the Monad beta program and thought it would turn into something with major impact on the Microsoft technology world in general. However, back then, my major concern was the "hook", as marketing people would say. Where was the...
Alas, VBScript is not (yet) dead!
After five years of C/C++ and Java torture I endured at the Gulag of college, I found myself deeply in love with interpreted language platforms like LISP, VBscript and Kixtart. I still have a box of chocolates with their names emblazened. Fond memories...
Is the IE7 COM interface broken on Vista?
I've been writing scripts for Windows environments to automate or simplify things for years. VBscript, JavaScript, KixTart and a smidge of PowerShell, but mostly VBscript or KixTart. Some of that involves launching an IE window to display a pretty message...
Dealing with Ghost imaged WSUS clients (again)
A customer I recently met was having problems with many workstations not ever showing up in their WSUS administration console. After eliminating the usual suspects, I learned they were imaging their XP clients with Symantec Ghost. I don't want to poo...
...And Another (script)
Here's one that will scour your domain for disabled computer accounts and delete them. It then sends an e-mail report to list which computers were deleted to whomever you choose. Remember to edit the settings near the top to suit your environment. Enjoy...
Another day. Another script
Here's another neat little script I wrote some time ago to query all my domain controllers and check their local time setting to ensure they are not more than 180 seconds (3 minutes) off of the time on the computer which is running the script. In case...
Scripting Goodies - AD DC diagnostics reporting via email
I have amassed more than 2000 scripts over the years, mostly writing one-off solutions to various "problems". One of those I ran across recently was one that performs diagnostic reporting on domain controllers in an AD environment. It comprises two parts...