Steps to fix Error Your PC isn't connected to the internet. (Error Code 0x800c0005) on Windows PC
Step 1) Open inetcpl.cpl
Restart your PC
Step 2) Run these commands in command prompt:
regsvr32 Softpub.dll
regsvr32 Wintrust.dll
regsvr32 Initpki.dll
Restart your PC
Step 3) Run these commands in command prompt
ipconfig/flushdns
ipconfig/release
ipconfig/renew
netsh winsock reset
Restart your PC
Step 3) Start the Windows Update Services
Step 4) If you are receiving this error in Windows 10 Mail App then Choose other account
Step 5) Switch to Google DNS on Windows
Type ncpa.cpl in run box
Internet Protocol Version 4 (TCP / IPv4)
select the General tab, select the toggle associated with Use the following DNS server address and replace Preference DNS server and Alternate DNS server with the following values:
8.8.8.8
8.8.4.4
Internet Protocol Version 6 (TCP / IPv6)
2001:4860:4860::8888
2001:4860:4860::8844
Restart your PC