Exeute Batch File On A Remote Computer Through .Net?

Aug 2, 2011

I have a batch file in a remote machine. I also have a vb.net application in some other machine. Now all i need is to execute the batch file of that remote machine from this vb.net application. One thing you must know is that the batch file cannot be executed unless and untill i log in to that remote machine and execute it.So all these while everytime I needed to run the batch file, I had to log in to that remote machine and then execute it.Now I want the same through the VB.net application.

View 1 Replies


ADVERTISEMENT

Copy A File From A Local Computer To A Remote Computer On The Network?

Dec 19, 2006

I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?

View 2 Replies

Connect To Remote Computer And Display The Status Of Process Running On Remote Computer?

Dec 27, 2009

I'm trying to develop a windows application where i can get connected to remote server and look for process state going in remote server.We have many remote servers where automatic installation of software going on. We have an xml file(installstatus.xml) where it tells us at what stage the installation is (Example : Inprogress , Completed, Failed.)

So our aim is to develop a windows application where i can get connected to that servers and look for their installation status(may be we can use installstatus.xml to look for installation status). Every time i connect to a server, the server information should get stored in XML file(i want to create a xml file where all the servers list i connect to should get stored)

The UI at left side should will have list of servers i can connect to. When i get connected to server, at right side of UI, i want to display the status of installation (In progress, failed , completed).

View 1 Replies

VS 2008 Remote Login And Starting A Batch File?

Aug 25, 2010

I am a newbie to VB. I am try to achieve the following

1) Remote login to a PC

2)Check if a specific program has terminated

3)If it is , the program has to restart the program file located on the desktop.

View 26 Replies

Execute A Batch File On Another Computer?

May 21, 2009

In vb.net 2008 I want to execute a batch file that resides on another computer. There is no error, but nothing happens. Here is the code:

[Code]...

View 3 Replies

Copy A File From Remote Computer?

Apr 10, 2009

I get all Computers name from ldap and I wish to search a file at remote machine and copy it at any desitination. so I have following question1.How can we connect remote machine if they have user name and password?

View 1 Replies

Copy A File To A Remote Computer?

Feb 19, 2009

I'm trying to copy a file to a remote computer using the IO.File.Copy method. When I attempt to copy the file, the method throws an UnauthorizedAccessException exception, which is understandable because I am not able to supply logon credentials. My question is: I have the logon credentials (Computer name, username, password) so how can I copy the file to the remote system without resorting to an overkill API call (namely WNetUseConnection)?

View 7 Replies

Open File On Remote Computer?

Jan 9, 2012

I use this code to open noatpad on remote computer, but this open just a process without show the noatpad:

strComputer = "computer name"
strCommand = "notepad.exe"
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\" & strComputer & "
ootcimv2")

[code].....

View 1 Replies

How To Search For A File(text) In Remote Computer

Jul 19, 2009

i wanted to search a text file in a remote computer.

View 2 Replies

Get Os Version Of Remote Computer Using Computer Name Or Ip Address?

Apr 16, 2010

I tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,

View 1 Replies

Finding Computer Name From Remote Computer?

Jan 29, 2009

I want to find the computer which are connected with my computer via lan connection using vb.net code. actually a have a mini project in network connection setting.

View 1 Replies

Tell When Remote Computer Is A Windows Computer?

May 3, 2010

We have an VB.NET VS 2005 application that goes out and connects to remote computers on the network to gather information about the running services, processes, etc.

However, not all of the computers and servers are Windows boxes, and this is causing us some grief.

Is there a way in VB .NET to determine if a computer is running a Windows OS before trying to make a connection to it?

View 6 Replies

VB - Batch Inserted Into My Project - Run With The Program In Someone Elses Computer After Publish

Nov 15, 2011

I'm using Visual Studio 2010 and I have a Batch inserted into my project and cannot for the life of me get it to run with the program in someone elses computer after publish?

View 7 Replies

App On Remote Computer?

Aug 29, 2010

I have a VB.Net application that I wrote and want to run it from a remote computer. It runs fine on both computers but not visible on the remote's screen. The program is in the task bar and can be run or closed remotely. Just can't see the GUI

View 11 Replies

How To Remote Computer

Aug 11, 2009

2 remote computer by using vb.netcan u tell me some that relate with this ?

View 9 Replies

Best Way To GAC Dll On Remote Computer With Impersonation?

Jan 27, 2009

What is the best way to GAC dll on remote computer with Impersonation to an admin account?

View 1 Replies

Copyfile To Remote Computer?

Feb 27, 2006

I am wondering how to copy a file from one remote computer to another remote computer. I assume that I need to supply credentials for the connection, however I can't find anything about how to do that.

I can copy files from one place to another on my local box -I just don't have a clue about the remote stuff.

View 2 Replies

Freeze A Remote Computer?

Jan 14, 2010

Is it possible to freeze a remote computer? thru the ip address.

freeze computer meaning temporarily disable the mouse and keyboard of that remote computer

View 18 Replies

How To Lock Remote Computer

Mar 8, 2010

can anybody told me how to lock remote computer using Vb.Net2005

View 3 Replies

Sniffing To Remote Computer?

Mar 20, 2011

I know I can sniff my local network but Is it possible to sniff to remote computer ip from my machine and watch the data its receiving ?

the reason I'm asking this question is because someone successfully upload file to our website server and tried to hack it.

the only way I can think of is that someone sniffing our ftp port and grabs the ftp password when I'm deploying our website to the server.

View 11 Replies

Working Into A Remote Computer?

Jun 27, 2011

I can make users to my own computer.....but i don't know how can i do this to a remote computer same way Here is my code:

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
Dim proc As New Process
proc.StartInfo.FileName = "net.exe"

[code]....

1.A User is created in users account(control-panel>users account).......but i want to create only the users account in incoming connection(vpn incoming connection)

2.I want to do it in a remote pc>>for example a pc ,which ip is 113.120.34.54,user: administrator,password: 12345

can i do it same way that i followed to create user in my local PC?

View 3 Replies

C# - Web Service Execute On Remote Computer

Jan 18, 2010

I'm using asmx web service to lock a folder on remote computer! When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock! I supose that I need to set security permission for this web service on remote computer, but i don't know where! So, what I need to enable executing this service on remote computer?

View 5 Replies

Connecting To Remote Computer And UnauthorizedAccessException

Oct 21, 2011

I am making a client/server project where the server can send a String variable to client but for now i'm starting with a simpler code. I was able to code a bit but now i'm having a problem with this UnauthorizedAccessException. It seems that I am not authenticated but i was able to put the admin username and its password. This is my problem.. Here's my code...

[Code]...

View 7 Replies

Get Disk Space Of A Remote Computer?

Apr 11, 2011

I was thinking will it be possible to get a disk space of a remote and local machine using asp.net 2008?

View 2 Replies

Get System Time Of A Remote Computer?

May 6, 2009

I am trying to set up an "AT" job to export some registry keys on a remote computer, the problem is that DOS command requires a time to run. I want to get the system time of the remote computer so i can schedule it to run 1 minute from the time i send the command.

Is there any way to get the system time of a remote computer with VB.Net code?

View 3 Replies

Get Using System.Management On Remote Computer

Jun 10, 2010

Can you use System.Management to get CPU and memory information from a remote computer?

View 4 Replies

Getting The Disk Space Of A Remote Computer?

Feb 11, 2012

was thinking will it be possible to get a disk space of a remote and local machine using asp.net 2008

View 6 Replies

Log A Windows User Into A Remote Computer

Mar 27, 2012

Here is what I am doing: I have several servers that are used to run a piece of software. The software is started using a scheduled task. I can have up to three instances of the software running using three scheduled tasks, and three logged in users. Currently I am using a separate program running on two additional servers to make sure these two additional users are logged in, the scheduled task will not run if the user is not logged in. This separate program uses a saved Remote Desktop Session to make sure the users are logged in.

[Code]...

View 1 Replies

Remote Control Of An Apple Computer From A Pc?

Feb 17, 2010

I need to have a PC talk to a Mac (apple) over a network (or alternately the internet, SSH, whatever works) in such a way as to open a shell window on the Mac to execute a number of commands to have it talk to a UNIX box and transfer files from a device attached to the Mac to the UNIX box where it can then be accessed later on in an shared area (SAMBA) by the PC.

The Mac has a fixed IP and I can have it configured to open the appropriate ports, but I would like to minimize any potential security issues.

Part of the reason why is the copy time is significantly lower. Copying from the PC to the shared area takes over 90 minutes vs about 10 for the Mac. No doubt this has to do in part to translation and network overhead.

So I need to

1) Connect
2) Open Shell window
3) Execute commands
4) exit Shell window
5) Disconnect.

View 1 Replies

Select Folder In Remote Computer

Oct 5, 2009

I use FolderBrowserDialog to select Folder in locale computer..I need to select folder in remote computer with VB 2008..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved