顯示包含「Windows 11」標籤的文章。顯示所有文章
顯示包含「Windows 11」標籤的文章。顯示所有文章

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

2024年12月6日星期五

修復 Samba (SMB) 的 0x80004005 和 0x80070035 錯誤

新 notebook 不能存取一直在用的 samba server,在網上查似乎也有人遇到相同問題,最後是加入以下兩個 dword 機碼解決;
 

用regedit 移至HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
新增dword “RequireSecuritySignature”並設定值為 0
新增dword “AllowInsecureGuestAuth”並設定值為 1


重啟後便能一如以往存取 samba 了。在這記下方便還未解決問題的人。

若還未能解決可以再參考之前這個帖 Windows 10 不能連接 Samba 共享裝置的解決方法