basildane / WakeOnLAN

Wake On LAN, WakeOnLAN, shutdown software for Windows. A powerful WOL, ping, shutdown, GUI application.
http://wol.aquilatech.com
Other
998 stars 147 forks source link

Access is denied on shutdown #171

Open czgu4422 opened 4 years ago

czgu4422 commented 4 years ago

After I install the WOL to PC-01, I can wake up and shutdown my PC-02 from PC-01 when both PCs are in same network (at home). But I cannot remotely shut PC-02 down if PC-01 is in outside (in office). Err: Access is denied (5). User name and password are incorrect. The user name and password of PC-02 I entered are correct. How to fix this problem? Or this WOL does not short remote shutdown from different network?

basildane commented 4 years ago

Are your computers in a domain or a workgroup? Workgroups can be more difficult to shutdown, and I have some options in the Shutdown panel for that, including the "Legacy" shutdown method. https://wol.aquilatech.com/help/shutdown-host/

czgu4422 commented 4 years ago

Workgroup. Waking up and shutting down work fine if 2 computers are in same network (home). I can use this program to wake up home computer from my office, but cannot shut it down. Also remote desktop does not work. I think they have same problem. Because there is no place I can enter port number (like myhome.no-ip.com:1234).

basildane commented 4 years ago

Are you using RDP on a port other than 3389? You can setup a shortcut and it will use that. Did you try legacy mode on shutdown? Can you shutdown the remote computer manually - not using wol?

czgu4422 commented 4 years ago

No, I use port 3389 for RDP (from Windows 10). Windows 10 RDP works fine (I’ve set port forwarding). Yes, I use legacy mode. Both shutdown and Remote desktop work fine if 2 PCs are in same network. But if 2 PCs are NOT in same network (most cases are one PC at home, and one in my office), Shutdown does not work.

The reason that I use Aquila software is that the software can wake up my PC. After I changed router, many WOL software stop working. First I thought that was the new router (Netgear RAX15) problem. But there was no router setting problem. So I started searching WOL software on line and tried one by one. Aquila software is only one I can find to wake up my PC from different network. Currently if I’m not at home and want to shutdown PC, I use windows 10 RDP, login to my home PC, then shut it down. So it’s OK the Shutdown feature does not work if PCs are not in the same network.

Thanks

czgu

From: Basildane [mailto:notifications@github.com] Sent: Sunday, May 3, 2020 5:49 PM To: basildane/WakeOnLAN WakeOnLAN@noreply.github.com Cc: czgu4422 czgu@hotmail.com; Author author@noreply.github.com Subject: Re: [basildane/WakeOnLAN] Access is denied on shutdown (#171)

Are you using RDP on a port other than 3389? You can setup a shortcut and it will use that. Did you try legacy mode on shutdown? Can you shutdown the remote computer manually - not using wol?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/basildane/WakeOnLAN/issues/171#issuecomment-623187780, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN7AZ36L2IT5F52WOWPDUVTRPXRE5ANCNFSM4MLQ7SZQ.

basildane commented 4 years ago

OK, in order to shutdown a computer on a remote network, you need to have direct communications (windows ports) mapped to that remote network. The normal way you would do that would be to use a VPN. You didn't say, but if the remote machine is across the Internet, a VPN is a must. If the machine is on your LAN but just on a different segment, then you must forward all the windows network ports to that network, this is usually the job of your local firewall.