I'm stuck and need some assistance. I'm using someone's slick vbscript to install and configure the SNMP service on a bunch of computers. The one failing is that this script was written before Windows 2003 R2 was released. I'm savvy enough to make the changes, but I've run into an issue.
VBscript/WMI doesn't return whether the server is running Windows Server 2003 or Windows Server 2003 R2. The Caption entry from the Win32_OperatingSystem method reports both versions as the same.
In a nutshell, I'm querying the OS, determining it's version, modifying the registry to point the installation source media to places on the network that have the OS media by the OS type and service pack verions so that with SNMP is installed, it doesn't prompt for a CD.
Since the script can't tell the difference between Windows 2003 (non R2) and Windows 2003 R2, it possible that it would use non-R2 media in an R2 installation which I don't feel is acceptable.
So, as the title says "how do I determine whether a server is running Windows 2003 non-R2 and Windows 2003 R2. I can already tell the difference in the Standard vs Enterprise flavors and the service Pack levels.
Many thanks in advance!