Win32_Process

  • Thread starter msnews.microsoft.com
  • Start date
M

msnews.microsoft.com

Hi,

I need to execute an exe file on a remote machine. I succesfully use the
Create method to execute the exe file.

The problem I face is that the file in discussion accepts a parameter called
LOG. So if you look on the remote machine's exe file shortcut you will see
the filename space and LOG, the parameter which the exe file accepts.

At the moment my code executes the remote file but when it is executed with
out the LOG parameter the proccess is running in the background where as
what I need is to execute the file with the LOG parameter which causes the
remote exe to run in cmd window.




Thanks,
Yaniv
 
P

Philip Nunn [MSFT]

For security reasons, the win32_process.Create method no longer runs the
process interactively (beginning with win2k SP4 and Windows XP). Is there a
reason why you need the process to run interactively? It may still be
possible to use Win32_ScheduledJob to achieve this though it is not
advisable to do so.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top