How to run a command on a remote Windows system as a non-admin user with WMI?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-06-11T20:08:14Z Indexed on 2010/06/11 20:13 UTC
Read the original article Hit count: 173

Filed under:
|
|

I have a script written in Visual Basic that starts a process (given to the script as an argument) on a remote system (again, given as an argument) using WMI. This script works fine when using an Administrator account on the remote system, but when using a non-administrator account, I get the following error:

ConnectServer Failed w/ (-2147024891) Access is denied.

I'd like to be able to run processes on remote systems as a non-administrator user with this script, and I'm pretty sure the problem is due to security settings on the remote system, but I've not been able to reset the right ones.

© Stack Overflow or respective owner

Related posts about wmi

Related posts about visual