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
Shutdown Remote Windows PC
Moderators: leecollings, remb0
-
- Posts: 5
- Joined: Monday 27 May 2019 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Contact:
Re: Shutdown Remote Windows PC
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
-
- Posts: 7
- Joined: Friday 29 September 2017 0:50
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Shutdown Remote Windows PC
goto http://www.unifiedremote.com/download
download the windows server program and in the app store or playstore the app for your smartphone
download the windows server program and in the app store or playstore the app for your smartphone
-
- Posts: 1
- Joined: Wednesday 07 April 2021 20:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Shutdown Remote Windows PC
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests