Shutdown Remote Windows PC

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Dembe
Posts: 9
Joined: Saturday 14 September 2019 9:45
Target OS: Windows
Domoticz version:
Contact:

Re: Shutdown Remote Windows PC

Post by Dembe »

I installed samba and I get the same error which is line 3: $: command not found. Hmmm

Edit:- I have edited my bash script to:-

net rpc shutdown -I server_ip -U username (with my details)

Edit 2:- When running from root I get thisreverse image search email checker port checker


root@raspberrypi:~# net rpc shutdown -I 192.168.1.27 -U [email protected]
Enter [email protected]'s password:
Could not connect to server 192.168.1.27
Connection failed: NT_STATUS_BAD_NETWORK_NAME
Could not initialise pipe \winreg. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND
gikah
Posts: 5
Joined: Monday 27 May 2019 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Shutdown Remote Windows PC

Post by gikah »

odorf wrote: Sunday 03 November 2019 9:31 Hi
can You specify which settings You had to update?
Have the same issue with NT_STATUS_IO_TIMEOUT
Method I:
1. Go to: Firewall & network protection
2. Click on "allow an app throught firewall"
3. Scroll down to "Remote Shutdown"
4. Allow it.

Method II:
Paste to admin cmd:

Code: Select all

netsh advfirewall firewall add rule name="Remote Shutdown" dir=in action=allow enable=yes
Works for me again after 1909 update.
hbennis
Posts: 7
Joined: Friday 29 September 2017 0:50
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Shutdown Remote Windows PC

Post by hbennis »

goto http://www.unifiedremote.com/download

download the windows server program and in the app store or playstore the app for your smartphone
pshemekCK
Posts: 1
Joined: Wednesday 07 April 2021 20:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Shutdown Remote Windows PC

Post by pshemekCK »

Hi Guys, I'm new here and with Domoticz.

I do all with instructions and I still have problem. By SSH my PC shutdown remotely, but in Domoticz when I add Dummy device, add Turn On, Turn Off or any other switch with this script it doesn't work! I try with 2 and 3 / in script. What else can work for me? In Windows I set all correctly, script file have permissions 744. What to do?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest