Advertisement

04.25.2008 at 08:21AM PDT, ID: 23353829
[x]
Attachment Details

Run Ipconfig /flushdns remotely

Asked by omen1280 in Windows Batch Scripting, Microsoft Operating Systems

Tags: Microsoft, Systernals - PsExec, 1.92

I need to be able to run the command
ipconfig /flushdns remotely on all the client machines

i saw the article
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22549410.html

I downloaded psexec

Created a bat file that has the following commands
@echo off
cmd /c ipconfig /flushdns

Then i ran the following command but it is not working
psexec [\\computer @file c:\computers.txt -u powelladmin -p ciscoccna -n 5 -e -x -d

I get this error in the cmd prompt
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com

PsExec could not start [\\computer:
The system cannot find the file specified.Start Free Trial
[+][-]04.25.2008 at 09:01AM PDT, ID: 21440826

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows Batch Scripting, Microsoft Operating Systems
Tags: Microsoft, Systernals - PsExec, 1.92
Sign Up Now!
Solution Provided By: Ghost96
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.25.2008 at 09:04AM PDT, ID: 21440860

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.

 
[+][-]04.25.2008 at 09:06AM PDT, ID: 21440875

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.

 
[+][-]04.29.2008 at 09:28AM PDT, ID: 21463760

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.

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