Category Archives: Windows

Windows – How to start a script / program before logging in to Windows.

First you have to make a script (.bat file) that you want to execute before windows login.
If you want to start, for example Internet Explorer open Notepad en type: C:\Program Files\Internet Explorer\iexplore.exe
Now save the notepad file to a random name ending with the extension .bat

Go to start -> run -> and type mmc.
File -> add/remove snap-in -> doubleclick on Group Policy Object -> Finish -> Ok
Now open the just added ‘Local Computer Policy’ and go to:
Computer Configuration -> Windows Settings -> Scripts (Startup / Shutdown)
Double click on Startup, click on add and browse to the just created .bat file.
You can leave ‘parameters’ empty.

Now if you reboot Internet Explorer will start before you are even logged in!

Windows server 2008 – Change DPI / change text size on remote desktop

Since a short time it’s now possible to change the DPI / text size inside a remote desktop session.
When you install the hotfix (link below) the settings wont be grayed out anymore so you can change the DPI.

Here you can read more about the HotFix:

Download the HotFix:

Note that you need SP1 or the HotFix wont work, also a reboot is required for the server.

Windows 2008 – Remote control session failed (ID xx)

Session (ID xx) remote control failed. (Error 5 – access is denied)

When you recieve the above error in a Windows 2008 Terminal server environment you need to disable UAC.

You disable UAC by doing the following:
Start -> Control panel -> user accounts -> change user account settings -> now move it to the lowest point and reboot the server.

Windows Backup – The filename, directoryname or volume label syntax is incorrect.

When in Windows Backup 2008 you want to add an 2nd HDD target to your existing back-up schedule you get the error message: “The filename, directoryname or volume label syntax is incorrect”

The solution is:
Attach your 1st harddisk.
You can only add an extra harddisk to your existing back-up schedule when your 1ste harddisk is also connected to the server.

Relaunch the wizard and you wont get the error!

Windows – Find installation date

There is a simple command to find out the installation date of your windows Pc / server.
Open a command prompt (Windows + R, type cmd)

Then type: find /i “install date”

You will get the output saying:
Original Install Date: dd-mm-yyyy, 12:34:56

How to change your Windows (8) license key.

When you install windows 8 with for example a VLK iso, your installation probally wont activate.

Here’s what you need to do:
Press Windows + R and type ‘slui 3’ (without ”)
A new windows will open, this is where you can type in a new License key.

ISA – Error Code: 500 Internal server Error (12217)

When you get Error Code: 500 Internal server Error (12217) on a website hosted behind a ISA server, there is something going wrong with ‘special characters’

This is easy to fix:

Open ISA management:
# Rightclick the specific webrule and click ‘Configure HTTP’
# Deselect ‘Vericy normalization’

Apply, Apply, test it!
It works! 🙂

Windows XP – Printing via RDP gives weird signs / symbols.

When you print something in a Terminal service / rdp session with your Windows XP machine you will only find strange signs / symbols on the page you printed.

There is an simple solution for this:
# Close the remote desktop session.
# Search on a PC with Windows 7 installed for the file: “TsWpfWrp.exe” in the directory: c:\windows\system32
# Copy this file on the same location on the PC with Windows XP installed
Relog to the RDP session and try to print!