Advertisement

08.06.2008 at 05:01PM PDT, ID: 23627812 | Points: 500
[x]
Attachment Details

psexec from a batch file to execute another batch file

Asked by TechInc in Windows Batch Scripting, Scripting Languages

I am trying to use psexec to from within a batch file to run an iisreset on another machine. the batch file is local and needs to run c:\program files\psexec.exe -u username -p password \\remotemachine c:\iisreset.bat
where do i need to have psexec stored for this to work? what do i need to do for this to work. essentially, i want to do an issreset of a remote box from an end user machine where the end user is not (and CANNOT) be an administrator on the box hosting iis. I want them to be able to click the .bat on their machine that will pass credentials to the .bat on the remote machineStart Free Trial
[+][-]08.06.2008 at 08:47PM PDT, ID: 22177534

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.07.2008 at 10:53AM PDT, ID: 22183479

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.07.2008 at 11:03AM PDT, ID: 22183584

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.07.2008 at 11:09AM PDT, ID: 22183644

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.07.2008 at 08:04PM PDT, ID: 22187209

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628