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 with SP2 and earlier, Windows NT, and Windows 98/95: Win32_Process.Create can create an interactive process remotely.
Related topics
- 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: 11/19/2012