Remote login to win 10 enterprise virtual machines via powershell

Tanul 1,281 Reputation points
2021-01-29T12:41:06.623+00:00

Team,

We have few windows 10 enterprise virtual machines in which an application is running and it is not possible to execute them as window service because this application executes few powershell commands internally. In addition, it also tried to connect windows credential manager. I don't know if it is possible to run all these commands in session 0 as i can only host the window services through system account.

Whenever any update comes, machine automatically restarts and this is also unavoidable as this is how the policies are structured. Furthermore, I have explored Autologin also but it is not allowed in my organization as well.

Now, the moment machine open again it stands at welcome screen i.e. Please press Ctld+ALT+DEL to login

At this stage, is there any possible way to login the machines using powershell or linux bash shell commands line so that my application can run at startup.

Please help..

Note:- The virtual machines are on private cloud so the Tags I've selected here are the best possible I can think of.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,139 questions
0 comments No comments
{count} votes

Accepted answer
  1. TravisCragg-MSFT 5,686 Reputation points Microsoft Employee
    2021-01-29T23:16:01.33+00:00

    This forum is only for Azure Virtual Machines.

    The best place to ask this question is on the dedicated Windows & Windows server forums at answers.microsoft.com


1 additional answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,481 Reputation points
    2021-01-29T14:58:59.74+00:00

    Is adding a scheduled task at machine startup an option?

    Hope this helps.


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.