Search This Blog

Friday, February 23, 2007

.NET runtime error Event Id 0

If you have this bug in your evenviewer: unable to open shim database version registry key-v2.0.50727.00000 - try to install a patch http://support.microsoft.com/kb/918642

Note you will need to be registered on connect.microsoft.com. Go there and subscribe to any Beta testing and then you will be able to download the patch.

winmsd

A quick and easy way to collect inventory from a remote Windows PC:

run under domain admin account: winmsd /computer PC_name /nfo PC_name

This will create a file in curent directory with all PC HW/SW details.

Thursday, February 22, 2007

Email security guideline (from US NIST)

http://csrc.nist.gov/publications/nistpubs/800-45-version2/SP800-45v2.pdf

Tuesday, February 20, 2007

Add RAM to HP nc6000

Amazing, but there are video guides on youtube on how to change RAM for quite old PC model HP nc6000: http://www.youtube.com/watch?v=B4Y4MKI1x0M

Thanks to yourtube poster and shame to HP that I could not find the same info on HP.com when I needed it.

Tuesday, February 13, 2007

Ticker from HP Insight Manager

Last few days I was trying to get some systems health information from HP SIM on intranet. Finally it works (with spagetti of scripts).
mxquery.cmd script on HPSIM server:
mxquery -e "Critical Systems"|find "DeviceName:"|perl -pe s/DeviceName://|sort

on another server (with IIS):

- installed OpenSSH (from HP) and created password-less connection for local user s-chssh.
- perl script connects to the HPSIM using Net::SSH and calls mxquery.cmd script

Now it should be easy to call this script from Web application. Do not forget to impersonate IIS to act as user s-chssh.

HPSIM also provides reports - call mxreport -e report_name.

All above can be simplified if there is IIS (or other web) on HPSIM server. If I can get PerlEx to work with ssh. If I can get ASP to work with ssh.

Cisco VPN proxy settings and firefox

Cisco ASA firmware 7.2(2) can set proxy for client. It works fine with IE, but unfortunately, does not work for firefox (at least for version 2.0).

Wednesday, February 7, 2007

Simple, but nice PerlEx report for WAN status

<%use CGI;
use Net::Ping;
my $cgi = new CGI;
#print "Content-type: text/html\n\n";
print "<html><head>\n";
print "<title>WAN health</title></head>\n";
print "<body bgcolor=\"#FFFFFF\" text=\"#000000\" link=\"#FFFFFF\"
vlink=\"#FFFFFF\">\n";
#print "WAN status...";
$p = Net::Ping->new(); %>
<TABLE border="1"><TR><TH>Site<TH>Status
<TR><TD>Bulgaria<TD><%
if ($p->ping("192.168.5.1")) { print "<a
href=\"WAN_detail.aspl\"><img src=\"images/ok.png\"></a>";}
else { print "<a href=\"WAN_detail.aspl\"><img
src=\"images/not_ok.png\"></a>";}%>
<TR><TD>Greece<TD><%
if ($p->ping("192.168.4.1")) { print "<a
href=\"WAN_detail.aspl\"><img src=\"images/ok.png\"></a>";}
else { print "<a href=\"WAN_detail.aspl\"><img
src=\"images/not_ok.png\"></a>";}%>
<TR><TD>Macedonia<TD><%
if ($p->ping("192.168.3.1")) { print "<a
href=\"WAN_detail.aspl\"><img src=\"images/ok.png\"></a>";}
else { print "<a href=\"WAN_detail.aspl\"><img
src=\"images/not_ok.png\"></a>";}%>
<TR><TD>Turkey<TD><%
if ($p->ping("192.168.2.6")) { print "<a
href=\"WAN_detail.aspl\"><img src=\"images/ok.png\"></a>";}
else { print "<a href=\"WAN_detail.aspl\"><img
src=\"images/not_ok.png\"></a>";}
$p->close();%>
</TABLE></body></html>

Deal with Interruptions

Very interesting skill for IT personnel:
http://www.erudil.com/pdf/ieee2006-unabridged.pdf

SAP GUI 7.10

Two days ago SAP released new SAP GUI version 7.10 - it supports Ofice 2007 and Vista

WSS 2.0 and alerts on folders

It is very confusing for users to discover that in Sharepoint when they put alert on whole folder they do not receive alerts when there are new files or files have changed in that folder. In WSS 2.0 alert will be sent only if folder itself changes (let's say name of the folder changes). It looks like it was fixed in WSS 3.0. Bad news: upgrade to WSS 3.0 is not just several clicks.

correction: it is not fixed, but slightly improved. You will receive updates if you place new files, but not when a file is updated.