Logon VBS that looks for WMI value and facilitates .htm popup based on WMI value
Posted on 2012-03-21
I am looking for a .vbs to provide an .htm popup window occur upon logon in a Windows domain whenever a user logs on to a computer that has a particular version of Windows. Ultimately I want to notify the user that they are running a Windows version that the company wants upgraded and to seek their IT department. I want to use a WMI query that looks at BuildNumber from Win32_OpratingSystem, and if it is less than a particular BuildNumber, a .htm pops up for 30 seconds that displays a canned message statement. If the build number is greater than or equal to a particular BuildNumber, then the script should end. I have the .htm created, I just require how to reference it in the the script. Also, I understand how to set the logon GPO, just need help with the script itself.