Author Archives: bolt

Fixing Windows Update errors

The ultimate .bat-file for completely resetting and fixing all sorts of stupid Windows Update errors. Stuff the following into a .bat-file and run it regsvr32 /u softpub.dll /s regsvr32 /u wintrust.dll /s regsvr32 /u initpki.dll /s regsvr32 /u dssenh.dll /s regsvr32 /u rsaenh.dll /s regsvr32 /u gpkcsp.dll /s regsvr32 /u sccbase.dll /s regsvr32 /u slbcsp.dll […]

VMware Server and Windows Firewall

VMware server uses port 902/TCP for remote connections. It is easy enough to allow outside connections to this port through the Windows Firewall interface in the Control Panel. However, if you want to do it the “Windows Way (TM)” the trick is to add “vmware-authd.exe“, found in the VMware Server folder in your installation directory, […]

How to kill a process that uses too much CPU

Cleaning up my ‘dump’ directory, I found this aging script I got from somewhere, which will check the current CPU usage of a program and kill it if it uses too much. This is useful if you are for some reason forced to run buggy, closed source software which get stuck in endless loops when […]

Fun with “beep”

At the end of my huge list of stuff I always install on a Debian box, I put a “beep” to let me know when it’s done, because I will no doubt be doing something else, most likely on a different screen, when it’s done. Now, suppose you run a lot of processes you want […]

Disable .bash_history logging in bash, Debian

I hate the .bash_history file. It never contains what I want, screws up when using multiple sessions and generally contains junk. I like to disable the .bash_history file, while still keeping the ability to push the “up”-key to scroll through earlier commands in the same session. The way to do this is to set $HISTFILE […]

Encrypted swap in Debian

So, you got your home directory encrypted, but you’re not sure what sensitive material could end up in swap? After a long day of running a whole lot of applications and processes, many interesting things could potentially wind up there. So here’s how to make sure that data is completely garbled after a reboot.

Vista file transfer estimates: WTF?

In Windows XP, it seemed like the estimated transfer time of files in a folder, when copying that folder from one place to another, was estimated purely based on the sum of the file sizes and the current transfer speed. It also seemed to have a preference for transferring the larger files first.