Solution for Cannot adjust display brightness

The problem is caused by Windows incorrectly identifying the notebook's screen.

To fix, open the Device Manager, expand 'Monitors', select your monitor, right-click it and select Uninstall. Then, click the 'Scan for Hardware Changes button. You should now be able to adjust the display's brightness again!


Solution for Cannot adjust display brightness

How to install .Net 3.5 on Windows 8

When installing applications on Windows 8 you may be prompted to install the .Net framework. Windows will helpfully offer to download and install it for you, how nice…until it fails. You may be asked to reboot your machine or check it is connected to the Internet but nothing helps.

If you have access to your orginal installation media (which you may not if it was preinstalled on your machine), you can install .Net 3.5 directly.

  1. Open a Command Prompt with administrative previlages (right-click Command Prompt and choose 'Run as administrator')
  2. Where 'D:\' is the location of your mounted Windows 8 installation media run the command
    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

Notes: /All (enable all parent features of .Net Framework 3.5), /LimitAccess (prevent DISM from using Windows Update) and /Sources (location of the installation files)

Source and further reading

How to install .Net 3.5 on Windows 8

Change Window’s CMD to behave more like PuTTY

Having used both the Windows command line and then used PuTTY to control Linux machines, I miss the simple copy and paste functions PuTTY offers however these are already built into CMD!

Simply open a command prompt, click the C:\_ icon in the top-right and select Properites… In the Options Tab, in the Edit Options group, tick the Quick Edit Mode and Insert Mode check boxes.

There you have it, now selections in the command prompt will automatically be copied to the clipboard and right-clicks will perform the paste operation alla PuTTY.


Change Window’s CMD to behave more like PuTTY

How to create a unique TeamViewer ID after imaging

If you include TeamViewer as part of your system image or clone an existing computer with TeamViewer installed, the newly set-up computer will have the same TeamViewer ID as the source computer however each computer needs its own unique ID to work.

To fix, open regedit (Start > Run OR WinKey+R, enter 'regedit' and hit <enter> or press 'ok') and delete two registry keys: ClientIC and ClientID which can be found at:

64 bit Windows


32 bit Windows


where 'X' is the version of TeamViewer

Note that this will not work on the source computer as the ID is calculated based on the hardware of the computer, therefore if this procedure is carried out on the source machine, it will just recreate the same ID.


How to create a unique TeamViewer ID after imaging

Why and how to disable Bonjour

Bonjour is Apple's auto-network discovery protocol that, among other things, allows iTunes to discover other iTunes libraries on the same network and for devices such as the iPod/Phone/Pad and Apple TV to discover each other and share their libraries or remote control each other. However, if you don't use any of these functions it is yet another service that:

  • contributes to your bootup time
  • consumes RAM and CPU resources
  • increases the attackable surface area of your computer, posing a potential security risk

Below are two methods to disable it:

Method 1: Remove Bonjour

  1. Open Command Prompt (Under Accessories in the Start Menu)
  2. Enter and execute the following command:

    "C:\Program Files\Bonjour\mDNSResponder.exe" -remove
    move "C:\Program Files\Bonjour\msdnsNSP.dll" "C:\Program Files\Bonjour\msdnsNSP.old"

    Note under 64 bit versions of windows this will be:

    "C:\Program Files (x86)\Bonjour\mDNSResponder.exe" -remove
    move "C:\Program Files (x86)\Bonjour\msdnsNSP.dll" "C:\Program Files (x86)\Bonjour\msdnsNSP.old"
  3. Reboot
  4. Delete the Bonjour folder

Method 2: Disable the Bonjour service

  1. Open the Start Menu, right-click Computer and select Manage
  2. In Computer Management select Services and Applications and then select Services
  3. Right-click Bonjour Service and select Properties
  4. Change Startup type from Automatic to Disabled
  5. If the Service status is Started click the Stop button
  6. Click OK
Why and how to disable Bonjour

Disable Num Lock

This registry edit controls whether Numlock is enabled or disabled when you login to Windows.

  1. Launch Registry Editor
    (Start > Search: regedit > press [Enter])
  2. Go to the registry key:

    HKEY_USERS\.Default\Control Panel\Keyboard
  3. Change the value of InitialKeyboardIndicators:
    Set it to 0 to set NumLock to OFF
    Set it to 2 to set NumLock to ON


Enable/Disable Numlock at Login or Startup

Disable Num Lock

Disable GIF animations in Firefox and Internet Explorer

To perminantly block GIF animations in Firefox:

  1. In the Address Bar type:
    and press [Enter]
  2. In the Filter Bar type:
  3. Change the string value of image.animation_mode from normal to none

To perminantly block GIF animations in Internet Explorer:

  1. Click Tools (press the [Alt] key to reveal the menu bar or open Internet Options in the Control Panel)
    Select Options
  2. Click the Advance tab
  3. Uncheck the box in the group Multimeida next to Play animations in web pages
Disable GIF animations in Firefox and Internet Explorer

Allow Windows PE PXE boot from a Linux server

There is a major problem in booting Windows via PXE from a Linux server: Linux's is case sensitive but Window's isn't. So text.txt, Text.txt, test.TXT and tExt.txt are four different files in Linux whereas under Windows there can only be one file or folder in a location with the characters T-E-X-T-.-T-X-T. Additionally windows uses '\' whereas Linux uses '/'. To compensate for this, TFTPD can be configured to translate between the two.

To allow windows to boot from a Linux TFTP server:

  1. Create a file called in the folder you have specified as the TFTP root (the default is /tftpboot)
  2. Add the following lines to using your favorite text editor:
    rg      \\      /
    r       bootmgr.exe     /Boot/bootmgr.exe
    r       /boot/          /Boot/


Allow Windows PE PXE boot from a Linux server

Install a DHCP server in Linux

To set up a DHCP server, start by download the latest version at the Internet Software Consortium; it is important that the latest version is used as it is the most secure and will be running on your server.

  1. Download the DHCP server (the current version can be found here):

  2. Untar the archive

    tar xzf ./dhcp-4.2.1-P1.tar.gz
  3. Move to the new directory containing the untared files:

    cd dhcp-4.2.1-P1
  4. Execute these commands to configure and make the source into executable binaries:

  5. All going well, switch to root and install the server:

    sudo make install

    You will be prompted for the root password and, if you entered it correctly, the new DHCP server will be installed

  6. Configure the server; start by copying the default configuration file from the installation directory into /etc:

    sudo cp server/dhcp.conf /etc
  7. Now edit the configuration file (I use nano however any text editor, such as vi, can be used):

    nano /etc/dhcp.conf
  8. My DHCP configuration is very simple, the entire file is:

    subnet netmask {
            option domain-name-servers; # This is the DNS server, usually your modem's IP
            option domain-name "home";           # DNS name, this line is optional
            option broadcast-address; # Useful for multicasting, e.g. VLC
            option subnet-mask;        # This is the default for 10.x.x.x networks
            option routers;             # This is your gateway, again usually your modem's IP
            range;          # IP range. The first computer to ask for an IP will
                                                 # be the last will be after which
                                                 # all IP addresses will be exausted (i.e. max 50 IPs)
  9. You can perminantly assign an IP address to a computer with the following additions:

            hardware ethernet 00:00:00:00:00:00;  # Replace with the machine's MAC address


How do I install DHCP on my Linux Server?

Install a DHCP server in Linux