2025年6月26日星期四

【解決】無網際網路,已受保護

1. 鼠標右鍵單擊開始菜單→ “Windows PowerShell (管理員)”→輸入:
netsh winsock reset(按下Enter鍵)
netsh int ip reset(按下Enter鍵)
ipconfig /release(按下Enter鍵)
ipconfig /renew(按下Enter鍵)
ipconfig /flushdns(按下Enter鍵)
ipconfig /registerdns(按下Enter鍵)

2. inetcpl.cpl(按下Enter鍵)(打開網際網絡內容界面)
在“網際網絡內容"界面點擊“高級/進階”,
點擊“還原高級/進階設置”,然後再點擊“重置”(Windows11中沒有“重置”按鈕,請忽略此步驟)。
然後在上述選擇框中找到:使用TLS1.0→→使用TLS1.1→→使用TLS1.2→→使用TLS1.3(實驗),這4個打上勾,點擊"確定"。

3. ncpa.cpl(按下Enter鍵)(將打開網絡連線介面)
在 “網絡連線”介面,鼠標右鍵單擊需要設置的網絡連線→“內容”,
在“網絡”屬性窗口中雙擊 “網際網絡通訊協定第4版(TCP/IPv4)”。
選擇“自動獲得IP地址”,
選擇“自動獲得DNS服務器地址”,
點擊“確定”。

執行完畢上述方案後,重啟設備。 

Ref:
wifi連線突然變成無網際網路.已受保護

 

2025年4月1日星期二

Turn on automatic logon in Windows

To use Registry Editor to turn on automatic logon, follow these steps:

  1. Select Start, and then select Run.

  2. In the Open box, type Regedit.exe, and then press Enter.

  3. Locate the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon subkey in the registry.

  4. On the Edit menu, select New, and then point to String Value.

  5. Type AutoAdminLogon, and then press Enter.

  6. Double-click AutoAdminLogon.

  7. In the Edit String dialog box, type 1 and then select OK.

  8. Double-click the DefaultUserName entry, type your user name, and then select OK.

  9. Double-click the DefaultPassword entry, type your password, and then select OK.

    If the DefaultPassword value doesn't exist, it must be added. To add the value, follow these steps:

    • On the Edit menu, select New, and then point to String Value.

    • Type DefaultPassword, and then press Enter.

    • Double-click DefaultPassword.

    • In the Edit String dialog, type your password and then select OK.

      Note:
      If no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), disabling the AutoAdminLogon feature.
  10. Exit Registry Editor.

  11. Restart your computer. You can now log on automatically.

Reference:
https://learn.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon