Win10 登入/鎖定畫面背景預設僅有幾張系統圖片,無法像桌面背景般直接在設定中更換。但可透過 PowerShell 腳本生成自訂 Windows.UI.Logon.pri 資源檔,並取得系統檔案擁有權進行替換,實現完全自訂登入背景。
my_logon.jpg。Login.ps1 (網路搜尋 "Win10 Logon background PowerShell script" 可獲取),放置桌面。Login.ps1 → 「編輯」 (用 PowerShell ISE 開啟)。$imgPath = "$env:USERPROFILE\Desktop\my_logon.jpg")。Login.ps1 → 「使用 PowerShell 執行」。Windows.UI.Logon_new.pri,重新命名為 Windows.UI.Logon.pri。C:\Windows\SystemResources\Windows.UI.Logon\Windows.UI.Logon **資料夾** → 選擇「管理員取得所有權」→ 等待 CMD 視窗閃過完成。Windows.UI.Logon.pri 重命名為 Windows.UI.Logon.pri.Backup (備份)。Windows.UI.Logon.pri 複製到此資料夾 (過程中所有權限提示均點「繼續」)。
注意事項:
完成後鎖定畫面 (Win+L) 即可欣賞專屬登入背景,隨時可替換新圖片重複上述流程。