Click to Rate and Give Feedback
MSDN
MSDN Library
Using WMI
 Creating Processes Remotely
Creating Processes Remotely

You can use Win32_Process.Create to execute a script or application on a remote computer. However, for security reasons, the process cannot be interactive. When Win32_Process.Create is called on the local computer, the process can be interactive.

The remote process has no user interface but it is listed in the Task Manager. A process created locally can run under any account if the account has the Execute Method permission for the root\cimv2 namespace. A process created remotely can run under any account if the account has the Execute Method and Remote Enable permissions for root\cimv2. The Execute Method and Remote Enable permissions are set in WMI Control in the Control Panel. For more information, see Setting Namespace Security with the WMI Control.

You can use Win32_ScheduledJob.Create to create an interactive process remotely. But processes started by Win32_ScheduledJob.Create run under the LocalSystem account that can confer too much privilege.

Windows 2000 Professional SP2 and earlier, Windows NT, and Windows 98/95:  Win32_Process.Create can create an interactive process remotely.

See Also

Connecting Between Different Operating Systems
Securing a Remote WMI Connection
Connecting to a 3rd Computer-Delegation
Connecting Through Windows Firewall


Send comments about this topic to Microsoft

Build date: 8/20/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker