Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4387Themes and Skins11Add-ons734Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Websites, Forms and Transactions check_urlchange.py
0.0 (0)
3.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Rene Witzel
RW

Rene Witzel

@brabax

User Stats

Member Since: July 28, 2014

Favorites0

Views

Projects0

No Projects Found
Check Windows Last Update

Works like a charm - except for one little fix

This script works like a charm. As promised it is very fast and solely takes a registry value instead of having windows search for updates (which almost always leads to a timeout). There is only little glitch though: When Windows was NEVER updated, the script will return an error stating that "CDate" cannot be created with a NULL value. I fixed it by editing the script thusly (maybe if someone has a more reliable check for NULL, please feel free to add a it): [Snippet starts at line 26 of check_win_lastupdate.vbs] ---------------------- strComputer & "rootdefault:StdRegProv") objReg.GetStringValue HKEY_LOCAL_COMPUTER, strKeyPath, strEntryName, strValue '----------------------------------- if IsNull(strValue) = -1 then Wscript.Echo "CRITICAL: Patches have NEVER been applied!" Wscript.Quit(intCritical) end if '----------------------------------- InstallDate = CDate(strValue) CurrentDate = CDate(Now) [...] ---------------------------------------------- Thanks for the script :)

Reviewed 11 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile