Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

NT Servers and WMI

Posted on March 12, 2007July 2, 2013

My Mr. Roboto tools and scripts often need WMI. If your servers and desktops are running Windows 2000 or later this is no big deal. However, if you are still running Windows NT4.0 servers, these scripts and tools will fail. However all is not lost. You can download and install the WMI core for NT4.0 from here.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

This will require a system reboot. Also, once installed, this update cannot be removed or uninstalled. Although I've never seen where it has caused a problem.

Technorati Tags:
WMI Scripting


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

2 thoughts on “NT Servers and WMI”

  1. mctsonic says:
    March 21, 2007 at 4:35 pm

    I’ll counter the ‘if you’re running Windows 2000 and up, no big deal’ claim – I recently got into a bind for an admin task that required renaming a local administrator password from a list of possible administrator/local group account names. Guess what? Win32_UserAccount doesn’t allow for ‘rename’ functionality in Windows 2000. Jeff, others – is there a catch-all list or chart for what WMI functions do not work in Windows 2000 (yes, I’m sure technet has it per class, but I’d prefer a good overview with less digging)? Thanks in advance – PS – cusrmgr.exe batch file helped out in a pinch.

  2. Jeffery Hicks says:
    March 22, 2007 at 8:25 am

    I should have been clearer. WMI is installed by default on Windows 2000 and later systems. However, not all WMI installations are the same. With each new Windows version, WMI has been expanded. Even server apps like Exchange underwent a significant WMI upgrade from Exchange 2000 to Exchange 2003.

    I’m not aware of a single source for all WMI classes. I usually check the documentation for a particular class on MSDN if I’m having an issue.

    But you make me realize I should be more careful in my scripts that use WMI so that I let you know if there are any OS limitations.

Comments are closed.

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d