The proposed solution to correcting error code #80246007...
1. Open the Registry editor. To do so, Click Start, type regedit in the Start Search box, and then click regedit.exe in the Programs list.In the User Account Control dialog box, click Continue.
2. Navigate to the following registry keysHKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
3. The correct and default value forAppData should be %USERPROFILE%\AppData\Roaming. To change the value, double click on Appdata, then change the string in the value data field.
4. Close the Registry editor, and try again Windows Update again. (A reboot shouldnot be required.)
5. If the problem persists, repeat the steps 2 through 4 with the following registry keys:
· HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
· HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
I've tried the solution above and when I drill down from HKLM\software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders the "AppData" key is called "Common AppData" and it's value is "%ProgramData%".
Should I still change it to "%UserProfile%\AppData\Roaming"?
This is on a 64-Bit Server 2008 box.
Before change the registry, please right click on it to export it as a backup. If any unexpected issue is encountere3d, you may import the backup registry.
Generally, we can perform the following troubleshooting suggestions to troubleshoot the Windows Update issue:
Suggestion 1: Temporarily disable firewall and antivirus program to test the issue.
Suggestion 2: Disable Windows Update service, rename the folder %windir%\SoftwareDistribution and restart the Windows Update service.
Suggestion 3: Reset Windows Update components to check the result. For the detailed steps, please refer to the following Microsoft KB article:
How do I reset Windows Update components?
Suggestion 4: Run the System Update Readiness tool (Checksur.exe) to scan and repair the system files. If some files cannot be repaired automatically, you may replace them manually. For more information, please refer to the following Microsoft KB and TechNet articles:
Description of the System Update Readiness Tool for Windows Vista, for Windows Server 2008, for Windows 7, and for Windows Server 2008 R2
Advanced guidelines for diagnosing and fixing servicing corruption
Suggestion 5: Run SFC /Scannow to scan and repair the system files. If some corrupted files cannot be repaired, you may manually replace them. For more information, please read the following Microsoft KB article:
How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7
Suggestion 6: Perform an In-Place upgrade to repair the whole system.
TechNet Community Support
- Marked as answer by Arthur_LiMicrosoft contingent staff, Moderator Monday, January 30, 2012 8:51 AM