Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6227991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:18:44+00:00 2026-05-24T09:18:44+00:00

I am sure this has been asked before, but I have yet to find

  • 0

I am sure this has been asked before, but I have yet to find the question or answer.

I have a custom tabbed application that displays data from various scientific instruments on each tab. My users want to click a tab and have my application start various instrument controller applications (or have it brought to the foreground) on another machine when a tab is clicked in my application.

I’ve experimented with lots of different approaches, from writing my own C# app to do Process.Start, writing a 2nd C# app that lives on the remote machine and kicks off the appropriate app, using Sysinternals’ psexec, etc. I can get the process to start successfully on the remote machine, but the GUI is missing no matter which user’s credentials I supply (and regardless of whether a user is logged on interactively.) I believe this is a security enhancement in Windows.

Looking at the Create() method of the Win32_Process MSDN documentation reveals what I suspected – For security reasons the Win32_Process.Create method cannot be used to start an interactive process remotely.

It looks like the best I can do is remotely access Task Scheduler to kick off the remote application after some time interval. I’m sure this would bring a horrible user experience to my app (who wants to click a tab and wait 30 seconds?) so I am avoiding that approach.

Can someone suggest an approach that will work, or help disprove the possibility of doing this?

EDIT psexec’s own documentation bears out my contention that it’s not possible. The -x flag says “Display the UI on the Winlogon desktop (local system only).” If it were possible I’m sure that Sysinternals would have made it happen.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:18:44+00:00Added an answer on May 24, 2026 at 9:18 am

    Have a normal, interactive process on the remote computer that listens for commands. You can then send it a command to run the appropriate process. You might do it like this:

    1. Place your process in the user’s Startup group in the Start menu (or HKLM/HKCU Run section of registry).
    2. Your process will then run interactively whenever a user logs in. You could create a tray icon to indicate that it’s running.
    3. Your process opens a TCP port to listen for commands.
    4. The controlling process on another computer sends a command to the TCP port.
    5. Your process runs the specified command. Because your process ran interactively, the child process will be interactive too.

    The TCP port will be a gaping security hole. Secure it as much or as little as you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I'm sure this question has been asked before but I'm yet to find
I'm sure this question has been asked before, but I'm too frustrated to find
I'm sure this question has been asked before, but I can't seem to find
for sure this question has been asked before, but I couldn't find any thread
I'm not sure if this question has been asked before but are there any
I'm sure this has been asked before, but I can't seem to find it
This has been asked before but I can't find a definitive answer, in code.
I'm sure this question has been asked and answered before, but my Google-fu is
I'm pretty sure this has been asked before but I can't seem to find
I'm not sure if this question has been asked before but what are the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.