How to make CMD window appear for all users on windows server

Shaun123465 0 Reputation points
2023-04-26T22:49:30.39+00:00

Hi,

I am an administrator for a shared windows server VM in my organization (NT 6.2). I run python scripts on it which show a cmd window output continuously.

Is there a way to make those command windows appear for other users who log in? Mostly so other people can RDP into the server and see if they are running or not. I tried running my public desktop etc, and the windows don't appear for other users.

Currently my workaround is writing the output to txt file and using php to display it on a webpage.

Thanks

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,909 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-04-26T22:57:53.0966667+00:00

    A cmd windows runs in the logged on user's desktop heap and would not be available or visible to any other users currently logged on.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Limitless Technology 44,221 Reputation points
    2023-04-27T14:32:35.71+00:00

    Hello there,

    It might not be possible to share the CMD but the results of the command can be shared once the command of executed successfully.

    The Send-MailMessage cmdlet sends an email message from within PowerShell.

    You must specify a Simple Mail Transfer Protocol (SMTP) server or the Send-MailMessage command fails. Use the SmtpServer parameter or set the $PSEmailServer variable to a valid SMTP server.

    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-7.3

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.