How to add a loopback adapter in Windows Server 2008 Core

How to add a loopback adapter to Windows 2008 server Core:

Find a 2003 server installation disk, x86 or x64 depending on the version you need and navigate to: \SUPPORT\TOOLS\SUPPORT.CAB and extract Devcon.exe.

For a 32 bit version you might be able to simply use the downloadable version of devcon, for 2008 x64, you definitely need to use devcon from support.cab on a 64 bit Windows 2003 server installation disk (I only tested this for the x64 version).

Then on the command line type:

C:\temp>devcon.exe install c:\windows\inf\netloop.inf *MSLOOP

 If you did  it right, you will see this:

Device node created. Install is complete when drivers are updated...
Updating drivers for *MSLOOP from c:\windows\inf\netloop.inf.
Drivers updated successfully.

And ipconfig /all will show this:

 Ethernet adapter Local Area Connection 4:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Loopback Adapter
   Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::590d:2eb0:55c9:3959%20(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.57.89(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

 If you used the wrong version of devcon you will get the following error:

 devcon.exe failed.