Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Windows 7 Forum Vista Tutorials Tags

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Microsoft Technical Newsgroups > VB Script

Using VBS to install MS Loopback Adapter

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2008   #1 (permalink)
Jordan
Guest


 
 

Using VBS to install MS Loopback Adapter

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

My System SpecsSystem Spec
Reply

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
loopback adapter on vista Vincent Vista networking & sharing 1 06-11-2008 04:13 AM
Vista - VPN Connection and Loopback adapter can't coexist Uric Vista networking & sharing 2 03-13-2008 08:53 AM
Microsoft loopback in Vista Luciano Giaccone Vista networking & sharing 1 05-24-2007 08:42 AM


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53