您在Windows上尝试登录Spotify应用程序时是否不断遇到“错误代码:auth:74” ?正如错误消息的其余部分所示,当防火墙或不正确的代理设置阻止您登录时,就会发生这种情况。
然而,Spotify 的 auth:74 错误也可能因其他几个原因而弹出,例如应用程序缓存损坏或网络设置损坏。

本指南将提供多种解决方案来帮助您消除 auth:74 错误,以便您可以顺利地在 Windows PC 上
重新登录Spotify 。
强制退出并重新启动 Spotify
最好先强制退出Windows计算机上的Spotify应用程序。通常,这有助于解决影响登录过程的临时问题。只是:
- 右键单击(Right-click)“开始”(Start)按钮并选择“任务管理器”(Task Manager)。
- (Highlight Spotify)在进程列表中
突出显示 Spotify 。
- 选择结束任务按钮。

执行此操作后,重新启动Spotify,尝试重新登录,并检查错误是否再次出现。如果是这样,请继续执行其余说明。
重启你的电脑
重新启动计算机可以解决阻止Spotify登录的更广泛的系统相关问题。只需(Just)打开“开始”(Start)菜单,然后选择Power > Restart。

以管理员身份运行 Spotify
以管理员身份运行Spotify可以让程序更好地控制您的计算机,使其绕过导致 auth:74 错误的限制。要做到这一点:
- (Force-quit Spotify)通过任务管理器(Task Manager)强制退出 Spotify。
- 打开“开始”(Start)菜单并搜索Spotify。
- 选择以管理员身份运行。

检查您的防火墙设置
如果重新启动Spotify或以管理员身份启动它未能使 auth:74 错误消失,则需要将注意力转移到计算机的防火墙设置上。如果您使用第三方反恶意软件(use third-party anti-malware software),请检查其防火墙是否允许Spotify应用程序与互联网进行通信。
但是,如果您依靠内置的 Windows 防火墙(built-in Windows Firewall)来确保网络安全,则必须执行以下操作来检查Spotify是否可以不受限制地访问互联网:
- 按Windows + R“运行”(Run)框中键入 controlfirewall.cpl ,然后选择“确定”。
- 选择(Select Allow)“Windows Defender 防火墙”(Windows Defender Firewall)窗口左侧的“允许应用或功能通过Windows Defender 防火墙”(Windows Defender Firewall)。
- 选择更改设置按钮。
- 向下滚动并确保选中(Scroll)Spotify Music或 spotify.exe旁边的框。接下来,确保“私人”(Private)和“公共”(Public)列下的两个框均处于活动状态。
- (Select OK)如果您进行了任何修改,
请选择“确定” 。

检查您的代理设置
如果您在使用代理服务器的网络(network using a proxy server)上,Spotify应用程序默认会自动检测您的代理设置。但是,如果错误仍然存在,您应该使用相关代理信息手动设置应用程序。
或者,如果您位于没有代理的受信任网络上,则最好将Spotify配置为停止查找代理设置。
要管理Spotify(Spotify)中的代理设置:
- 尝试登录Spotify并在 auto:74 错误消息中
选择代理设置。(Proxy Settings)
- 如果您使用代理服务器,请从“自动检测”设置切换到HTTP、SOCKS4或SOCKS5选项,并填写您的代理详细信息。如果您不使用代理,请选择无代理。
- 选择重新启动应用程序。

禁用虚拟专用网络
(VPNs (or virtual private networks))当Spotify(Spotify)在登录期间尝试与其服务器通信时, VPN(或虚拟专用网络)可能会导致区域不匹配。如果您使用VPN,请尝试停用它。就是这样:
- 右键单击(Right-click)“开始”(Start)按钮并选择“设置”(Settings)。
- 选择网络(Select Network)和互联网,然后选择VPN。
- 关闭VPN配置旁边的开关。
检查主机文件
auth:74 错误代码也可能是由于系统的 Hosts 文件阻止 Spotify 与其服务器的连接而导致的。如果您更改了 Windows 中的 Hosts 文件(altered the Hosts file in Windows)以阻止 Spotify 广告,
通常会出现这种情况。
要检查并从 Hosts 文件中删除任何与 Spotify 相关的条目:
- 通过“开始”菜单启动记事本。
- (Open)在记事本中(Notepad)打开“文件”(File)菜单,然后选择“打开”(Open)。
- 导航到以下位置:
本地Disk C > Windows > System32 >驱动程序 > 等
- 将(Set)文档发现设置为“所有文件”,突出显示“主机”(Hosts)文件,然后选择“打开”(Open)。
- 扫描文件中提及Spotify和Fastly(Spotify的内容交付网络)的行并将其删除。示例包括:
- 0.0.0.0 weblb-wg.gslb.spotify.com
- 0.0.0.0 prod.b.ssl.us-eu.fastlylb.net

- Select File > Save如果您必须进行任何修改,
请选择“文件”>“另存为”。
- 将修改后的 Hosts 文件保存到桌面。
- 右键单击(Right-click)桌面上的Hosts文件,然后选择复制(Copy)。
- 通过文件资源管理器重新访问原始 Hosts 文件的位置File Explorer—Local Disk C > Windows > System32 >驱动程序 > 等。
- 右键单击(Right-click)空白区域并粘贴(Paste)。如果您没有看到覆盖提示,请右键单击原始 Hosts 文件并选择“删除”(Delete)。
清除 Spotify 缓存
Spotify缓存存储临时数据以帮助Spotify应用程序运行(Spotify)得(Spotify)更快。然而,随着时间的推移,它可能会填充冗余数据,从而导致各种错误。您无法通过应用程序界面清除Spotify缓存,因为您无法登录,因此您必须依赖文件资源管理器(File Explorer)。
如果您使用Spotify(Spotify)网站上的Spotify标准版本:
- 按Windows + R,键入 appdata,然后选择“确定”。
- 转到本地 > Spotify。
- 右键单击(Right-click)“存储”(Storage)文件夹并选择“删除”(Delete)。

如果您使用Spotify的Microsoft Store版本:
- 按Windows + R,键入 appdata,然后选择“确定”。
- 转到Local > Packages > SpotifyAB.SpotifyMusic_zpdnekdrzrea0 > LocalCache。
- 删除 Spotify 文件夹。
重置网络设置
重置 Windows 中的网络设置(Resetting the network settings in Windows)可以解决导致Spotify登录错误的网络相关问题。该过程会擦除保存的 Wi-Fi 网络和密码,包括VPN配置,因此您必须随后从头开始设置它们。
要将Windows(Windows)中的网络设置恢复为出厂默认设置,您必须:
- 右键单击(Right-click)“开始”(Start)按钮并选择“设置”(Settings)。
- 选择网络和互联网。
- 选择高级网络设置。
- 选择网络重置。
- 选择立即重置。

删除并重新安装 Spotify
重新安装Spotify可确保您的系统上有该应用程序的全新副本,从而清除持续存在的错误,但代价是您的音乐下载量会下降。
要删除当前安装的Spotify:
- 右键单击(Right-click)“开始”(Start)按钮,然后选择“应用程序(Apps)和Features/Installed应用程序”。
- 选择 Spotify Music(Select Spotify Music),然后选择卸载(Uninstall)。
- 选择卸载进行确认。

卸载后,通过 Spotify 网站(reinstall Spotify via the Spotify website)或Microsoft Store重新安装 Spotify ,并检查错误是否再次出现。
切换 Spotify 版本
在Spotify(Spotify)版本之间切换(从Microsoft Store应用程序到标准桌面应用程序,反之亦然)是另一个可能解决 auth:74 错误的修复方法。各个版本之间没有功能差异,因此请尝试一下并检查是否可以顺利登录。
登录并开始冷藏
Windows上的Spotify 的“错误代码:Auth 74 ”并非无法修复。通过重启系统、检查防火墙设置、甚至重新安装应用程序等多种方法,您可以正面解决这个问题并重新登录应用程序。如果上述修复均无效,请联系 Spotify 支持。(Reach out to Spotify Support)
How to Fix Spotify “Error Code: Auth 74” in Windows
Do you keеp running іnto “Error cоde: auth:74” while attempting to sign into the Spotіfy app on Windows? As the rest of thе error messаge ѕuggests, this happens when a firewall or іncorrect proxy setup is blocking you from signing in.
However, Spotify’s auth:74 error can also pop up for several other reasons, such as a corrupt application cache or broken network settings.

This guide will provide multiple solutions to help you eliminate the auth:74 error so you can log back into Spotify on your Windows PC without issues.
Force-Quit and Restart Spotify
It’s a good idea to kick things off by force-quitting the Spotify app on your Windows computer. Usually, that helps clear temporary issues impacting the login process. Just:
- Right-click the Start button and select Task Manager.
- Highlight Spotify among the list of processes.
- Select the End task button.

After you do that, relaunch Spotify, attempt to sign back in, and check if the error recurs. If it does, continue with the rest of the instructions.
Restart Your Computer
Rebooting your computer can resolve broader system-related issues preventing Spotify from signing you in. Just open the Start menu and select Power > Restart.

Run Spotify as Administrator
Running Spotify as an administrator gives the program more control over your computer, allowing it to bypass restrictions causing the auth:74 error. To do that:
- Force-quit Spotify via the Task Manager.
- Open the Start menu and search for Spotify.
- Select Run as administrator.

Check Your Firewall Settings
If restarting Spotify or launching it as an administrator failed to make the auth:74 error disappear, it’s time to shift your focus to your computer’s firewall settings. If you use third-party anti-malware software, check its firewall for a way to allow the Spotify app to communicate with the internet.
However, if you rely on the built-in Windows Firewall for network security, here’s what you must do to check if Spotify has unrestricted access to the internet:
- Press Windows + R, type control firewall.cpl into the Run box, and select OK.
- Select Allow an app or feature through Windows Defender Firewall on the left of the Windows Defender Firewall window.
- Select the Change settings button.
- Scroll down and make sure the box next to Spotify Music or spotify.exe is checked. Next, ensure both boxes under the Private and Public columns are active.
- Select OK if you made any modifications.

Check Your Proxy Settings
If you’re on a network using a proxy server, the Spotify app should automatically detect your proxy settings by default. However, if the error persists, you should manually set up the application with the relevant proxy information.
Alternatively, if you’re on a trusted network without a proxy, it’s a good idea to configure Spotify to stop looking for proxy settings.
To manage your proxy settings in Spotify:
- Attempt to sign into Spotify and select Proxy Settings within the auto:74 error message.
- If you use a proxy server, switch from Auto-detect settings to HTTP, SOCKS4, or SOCKS5 option and fill in your proxy details. If you don’t use a proxy, select No proxy.
- Select Restart App.

Disable Virtual Private Network
VPNs (or virtual private networks) can cause regional mismatches when Spotify attempts to communicate with its servers during login. If you use a VPN, try deactivating it. Here’s how:
- Right-click the Start button and select Settings.
- Select Network & internet and choose VPN.
- Turn off the switch next to your VPN configuration.
Check the Hosts File
The auth:74 error code could also result from your system’s Hosts file blocking Spotify’s connection to its servers. This is usually the case if you’ve altered the Hosts file in Windows to prevent Spotify ads.
To inspect and remove any Spotify-related entries from the Hosts file:
- Launch Notepad via the Start menu.
- Open the File menu in Notepad and select Open.
- Navigate to the following location:
Local Disk C > Windows > System32 > drivers > etc
- Set document discovery to All files, highlight the Hosts file, and select Open.
- Scan the file for lines that mention Spotify and Fastly (Spotify’s content delivery network) and delete them. Examples include:
- 0.0.0.0 weblb-wg.gslb.spotify.com
- 0.0.0.0 prod.b.ssl.us-eu.fastlylb.net

- Select File > Save As if you had to make any modifications.
- Save the modified Hosts file to your desktop.
- Right-click the Hosts file on your desktop and select Copy.
- Revisit the location of the original Hosts file via File Explorer—Local Disk C > Windows > System32 > drivers > etc.
- Right-click a vacant area and Paste. If you don’t see an overwrite prompt, right-click the original Hosts file and select Delete.
Clear the Spotify Cache
The Spotify cache stores temporary data to help the Spotify app run faster. However, over time, it can fill up with redundant data, leading to various errors. You can’t clear the Spotify cache via the application interface because you can’t log in, so you must rely on File Explorer instead.
If you use the standard version of Spotify from the Spotify website:
- Press Windows + R, type appdata, and select OK.
- Go to Local > Spotify.
- Right-click the Storage folder and choose Delete.

If you use the Microsoft Store version of Spotify:
- Press Windows + R, type appdata, and select OK.
- Go to Local > Packages > SpotifyAB.SpotifyMusic_zpdnekdrzrea0 > LocalCache.
- Delete the Spotify folder.
Reset Network Settings
Resetting the network settings in Windows can resolve network-related issues from causing login errors in Spotify. The process erases saved Wi-Fi networks and passwords, including VPN configurations, so you must set them from scratch afterward.
To restore the network settings in Windows to factory defaults, you must:
- Right-click the Start button and select Settings.
- Select Network & internet.
- Select Advanced network settings.
- Select Network reset.
- Select Reset now.

Remove and Reinstall Spotify
Reinstalling Spotify clears persistent errors by ensuring you have a fresh copy of the application on your system but at the cost of your music downloads.
To delete your current Spotify installation:
- Right-click the Start button and select Apps and Features/Installed apps.
- Select Spotify Music and choose Uninstall.
- Select Uninstall to confirm.

After uninstallation, reinstall Spotify via the Spotify website or the Microsoft Store and check if the error recurs.
Switch Spotify Versions
Switching between Spotify versions—from the Microsoft Store app to the standard desktop application or vice versa—is another fix that might resolve the auth:74 error. There are no feature differences between the versions, so try that out and check if you can sign in without trouble.
Log In and Start Chilling
Spotify’s “Error Code: Auth 74” on Windows is not unfixable. Through various methods like restarting your system, checking the firewall settings, or even reinstalling the application, you can tackle this issue head-on and log in to the app again. Reach out to Spotify Support if none of the fixes above work.