A
A
Azat20152022-04-20 11:17:26
Remote access
Azat2015, 2022-04-20 11:17:26

How to run a Windows application remotely from Linux?

Please tell me how to solve the problem.
There will be a telegram bot on the Linux server. Upon the arrival of the command, I need to turn on the workstation on Win10, wait for the download and run the application with the parameters passed from the server.
So far, I imagine the scheme of work as follows: the bot on the server receives a command and parameters; I turn on the station through wol; I wait until it starts to ping; I pass a command with parameters to launch the application.
What is the best way to run an application on a workstation? Preferably in python or bash.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2022-04-20
@rPman

Be careful with windows, instead of turning it on, it can suddenly stop running and show a picture - 'buy our new version', and if you wake up from sleep, download the update and reboot on its own (although windows 10 seems to have stopped this insanity?) .
The script that will load the necessary command from the linux machine for launch must be run as a service, this is at least more reliable (you can start your application with the task scheduler, but so that it works in non-interactive mode, and that it starts before the user is authorized) then nothing will block it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question