Archive

Archive for the ‘Windows’ Category

Script to check if a windows patch is installed

June 14th, 2017 No comments

VBScript to check if a windows patch is installed on a server or PC

This a simple script that can be used if youn need to check if a specific patch is installed.

Read more…

Categories: VbScripts, Windows Tags: ,

Windows backup vbscript

June 8th, 2017 No comments

Windows VBS script to backup Desktop and Laptop


PROS AND CONS
  • -No delta backup / no incremental (but robocopy only copy files changed)
  • -No encryption (but only the user has access to its folder, check setACL function)
  • -No compression (Could easly be done with 7zip
  • -User can restore (only directly via SHARE)
  • +Free
  • +Easy and simple to Run
  • +Fast
  • +Can backup opened pst files using shadowspwan
  • +Robocopy will only copied files that have been changed
  • -Robocopy will also copy PST everytime (since outlook changes it) (Implemented a check to only copy once a day) Read more…
Categories: Windows Tags: , ,

windows 2008 delete update files

February 8th, 2017 No comments

Free up C:\windows space, Windows Update Files

Copy
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
to: %systemroot%\System32.
C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui
to: %systemroot%\System32\en-US.

Read more…

Categories: HowTo, Windows Tags:

Windows Enumerate Servers

January 26th, 2017 No comments

Back to some VBS scripting…
This script enumerates all Servers on the current domain and test it with a ping then writes to a server.txt file.

Read more…

Categories: script, VbScripts, Windows Tags: , , , ,

linux two interfaces same subnet

February 27th, 2015 No comments

On RHEL6 and RHEL7 once you add a second interface on the same subnet, it does not work ( no ping)
The cause of the problem is a change on the parameter rp_filter

Read more…

Categories: HowTo, Windows Tags: , , ,

check_con.vbs

March 25th, 2014 No comments

Check connections for windows
A Visual Basic Script to check how many open connections exists in a certain port.

Read more…

Categories: Nagios, plugins, Windows Tags:

check iis cpu

September 5th, 2013 1 comment

This nagios plugin VBS script, gets exactly the amount of CPU a specific Aplication Pool is using, it helps a lot to identify witch site is using more CPU.
It was tested on Windows 2003 only.

Read more…

Fix KB2823324

April 15th, 2013 No comments

Microsoft BUG
So my old laptop just got updated with a MS destruction patch KB2823324 !

Here is how to fix it

Read more…

Categories: Windows Tags: , , , ,

font woff problem

March 21st, 2013 No comments

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 it yourself a test open this on each browser
http://www.stevesouders.com/tests/font-face/fout.php

Read more…

Cluster MS Check

January 17th, 2013 3 comments

Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster.

Read more…