How to change the default login background of Windows10?

  
Starting from Win10 Build 10159, Microsoft used Hero Wallpaper as the default login screen for the system, but the radish cabbage has its own love, and it is inevitable that there will be aesthetic fatigue when the number of times is seen. Unfortunately, Microsoft does not provide changes to the login background. Option. So how to replace the Windows 10 default login background? Foreign users Krutonium found a way, let me do it. First effect chart:

Change Win10 login background screen need to replace a system file named Windows.UI.Logon.pri, the login background is in this file. Modifying the Win10 login background screen takes two steps to complete:
This operating system environment: Win10 Build 10240
1. Generate Windows.UI.Logon.pri file
First download the PowerShell program file (click here to download).
Download and extract the Login.ps1 file, copy it to the desktop, and then prepare a picture you want to replace and put it on the desktop (support jpg, png format), assuming the picture is named img102.jpg (Note that the file suffix name is not displayed by default).
Right click on the Login.ps1 file and select “Edit”, the system will automatically open with PowerShell ISE, as shown below. Here we only need to modify the third line, and change the file name to the name of the image file that you have prepared. After editing, save it.


































  Logon_new.pri file, rename it to Windows.UI.Logon.pri.
2, replace the Windows.UI.Logon.pri file
system files we can not directly replace, you need to obtain the administrator rights of the relevant files, method:
First download and install Rubik's Cube (click here to download), open the Rubik's Cube In the “Set Master”, as shown below. In the right-click menu —— add right-click menu item, check "“ administrator takes ownership" and click “apply”.

Then open the C:WindowsSystemResources directory, right click on the Windows.UI.Logon folder and select “Administrator Takes Ownership”. Waiting for the CMD window to flash, this time we can operate on the files in Windows.UI.Logon.

Enter the Windows.UI.Logon directory, first add the .Backup suffix to the original file name for backup, and then copy the generated Windows.UI.Logon.pri file into it. If you are prompted for permission during this period, click "Continue". After the completion of the following figure:

At this time, the system can be locked or restarted to see the effect.
If you want to restore to the default, first delete your own generated Windows.UI.Logon.pri, and then restore the original file name to the default.
Future Win10 Optimizer and Rubik's Cube will add this feature to facilitate one-click replacement.

Copyright © Windows knowledge All Rights Reserved