HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Run StresStimulus with runas Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


8/18/2023
Unregistered User
Unregistered User
Posts: 509
Is it possible to run stresstimulus “as a different user” using command line?

I have to run it as a different user to be able to access the database.

This is what my script looks like:
%ECHO ON%
runas /user:{username} "C:\Program Files (x86)\Stimulus Technology\StresStimulus\StresStimulus.Application.EXE" /noui "C:\mytest.ssconfig"
PAUSE


It seems the runas command doesn’t work together with the stresstimulus command.
When I run only the following command, it works: runas /user:{username} "C:\Program Files (x86)\Stimulus Technology\StresStimulus\StresStimulus.Application.EXE"

But when I combine it with stresstimulus command it does not work, it just give me back the attached.

Any idea how I can combine the “runas” command so that I can open stresstimulus as a different user first and then execute the script?
0 link






Copyright © 2024 Stimulus Technology