Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Networking > Run a batch file remotely

Reply
Thread Tools Display Modes

Run a batch file remotely

 
 
Dane
Guest
Posts: n/a

 
      07-30-2009
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

"Dane" <> wrote in message
news5EF86E8-5B53-4653-BECA-...
> 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
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" <> wrote in message
> news5EF86E8-5B53-4653-BECA-...
> > 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
"Dane" <> wrote in message
news:68262DFA-D07B-44F0-91DA-...
> 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
Batch File Help! File cleanup after n # of days. lca1630 Windows Server 2 01-10-2008 10:18 PM
batch file calling exe file problem JPS Windows Vista Security 1 12-20-2007 12:18 AM
Re: Rinominare File con data attraverso un file Batch Lanwench [MVP - Exchange] Server Networking 0 09-18-2007 05:40 PM
Batch File to change File assocations Peter Sturm Windows Media Center 2 04-08-2006 12:48 AM
Batch file prozac Virtual PC 1 12-02-2003 11:18 PM



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 54 55 56 57 58 59