We help IT Professionals succeed at work.
Get Started

Using PSEXEC and bypassing the EULA

6,292 Views
Last Modified: 2012-05-09
Hello all, I'm trying to use PSEXEC to run programs as admin, but I'm trying to script it silently. I noticed while doing it, the EULA comes up and requires user intervention. There is a switch "/accepteula" but I'm not sure where to put it in the line segment. here is my basic commandline so far...


@Echo Off
c:\psexec -u Administrator -p Password iexplore


Where in this segment do I place the "/accepteula" to make it not prompt for acceptance of EULA?
Comment
Watch Question
Consulente Informatico
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 3 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE