Re: Shutdown Remote Windows PC
Posted: Sunday 10 November 2019 14:45
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
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