Solved

I need help connecting to a remote computer with vbscript

Posted on 2015-01-22
2
80 Views
Last Modified: 2015-02-12
I have the ipaddress, computer name, user name and password.  Can anyone point me to a vbscript that will allow me to connect to the remote computer?  Thanks ahead of time as always.
0
Comment
Question by:hardrock95
2 Comments
 

Author Comment

by:hardrock95
ID: 40565088
I have the ipaddress, computer name, user name and password.  Can anyone point me to a vbscript that will allow me to connect to the remote computer?  Thanks ahead of time as always.
0
 
LVL 41

Accepted Solution

by:
pcelba earned 500 total points
ID: 40566279
VBscript code is here: http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_21050186.html

VB.NET code sample with all necessary comments is here: http://vbnet.mvps.org/index.html?code/network/wnetaddconnection2.htm

The question, of course, is "What connection do you need?"...

Above code can connect shared drive or folder. You could also request Remote Desktop connection or execute some process at the remote PC etc.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now