Page 3 of 3

Re: Shutdown Remote Windows PC

Posted: Sunday 10 November 2019 14:45
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

Re: Shutdown Remote Windows PC

Posted: Monday 07 September 2020 23:45
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.

Re: Shutdown Remote Windows PC

Posted: Tuesday 08 September 2020 19:36
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

Re: Shutdown Remote Windows PC

Posted: Wednesday 07 April 2021 20:07
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?