( click here to skip navigation links )
 
 NC State University  College of Engineering
-( Eos )-  
 < Home  News  Guide  Labs  Software  Help  About
 
     
 

Microsoft Loopback Adapter Adder

   
 
         
     
If you have not read the Locking down NetBIOS page, please go read it before reading this page!

The Microsoft Loopback Adapter Adder is a Windows Dynamic-Link Library that automatically adds the Microsoft Loopback Adapter to the machine, and configures its IP address. Essentially, the point is to automate these instructions.

It is based on code written by Dobes Vandermeer. I simply modified it to accept some parameters, converted it from a console app to a dll, and wrapped it in an MSI.

It has been tested on Win2k and XP, although not extensively yet. YMMV, UAYOR, etc.

The adapter will not be added if an instance of it already exists. However, it will always be configured.

It can be run either from any command line via RunDll32 or from its MSI package:

RunDll32 Instructions
Download the Dll file
RunDll32.exe is a simple utility that comes with Windows that loads a given Dll and calls a given function in it. To use RunDll32 with the loopback adder:

RunDll32 loopback_install.dll doLoopBackEntry [q|quiet] [IP address] [Subnet Mask]
"Quiet"supresses error messages
"IP address"defaults to 10.99.173.205
"Subnet Mask"defaults to 255.255.255.252

MSI Instructions
Download the MSI
MSI files are the installer database files used by the Microsoft Windows Installer. The MSI file included here is mainly just useful for Active Directory admins. In general, click it, and it will run automatically. Put it in a GPO for software distribu tion, and it will run automatically.

If the MSI is run and the adapter is later deleted by someone, the MSI will have to be "uninstalled" before it will run again (like any MSI file). There is no "repair" or "uninstall" (unlike most MSI files). The MSI has no GUI, except for the default pr ogress bar display created by the installer engine. You should be able to hide that by running:
msiexec /qn /i confloop.msi

To change the IP addresses used (perhaps your organization already uses the 10.* private address space), alter the "IPS" property. That can be done like so (note that it takes the same parameters as above):
msiexec /i confloop.msi IPS="quiet 10.42.42.42 255.0.0.0"
Or, just use your favorite MSI editor and apply a transform.

For C++ source, see here. You will need a recent MS Platform SDK with the Windows Installer SDK, as well as the MS DDK.

Ben Creech
NCSU ITECS
7/18/03

   

WolfCall Home

WolfCall News

Installation Instructions

Frequently Asked Questions

WolfCall Statement of Support

Troubleshooting Remote Access

 

Technical Documents

About Authentication

Auto-login White Paper

Interoperation with Firewalls

Locking down NetBIOS

Microsoft Loopback Adapter

WolfCall Reference

 
         

< to Top]

 < Home  News  Guide  Labs  Software  Help  About

 

Information Technology and Engineering Computer Services (ITECS)
College of Engineering, North Carolina State University, Raleigh, NC 27695
Comments to eoshelp@ncsu.edu. URL: http://www.eos.ncsu.edu/

[ ENGR Template ]

 

This support page is for students, faculty, and
staff at North Carolina State University.