Networking Forums

Networking Forums > Computer Networking > Windows Networking > Run a batch file remotely

Reply
Thread Tools Display Modes

Run a batch file remotely

 
 
Dane
Guest
Posts: n/a

 
      07-30-2009, 03:39 PM
Hello,
I am looking for a way to remotely run a batch file on another computer. Our
backup software runs on one server, and a database I need to “detach” for
backup is on another server. Any suggestions would be appreciated.
Thanks,
Dane

 
Reply With Quote
 
 
 
 
Ace Fekay [MCT]
Guest
Posts: n/a

 
      07-31-2009, 02:16 AM

"Dane" <(E-Mail Removed)> wrote in message
news5EF86E8-5B53-4653-BECA-(E-Mail Removed)...
> Hello,
> I am looking for a way to remotely run a batch file on another computer.
> Our
> backup software runs on one server, and a database I need to “detach”
> for
> backup is on another server. Any suggestions would be appreciated.
> Thanks,
> Dane
>



Curious, why not simply use Remote Desktop to connect and run it?

You can also copy the bat file to the other machine. Then you can use psexec
to run it in a command prompt.

PsExecPsExec is a light-weight telnet-replacement that lets you execute
processes on other systems, complete with full interactivity for console
applications, ...
http://technet.microsoft.com/en-us/s.../bb897553.aspx


--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum to benefit from collaboration
among responding engineers, and to help others benefit from your resolution.

Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
Microsoft Certified Trainer

For urgent issues, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.

 
Reply With Quote
 
Dane
Guest
Posts: n/a

 
      08-03-2009, 02:56 PM
Thanks for your help Ace!

I am not using Remote Desktop becuase I am trying to automate everything so
that it does not require human intervention and will run on a consistant
schedule.

I have played around with the PsExec, and I think it is going to work fine
for what I need.

Best Regards,
Dane


"Ace Fekay [MCT]" wrote:

> "Dane" <(E-Mail Removed)> wrote in message
> news5EF86E8-5B53-4653-BECA-(E-Mail Removed)...
> > Hello,
> > I am looking for a way to remotely run a batch file on another computer.
> > Our
> > backup software runs on one server, and a database I need to “detach”
> > for
> > backup is on another server. Any suggestions would be appreciated.
> > Thanks,
> > Dane
> >

>
>
> Curious, why not simply use Remote Desktop to connect and run it?
>
> You can also copy the bat file to the other machine. Then you can use psexec
> to run it in a command prompt.
>
> PsExecPsExec is a light-weight telnet-replacement that lets you execute
> processes on other systems, complete with full interactivity for console
> applications, ...
> http://technet.microsoft.com/en-us/s.../bb897553.aspx
>
>
> --
> Ace
>
> This posting is provided "AS-IS" with no warranties or guarantees and
> confers no rights.
>
> Please reply back to the newsgroup or forum to benefit from collaboration
> among responding engineers, and to help others benefit from your resolution.
>
> Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
> Microsoft Certified Trainer
>
> For urgent issues, please contact Microsoft PSS directly. Please check
> http://support.microsoft.com for regional support phone numbers.
>
>

 
Reply With Quote
 
Ace Fekay [MCT]
Guest
Posts: n/a

 
      08-03-2009, 10:25 PM
"Dane" <(E-Mail Removed)> wrote in message
news:68262DFA-D07B-44F0-91DA-(E-Mail Removed)...
> Thanks for your help Ace!
>
> I am not using Remote Desktop becuase I am trying to automate everything
> so
> that it does not require human intervention and will run on a consistant
> schedule.
>
> I have played around with the PsExec, and I think it is going to work fine
> for what I need.
>
> Best Regards,
> Dane
>



Good to hear, Dane. Glad to be of assistance.

Cheers!

Ace

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Single Batch File Vis-MCSA Windows Networking 11 12-03-2007 05:45 AM
Rinominare File con data attraverso un file Batch Daytan Windows Networking 1 09-18-2007 05:40 PM
Batch File Problems Nikon Windows Networking 2 04-26-2006 07:50 PM
Batch file to assign an IP configuration? boe Windows Networking 4 02-09-2005 09:11 AM
NT Batch file doesn't run Carl Gross Windows Networking 5 10-08-2003 12:51 AM



1 2 3 4 5 6 7 8 9 10 11