如果您想在家中设置服务器(set up a server),您可能希望能够远程访问它。当然,只有在您的 PC 或服务器保持开启状态时,您才能进行远程连接。(connect remotely)但是,您可能不想这样做,特别是如果您希望降低能源费用。
解决此问题的一个好方法是关闭您的 PC 或服务器,然后仅在您准备好使用时远程唤醒它。如果您想远程唤醒您的 Windows 10 PC,您可以使用现有的方法,例如Wake-on-LAN ( WOL ),或使用远程访问软件,例如 Teamviewer(remote access software like Teamviewer)。
准备您的网络路由器或防火墙(Preparing Your Network Router Or Firewall)
在您开始使用远程唤醒工具远程唤醒您的 Windows 10 电脑之前,您需要确保您的网络路由器已正确配置为允许您访问您的电脑,包括设置适当的防火墙规则。
例如,大多数住宅网络路由器都内置了对 LAN 唤醒的(Wake-on-LAN)支持。您可能需要查阅您的用户手册以获取有关如何设置的更多信息,包括如何将魔术包(magic packet )(用于打开您的 PC 的特殊数据包)转发到您的 PC 的MAC地址。
您可以通过在 Web 浏览器中键入http://192.168.0.1 或http://192.168.1.1 来访问大多数家用路由器的住宅设置菜单。您需要管理用户名和密码才能登录,(如果您尚未更改)应打印在路由器本身或随附的用户手册中。
在 Windows 10 PC 上启用 LAN 唤醒(Enabling Wake-on-LAN On A Windows 10 PC)
如果您的路由器配置正确,在运行Windows 10的 PC 上启用(Windows 10)LAN 唤醒(Wake-on-LAN)的下一步是在your BIOS/UEFI settings中启用该功能。
根据您的主板固件,此设置可能位于不同的部分,但您应该能够在“高级(Advanced )”或“电源管理( Power Management)”菜单中找到它。确保(Make)将Wake-on-LAN设置为On或Enabled。如果不是,WOL魔术包(用于重新打开您的 PC)将不会打开您的 PC。
如果在您的BIOS中启用了(BIOS)LAN 唤醒(Wake-on-LAN),则下一步是将其作为Windows 10中的一项功能启用。您必须设置网络适配器以响应魔术包。
注意(Note):这只能与以太网连接的 PC(ethernet-connected PCs)一起使用,这意味着您通常不能通过WiFi使用(WiFi)Wake-on-(Wake-on-LAN) LAN 。
- 要在Window 10中启用(Window 10)WOL,您需要在设备管理器(Device Manager)设置菜单中启用它。右键单击(Right-click)开始(Start)菜单,然后单击设备管理器(Device Manager)开始。
- 在设备管理器(Device Manager)窗口中,打开网络适配器(Network Adapters)类别。右键单击(Right-click)用于连接网络的网络适配器,然后单击“属性(Properties)”选项。
- 在“属性”窗口的“(Properties)高级(Advanced)”选项卡中,您可以访问网络适配器的各种专业设置。单击Wake on Magic Packet选项,然后从Value下拉菜单中 选择Enabled 。
- 启用魔术包设置后,切换到电源管理(Power Management )选项卡。Windows需要允许您的 PC 响应WOL魔术包,因此请确保已启用允许此设备唤醒计算机(Allow this device to wake up the computer )和仅允许魔术包唤醒计算机(Only allow a magic packet to wake the computer)复选框。单击确定(OK)以保存新设置。
保存设置后,您的 PC 应该准备好被另一台计算机的 Wake-on-LAN 魔术包唤醒。
发送 LAN 唤醒魔术包(Sending a Wake-On-LAN Magic Packet)
要远程唤醒您的 Windows 10 PC,您需要另一台 PC 上能够发出WOL魔术包的软件,例如NirSoft WakeMeOnLAN。尽管界面有些过时,WakeMeOnLan仍然可以作为在Windows PC上使用(Windows PCs)WOL的免费且简单的解决方案。
- 要使用WakeMeOnLan,您需要从NirSoft 网站( NirSoft website)下载该软件。解压缩ZIP文件后,启动WakeMeOnLan.exe文件以启动软件。您可以通过单击File > Start Scanning添加新计算机(Add New Computer)来手动添加 PC 。
- 一旦您的保存列表中有一台 PC(或多台 PC),您可以使用WOL魔术包启动它们,方法是选择它并按下唤醒选定的计算机(Wake Up Selected Computers)图标。或者,右键单击并按唤醒选定的计算机(Wake Up Selected Computers)选项,或者按键盘上的F8。
- 您需要确认您确实希望远程唤醒这些 PC。按OK确认。
确认后会自动发送WOL魔术包。(WOL)如果一切设置正确,您的 PC 应该开始唤醒,允许您远程访问它。
使用远程访问软件(Using Remote Access Software)
您还可以使用TeamViewer等远程访问软件(remote access software)远程唤醒Windows 10 PC。TeamViewer使用相同的WOL技术远程唤醒 PC,这将允许您唤醒未连接到本地网络的 PC。
例如,如果您想从家里访问您的工作 PC,或者如果您不在家并且想要连接到您的家用 PC,您可能想要这样做。
- 您需要先在Teamviewer设置中启用Wake-on-LAN 。为此,请打开Teamviewer客户端并按Extra > Options。
- 在TeamViewer选项( Options)窗口的常规选项卡中,您应该会看到(General)网络设置(Network settings)部分。您可以通过单击 LAN 唤醒设置旁边的配置按钮来配置(Configure)LAN 唤醒(Wake-on-LAN)设置,您可以在其中设置允许连接到 PC的TeamViewer ID 。(TeamViewer IDs)如果您没有看到此设置,则您的网络设备可能不支持Wake-on-LAN。
在Teamviewer中启用WOL后(Teamviewer),您可以通过单击计算机和联系人(Computers & Contacts)菜单下列出的 PC 的唤醒(Wake Up)按钮来启动它。您的远程 PC 需要安装TeamViewer并使用相同的TeamViewer帐户登录才能正常工作。
远程管理您的 PC(Managing Your PC Remotely)
您可能有想要访问的远程 PC 或服务器,但您还需要一种安全的方式来管理它。从远处打开您的 PC 是一种方法,但您可能需要对您的 PC 配置进行更重大的更改。例如,您可能需要远程更改注册表(change the registry remotely)以帮助解决问题。
如果您在 IP 地址定期更改时遇到问题,您可能需要设置一个免费的动态 DNS 地址(free dynamic DNS address)以确保您始终可以连接。如果您担心您的数据,您甚至可以考虑设置自己的个人云存储(personal cloud storage),以便在家中轻松访问您的重要文件。
How To Remotely Wake Up Your Windows 10 PC
If you wаnt tо set up a server at home, you may want to be able to access it remotely. Of course, you can only connect remotely if you leave your PC or server left turned on. You may not want to do this, however, especially if you’re looking to lower your energy bill.
A good way to get around this problem is to switch your PC or server off, and then wake it up remotely only when you’re ready to use it. If you want to remotely wake up your Windows 10 PC, you can do so using existing methods, such as Wake-on-LAN (WOL), or using remote access software like Teamviewer.
Preparing Your Network Router Or Firewall
Before you start using a remote wakeup tool to remotely wake up your Windows 10 PC, you’ll need to make sure that your network router is properly configured to allow you to access your PC, including setting up appropriate firewall rules.
For instance, most residential network routers have built-in support for Wake-on-LAN. You may need to consult your user manual for additional information on how to set this up, including how to forward the magic packet (the special data packet sent to switch your PC on) to your PC’s MAC address.
You can access the residential settings menu for most home routers by typing http://192.168.0.1 or http://192.168.1.1 in your web browser. You’ll need the administration username and password to sign in, which (if you haven’t changed it) should be printed on your router itself, or within the supplied user manual.
Enabling Wake-on-LAN On A Windows 10 PC
If your router is correctly configured, the next step in enabling Wake-on-LAN on a PC running Windows 10 is to enable the feature in your BIOS/UEFI settings.
This setting may be placed in different sections, depending on your motherboard firmware, but you should be able to find it in the Advanced or Power Management menus. Make sure the setting for Wake-on-LAN is set to On or Enabled. If it isn’t, the WOL magic packet (used to switch your PC back on) won’t turn on your PC.
If Wake-on-LAN is enabled in your BIOS, your next step is to enable it as a feature in Windows 10. You’ll have to set your network adapter to respond to the magic packet.
Note: This can only work with ethernet-connected PCs, meaning you can’t typically use Wake-on-LAN over WiFi.
- To enable WOL in Window 10, you’ll need to enable it in the Device Manager settings menu. Right-click the Start menu and click Device Manager to begin.
- In the Device Manager window, open the Network Adapters category. Right-click the network adapter you use to connect to your network, then click the Properties option.
- In the Advanced tab of the Properties window, you can access various specialist settings for your network adapter. Click the Wake on Magic Packet option, then select Enabled from the Value drop-down menu.
- Once the magic packet setting is enabled, switch to the Power Management tab. Windows will need to allow your PC to respond to a WOL magic packet, so make sure the Allow this device to wake up the computer and Only allow a magic packet to wake the computer checkboxes are enabled. Click OK to save your new settings.
Once the settings are saved, your PC should be ready to be woken up with a Wake-on-LAN magic packet from another computer.
Sending a Wake-On-LAN Magic Packet
To remotely wake up your Windows 10 PC, you’ll need software on another PC capable of issuing a WOL magic packet, such as NirSoft WakeMeOnLAN. Despite a somewhat outdated interface, WakeMeOnLan still works as a free and easy solution for using WOL on Windows PCs.
- To use WakeMeOnLan, you’ll need to download the software from the NirSoft website. Once you’ve extracted the ZIP file, launch the WakeMeOnLan.exe file to launch the software. You can begin scanning for WOL-capable PCs on your local network by clicking File > Start Scanning, or add a PC manually by clicking Add New Computer instead.
- Once you have a PC (or PCs) in your saved list, you can power them up using a WOL magic packet by selecting it and pressing the Wake Up Selected Computers icon. Alternatively, right-click and press the Wake Up Selected Computers option, or press F8 on your keyboard instead.
- You’ll need to confirm that you actually wish to remotely wake these PCs. Press OK to confirm.
The WOL magic packet will be sent automatically once you confirm this. If everything is set up correctly, your PC should begin to wake up, allowing you to access it remotely.
Using Remote Access Software
You can also use remote access software like TeamViewer to remotely wake up a Windows 10 PC. TeamViewer uses the same WOL technology to remotely wake up a PC, which would allow you to wake up a PC that isn’t connected to your local network.
You might want to do this if you want to access your work PC from home or if you’re away from home and want to connect to your home PC, for instance.
- You’ll need to enable Wake-on-LAN in your Teamviewer settings first. To do this, open the Teamviewer client and press Extra > Options.
- In the General tab of the TeamViewer Options window, you should see a Network settings section. You can configure your Wake-on-LAN settings by clicking the Configure button next to the Wake-on-LAN setting, where you can set up the TeamViewer IDs that are allowed to connect to your PC. If you don’t see this setting, your network device probably isn’t capable of supporting Wake-on-LAN.
Once WOL is enabled in Teamviewer, you can launch it by clicking the Wake Up button for your PC, listed under the Computers & Contacts menu. Your remote PC will need to have TeamViewer installed and signed in with the same TeamViewer account for this to work.
Managing Your PC Remotely
You may have a remote PC or server you want to access, but you’ll also need a safe way to manage it. Turning your PC on from afar is one way to do this, but you may need to make more significant changes to your PC configuration. You might need to change the registry remotely to help troubleshoot an issue, for instance.
If you’re having trouble with your IP address changing regularly, you may want to set up a free dynamic DNS address to make sure you can always connect. If you’re worried about your data, you could even think about setting up your own personal cloud storage for easy access to your important files from home.