tech notes

Category Archives: Uncategorized

Windows XP logs off immediately

After entering your password Windows XP logs you off. You can see briefly how it tries to log on, then loads your settings, logs you off and saves your settings. This is usually caused by malware, which change the userinit.exe file in Windows. There are multiple workarounds where you have to restore the userinit.exe file [...]

Logging File Access in OSX

If you want to log all file accesses start the terminal, switch to root-user and type
fs_usage -w -f filesys > cap.txt
Every file access will be logged to cap.txt. You can grep, view edit for post analysis.

Protected: Windows XP hal.dll Not Found

There is no excerpt because this is a protected post.

Disk Thrashing After Suspending a VM

I have had the issue that after suspending a certain VM the disk activity would go up after a few minutes. Quite annoying because the system was almost unusable. Kind of like it was doing some defragmentation. After a few minutes of researching (a.k.a googling ) I came across this thread on the [...]

Connecting to a VM’s console via a SSH tunnel

From the client you have to build an SSH tunnel forwarding ports 443, 902, 903. Make sure you are *not* forwarding from 127.0.0.1 (since according to this posting on the VMware forums) this seems to have a special meaning when using the VMWare client, instead use 127.0.0.2. In this example the server’s IP address is [...]

Automatic Restoration of Quarantined McAfee Files

After reading about the most recent faux-pas from McAfee where couple of system files were identified as infected I found this script which restores the quarantined files:
Option Explicit
on error resume next
Dim fso, f, str, commando, df, fdf, r, ff, WshShell, fx, strfx, rr, arrParm
Set fso = CreateObject(“Scripting.FileSystemObject”)

if fso.FileExists(“C:\quarantine\infected.log”) Then
Set f = fso.OpenTextFile(“infected.log”, 1)

Set WshShell = [...]

Slow Startup After Logging into XP

So this one friend was complaining about his Windows XP acting sluggish after he has logged in. It takes almost 3 minutes until he is able to open the Windows Explorer – during that time the computer reacts very slowly, but the CPU load never really jumps up. After installing all updates and such I [...]

GPG error – Key error while apt-get update

Invoking apt-get update led to following error message
#apt-get update
[...]
Fetched 254kB in 7s (35.8kB/s)
Reading package lists… Done
W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://ftp2.de.debian.org unstable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: GPG error: http://ftp.uni-stuttgart.de testing Release: The following signatures [...]

Extract eMail Addresses from Mails in Outlook

You want to send a newsletter to a bunch people who have sent you an email? Easy…

Move (or copy) all mails into one folder
Click on File -> Import/Export -> Export into a file -> Comma seperated values (Windows)
Choose the folder which holds the mails
Choose export file location
Enable the action export emails from folder
Click on “map [...]

Recovery of Failure Due to Partial Harddisk Failure

Recently a colleague called us and asked whether we could help him. His gentoo-system suffered from a boot problem and he was not able to start his system up which was showing “BOOT DRIVE FAILURE”. Since he did not setup the system (which was his IMAP-server, fax-server, phone-management server and on top his webserver to [...]

Archives