From: Jordan on
Hi,

I am trying to use VBS to install the Microsoft Loopback adapter on either a
32 or 64 bit machine. I am able to determine the OS type (in my case either
32 or 64 bit Win2003), however, I am getting a VBS error when doing the run
command under the 64 bit scenario. When running on a 32 bit machine
everything works fine. When running on a 64 bit I get the following message:
Char: 2
Error: (No description)
Code: 800700d8

I am using the devcon utility (either 32 or 64 depending on the situation)
and have verified that the devcon utility is in place and that the netloop
file is in place. This netloop.inf has been copied from the OS directory and
is located where I specify for consistency.

If is32Bit=0 Then '32 bit
shell.Run "C:\Temp\32\devcon.exe install C:\Temp\32\netloop.inf
*msloop",1,TRUE
Else '64 bit
shell.Run "C:\Temp\64\devcon.exe install C:\Temp\64\netloop.inf
*msloop",1,TRUE
End if

What I am looking for is a way to install the Microsoft Loopback adapter via
script.

Thanks for the help,
Jordan