When trying to update Windows 10, you might see error 0x8007012f. Here are some steps you can try to resolve this error and install the latest updates.
1: Windows Update Error 0x8007012f - Windows Repair
Windows Repair can reset all the Windows Update settings saving you a lot of work.
Open a elevated command prompt and type in the following two lines, and press Enter after each:
net stop wuauserv net stop bits
Each command should take a few seconds, so wait until you see the messages that the services were stopped successfully. Leave the command prompt open for now.
Navigate to C:\Windows\SoftwareDistribution and open the folder. Press CTRL + A to select all files and folder, then press the Delete key. All the files in the SoftwareDistribution should be deleted. We don't want to delete the folder itself.
Rebooting will start the two services we stopped, but if you don't want to reboot, open up the command prompt again and type in the following two lines, and press Enter after each: