Win7无法登录LOL提示遇到了一个预期之外的错误如何解决(已解决)
- 编辑:飞飞系统
- 时间:2020-06-08
最近有使用win7系统的网友反映说,他的电脑突然无法登录LOL了,每次登录的时候都会弹出提示“登录时遇到了一个预期之外的错误,请重试”,试了很多办法就是无法正常进行登录。那么如何才能解决这个问题呢?下面小编就教大家Win7无法登录LOL提示遇到了一个预期之外的错误如何解决,有同样问题的朋友一起来看看吧。
Win7无法登录LOL提示遇到了一个预期之外的错误如何解决
1、首先修改本机中的hosts文件,如果Hosts在指向的时候出现了问题,是会出现LOL登入时遇到了一个预期之外的错误这种问题的;
2、一般情况下路径为C:\Windows\System32\drivers\etc,找到这个文件然后清空文件内容,复制以下内容粘贴进去;
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
3、更改完Hosts文件后在网络共享中心找到当前的网络连接,使用鼠标右键单击并选择属性,如下图所示找到IPv4并双击打开;
4、在弹出的属性窗口中把DNS更改为公网DNS大家可以如果你不知道怎么填写,可以参照下图中的DNS;
5、最后只需要重置下网络协议即可,这里我们可以使用本机自带的DOS命令进行重置也可以使用第三方软件进行重置;
6、这样就可以顺利登入游戏了,导致这种情况出现的原因一般为高峰期、更新后、或者有些人被封号了也会导致这类情况的出现,被封号这种情况是无法通过重置网络设置解除的;
以上就是关于Win7无法登录LOL提示遇到了一个预期之外的错误如何解决的全部内容了,使用上面的方法就可以帮助我们正常登陆LOL了。