vanteuton
Posts: 2
Joined: Tue Mar 07, 2017 10:25 am

Remote windows 10 from a pi

Tue Mar 07, 2017 10:26 am

Hi,

I'm setting up a remote raspberry pi to manage my flat, including my main computer
using windows 10.

I already know how to shutdown the main computer from the pi using rpc shutdown but I'm searching a way to make it switch between 2 different displays (main screen and video projector). How would I do this?

Thanks by advance.

Vanteuton

User avatar
RST8
Posts: 64
Joined: Tue Nov 25, 2014 1:57 pm

Re: Remote windows 10 from a pi

Tue Mar 07, 2017 11:01 am

vanteuton wrote:Hi,

I'm setting up a remote raspberry pi to manage my flat, including my main computer
using windows 10.

I already know how to shutdown the main computer from the pi using rpc shutdown but I'm searching a way to make it switch between 2 different displays (main screen and video projector). How would I do this?

Thanks by advance.

Vanteuton
On win 7 / win 10 there is a cmdline exe called displayswitch and you can run displayswitch /internal or display switch /external, so lurking somewhere is an API to do it, so you'd need to figure out a way of getting the pi to tell it to run this command. I suspect it probably just writes some stuff to the registry.

Joe

vanteuton
Posts: 2
Joined: Tue Mar 07, 2017 10:25 am

Re: Remote windows 10 from a pi

Tue Mar 07, 2017 3:53 pm

RST8 wrote: so you'd need to figure out a way of getting the pi to tell it to run this command. I suspect it probably just writes some stuff to the registry.
Hi, thanks for the quick answer ! I already had the command but there are 2 days i'm spamming google looking for "how to access windows registry from lan / raspberry pi" and it seems that no-one wrote how to do that :(

Thanks again and pardon my english :roll:

Vanteuton

IanS
Posts: 251
Joined: Wed Jun 20, 2012 2:51 pm
Location: Southampton, England

Re: Remote windows 10 from a pi

Thu Mar 09, 2017 11:44 am

How about using powershell commands? Google 'remote powershell from linux' for a number of ways the connection can be made.

321
Posts: 94
Joined: Mon Feb 13, 2017 7:26 pm

Re: Remote windows 10 from a pi

Thu Mar 09, 2017 12:03 pm

Putting two shortcuts on each monitor/desktop might be a way you can toggle between the two provided you dont have the option to auto arrange shortcuts on the desktop enabled.

https://www.sevenforums.com/tutorials/3 ... reate.html

Another might be sending the Windows key + P through to the windows machine, if its possible to send windows key presses through your remote access software.

I dont think you need to use the registry, some software only reads the registry once and other software will read the registry every time it needs to look up a setting, its down to how the software is written.

Return to “Networking and servers”