Windows Server – Hyper-V migration VM’s

June 25, 2018

Working with Hyper-V and migrating VM’s between VM Hosts can give some surprises now and than.

The IP address you have entered for this network adapter is already assigned to another adapter Microsoft Virtual Machine Bus Network Adapter #2. Microsoft Virtual Machine Bus Network Adapter #2 is hidden from the Network and Dial-up Connections Folder because it is not physically in the computer or is a legacy adapter that is not working If the same address is assigned to both adapters and they both become active, only one of them will use this address. This may result in incorrect system configuration.

Recently I had to migrate a VM running on old Windows OS to a new Hyper-V host.

You would expect to just copy the VM disk for one host to the other. And start it up.

Indeed so far so good. But when the VM had a FIXED IP Address before. You will now see that new copy of the VM has assigned a DHCP IP address ?

The reason is that the the Network Adapter has changed when copying over the VM from one host to the other.

When you try to put back in the same fixed IP ADDRESS you will see this message appear.


Whatever you try it will not accept the same IP Address as before Sad smile

Which can be problematic for certain applications running on the VM.


  1. Start a CMD prompt as an admin
  2. Type: set devmgr_show_nonpresent_devices=1 and press ENTER
  3. Type DEVMGMT.MSC and press ENTER
  4. In Device Manager, click VIEW then SHOW HIDDEN DEVICES


  2. Right click on each greyed out NIC and select UNINSTALL


  1. Close all of the Windows (including your IP, Network and Sharing Center…)
  2. Now can assign the again the same fixed IP ADDRESS to the new Adapter that was added to you VM.



Windows Server 2016 – Altaro Backup Software

June 21, 2018

Just started using ALTARO Backup software.



This Free edition contains a full featured backup solution for 2 VM guests.

If you look at the high compression rate (63%) it was able to reduce the VM from 11GB to 3.5 GB Smile

Tip :

If you get these kind of warnings VM is NOT Application Consistent.


In the VSS settings you can DISABLE the VSS settings for a specific VM to solve the issue.


Highly recommended as a VM Backup Software for Hyper-V and VMWare …

Enjoy !

Windows Updates – Error Code 66A, 645, …

June 17, 2018

If you encounter these errors doing updates :

Code 66A, 645, etc


It might just mean that your .NET evironment is corrupt ?


Open Control Panel, go to Programs and Features

Select Microsoft .NET Framework Client Profile


Select REPAIR, next reboot the server and install the Windows Updates again.

Errors should be gone …

Success !

Windows 2016 – RADIUS Server Config

June 11, 2018

We had to configure RADIUS authentication on multiple servers 2008r2 / 2012 and 2016

On some of the servers we had already Routing and Remote access service running.

When we opened the console it already showed RADIUS ..?


So we where under the impression that this was already installed as part of the Routing and Remote Access Service

But when trying to authenticate nothing was happening … Sad smile

After al long time trying to figure out what was wrong, we noticed this …. ?


Even if we could open and configure the RADIUS Client config, it was not installed or running …



Make sure the Network Policy Server is installed and running


You need to see the Service Running


You will see NPS appearing in the Server Manager too afterwards


Windows 2012 / 2016 see here :


Check the NPS service is running :


No you are ready to configure the RADIUS client policy setup.

And test the the VPN access …

TIP : Don’t forget to give the AD user Access Permissions


Enjoy !

Windows – Taskkill Error Access denied

May 17, 2018

Just a tip, sometimes when you run taskkill to kill a process you get the “access denied” Error.

Even if you run it with Admin privileges Sad smile

Example :

Taskkill /IM notepad.exe /T /F


Just use the WMIC cmdline tool instead Smile

wmic process where name=’notepad.exe’ delete

Enjoy !

Windows Core IoT – NodeJS on a Raspberry PI3

January 15, 2018

Running Windows IoT on a RPI3 is just fun.

To get started some of my previous posts here

Anyhow I wanted to run a webserver on the RPI3… I checked around and one of the most obvious is running NodeJS on a RPI3.

The main advantages are that is that NodeJS is cross platform supported and needs a small memory footprint.

Solution :

1 NodeJS-ChaKaCore

Here : //

2. Create a folder on your RPI3

Once download create a connection to your RPI3 and create a folder, like NodeJS

3. After this open the Downloaded ZIP step 1.

    And copy the all the files to the C:\NodeJS on your RPI3, except the SDK folder.


4. Create a JavaScript to start the Webserver.

Save it as Server.js on the C:\NodeJS folder


var http = require('http');

http.createServer(function (req, res) {
    res.writeHead(200, { 'Content-Type': 'text/plain' });
    res.end('Hello World\n');

5. Open the RPI3 Firewall Access

netsh advfirewall firewall add rule name="Node.js" dir=in action=allow program="C:\NodeJS\node.exe" enable=yes 

6. Start the WebServer


.\node.exe .\Server.js 

6. Test the connection to your new RPI3 WebNerver

Open a local Browser and test the connection to your http://RPI3:1337

Installing NodeJS Add-on Packages / Modules

Packages or Modules are extensions for NodeJS, see here for more details.

After installation check the version like this :


.\npm -v

1. Use NMP to download the required Packages or Modules

I tried this using the PowerShell remote connection … but that did not work.

Solution is to install NodeJS on your Local PC and grab the Modules.

Example : upper-case package


Error : ‘node’ is not recognized as an internal or external command


Wen running into this error run the command below.

Solution  : SET PATH=C:\Nodejs;%PATH%

2. Copy to the RPI3 NodeJS\node_modules directory


3. modify the Server.js JavaScript

Example : module upper-case


Notice the extra line require(‘upper-case’)

var http = require('http');
var uc = require('upper-case');

http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/html'});
    res.write(uc("Hello World!"));

4. Test the result


Notice the response is in capital letters !

Enjoy !

Windows Server 2008 – Task Schedule Error 2147746323

December 18, 2017

When you schedule a Task you might run into the Error 2147746323.

The code appears after you schedule an Email Action


When you convert this error number to a HEX number it will disclose the root cause.

Use this PowerShell script to convert it to HEX


$Value = 2147746323

"0x"+ ('{0:x}' -f $Value)

It will look like this :


Meaning : The transport failed to connect to the Email server

So you need to investigate where it goes wrong in connecting to the server.

For more codes see here  :