Category Archives: Windows

Windows ln style softlinks with mklink

You can use softlinks (linux: ln -s source target) under windows.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    Specifies the new symbolic link name.
        Target  Specifies the path (relative or absolute) that the new link
                refers to.

The example mklink /D jdk11 jdk- will create a softlink with name jdk11 to folder jdk- in the same directory.

Normalemail.dotm in Office 2010

My outlook 2010 always wants to saveĀ Normalemail.dotm when I close it. To fix this i created a .reg file with the following content and double clicked it:

Windows Registry Editor Version 5.00


After that the problem was fixed.

Bug in htpasswd.exe

I tried to configure basic authentication under an apache 2.4.4 and could not find out why my password didn’t match. Just got the following line in the log though my password was correct:

[…] [auth_basic:error] [pid …:tid …] [client ::…] AH01617: user ___: authentication failure for “/asd/”: Password Mismatch, referer: http://localhost/

So I found the following bug description To come over this I just had to use httpasswd with the -b flag to provide the password from command line instead of prompting for it.

htpasswd -b passwdfile username password

Restore Deleted Favorites

I recently deleted the folder “Favoriten” in the home directory of my Windows 7. This broke the explorer feature as the folder was not recreated. To do this simply open a command prompt (cmd) cd to your home directory and use the following statements to recreate the folder and restore the explorer functionality:

mkdir Favorites
mklink /j Favoriten Favorites

This is of course for a german version of windows. After executing these statements my favorites are working again.

Windows 7 Library Icon

If you want to change the icon of your custom library in the windows 7 file explorer you have to edit a file with your favourite editor. I found the file under the following url:


There I added


after “<isLibraryPinned>true</isLibraryPinned>”