windows - using wmic to create a process on localhost as a different user -


Is there a way to create a process with wmic on a local host as a local user?

  wmic / node: localhost / user: user processes call "CMD"   

I know that I can use Rana, but I'm curious if this is possible.

What could be the global switch? (/ ROLE, / IMPLEVEL, / AUTHLEVEL, / AGGREGATE / AUTHORITY). Or are some configurations changing? At the moment I get this error:

  Error: Description = User credentials can not be used for local links   

Edit: is that I have found for such cases

WMI engine does not use credentials Due to being connected locally, the WMIC will not be either. RunAs is your best bet.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -