Microsoft BUG So my old laptop just got updated with a MS destruction patch KB2823324 ! Here is how to fix it 1. boot into Repair Mode, then cmd. Boot and press F8 key 2. Get packages name: dism /image:C:\ […]
font woff problem
roblem: The default webserver (Apache/IIS) does not have some fonts format ‘we’ added to the website This result in the browser, specially firefox to take long time to load the page. The problem is clearly much worst in Firefox, do […]
Cluster MS Check
Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster. #!/bin/bash # 2008-07-23 Nereu # edit: Felipe Ferreira 01-2010 TMPDIR=/usr/local/nagios/var PLGDIR=/usr/local/nagios/libexec OK=0 WARN=1 CRIT=2 UNKN=3 if [ “$#” -ne 3 […]
Warn when password is about to expire
This script can be used to check if a user’s password is about to expire and throws a popup windows alerting the user, and explaining to change the password. By default it will start the popup when its 7 days […]
Nagios to check log vbs
I just wrote a quick plugin to check any txt file on windows for a certain keyword. I have written simillar plugins for linux but this one was done in vbs. ‘Script Check for keyword in a specific file ‘Author: […]
Script to autmaticly send Alt-Tab
VBS Script to autmaticly send Alt-Tab and switch opened programs Option Explicit Dim objShell Set objShell = CreateObject(“WScript.Shell”) Do objShell.SendKeys “%+{TAB}” Wscript.Sleep 300000 Loop
WinHTTP AutoProxy Support
Our windows event logs are filling with useless messages. I went ahead and disable that useless services. Event Type: Information Event Source: WinHttpAutoProxySvc Event ID: 12503 The WinHTTP Web Proxy Auto-Discovery Service has been idle for 15 minutes, it will […]