Skip to content

Commit bb9c1e5

Browse files
committed
Reworked transaction log steps
1 parent 746e5b3 commit bb9c1e5

1 file changed

Lines changed: 5 additions & 32 deletions

File tree

support/windows-server/installing-updates-features-roles/error-0x800719e4-windows-update-fails.md

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -65,37 +65,10 @@ Review the output for errors or corruption. If these commands make repairs, try
6565
> [!IMPORTANT]
6666
> Cleaning up transaction incorrectly logs can cause more issues to occur. Follow these steps carefully. This section contains two procedures. In most cases, you should use Option A. Use Option B only if the affected computer is a VM that can't start.
6767
68-
**Option A: Rename the TxR and Windows Update folders (safer method)**
68+
Follow these steps:
6969

70-
1. To stop the Windows Update service (WUauServ) and the Background Intelligent Transfer Service (BITS), run the following commands:
71-
72-
```console
73-
net stop wuauserv
74-
net stop bits
75-
```
76-
77-
1. To rename the TxR and Windows Update folders, run the following commands:
78-
79-
```console
80-
ren C:\Windows\System32\Config\TxR TxR_old
81-
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
82-
ren C:\Windows\System32\catroot2 catroot2.old
83-
ren C:\Windows\winsxs\pending.xml pending.old
84-
```
85-
86-
1. To restart the services, run the following commands:
87-
88-
```console
89-
net start wuauserv
90-
net start bits
91-
```
92-
93-
1. Restart the computer, and then try again to install the update.
94-
95-
**Option B: Use a rescue VM to remove files (use only on a VM that doesn't start)**
96-
97-
1. Create a rescue VM, and then move the operating system disk from the affected VM to the rescue VM.
98-
1. On the rescue VM, open an administrative command prompt window, and then change the working directory to \<drive>:\Windows\System32\Config\TxR.
70+
1. If the affected computer is a VM that can't start, create a rescue VM. Then move the operating system disk from the affected VM to the rescue VM.
71+
1. On the rescue VM or the affected physical computer, open an administrative command prompt window, and then change the working directory to \<drive>:\Windows\System32\Config\TxR.
9972
1. To remove the system and hidden attributes from the transaction log files, run the following command:
10073

10174
```console
@@ -109,9 +82,9 @@ Review the output for errors or corruption. If these commands make repairs, try
10982
del *.regtrans-ms
11083
```
11184

112-
1. Move the operating system disk back to the original VM.
85+
1. If you're using a rescue VM, move the operating system disk back to the original VM.
11386

114-
1. Start the VM, and then try again to install the update.
87+
1. Start the VM (or restart the physical computer), and then try again to install the update.
11588

11689
### Step 3: Check for ghosted network adapters or drivers
11790

0 commit comments

Comments
 (0)