ژانویه 17، 2022

نحوه رفع خطای 0x80070002 ویندوز 10

Did you come across any errors while downloading Windows 10 update? This is a fairly common problem in Windows 7 also. Today, we will fix update error 0x80070002 on Windows 10 with the help of tried and tested methods. Error Code 0x80070002 Windows 7 & 10 occurs especially when the Windows update file goes missing from the database or the said file on the device mismatches with the database instructions. The following messages may appear on your screen if your face this error:

  • Windows could not search for new updates.
  • An error occurred while checking for new updates for your PC.
  • Error(s) found: code 80070002.
  • Windows Update encountered an unknown error. Error code 0x80070002

How To Fix Error 0x80070002 Windows 10

How To Fix Error 0x80070002 Windows 10

Here are the root causes for 0x80070002 error:

There are other error codes such as 80244001, 80244022, and a few more, indicating Windows update issue. The said code may vary, but the solutions to resolve it are almost identical. Follow any of the methods listed below to fix this issue.

روش 1: Windows Update Troubleshooter را اجرا کنید

Windows offers an in-built troubleshooter to rectify minor issues. It is advisable to run the Windows troubleshooter first to fix Windows 10 update error code 0x80070002 as follows:

1 مطبوعات کلیدهای Windows + I به طور همزمان راه اندازی شود تنظیمات.

2. در را کلیک کنید به روز رسانی و امنیت کاشی، همانطور که نشان داده شده است.

به روز رسانی و امنیت

3 برو به عیب یابی منو در قسمت سمت چپ

4 انتخاب کنید به روز رسانی ویندوز عیب یاب و کلیک کنید مشکلی را اجرا کنید دکمه نشان داده شده در زیر برجسته شده است.

click on Troubleshoot from the Update and Security settings and select Windows Update troubleshooter and click on Run the troubleshooter. How To Fix Error 0x80070002 Windows 10

5. منتظر بمانید تا عیب یاب مشکل را شناسایی و برطرف کند. پس از تکمیل فرآیند، شروع دوباره کامپیوتر شما.

همچنین خواندن: نحوه تنظیم آلارم در ویندوز 10

Method 2: Synchronize Date and Time Settings

You might wonder why we should synchronize time and date for this issue. But, many users said that this solution worked, and hence, it is advised to do the same.

1. بر روی کلیک راست کنید زمان و تاریخ from the right-end of the نوار وظیفه.

right click on time and date on the Taskbar

2. را انتخاب کنید تاریخ / زمان را تنظیم کنید گزینه از لیست.

Choose Adjust date or time. How To Fix Error 0x80070002 Windows 10

3. سوئیچ کنید On the toggle for the given options:

  • زمان را به صورت خودکار تنظیم کنید
  • منطقه زمانی را به صورت خودکار تنظیم کنید

Toggle on the options Set time automatically and Set time zone automatically.

Now, try updating Windows again.

همچنین خواندن: رفع خطای Windows Update 0x800704c7

Method 3: Modify Registry Editor

Follow the given instructions carefully since any changes made by modifying Registry Editor will be permanent.

توجه داشته باشید: Before processing the method, ensure that the device language is set to انگلیسی (ایالات متحده آمریکا).

1 مطبوعات ویندوز + R کلید به طور همزمان راه اندازی شود دویدن کادر محاوره ای.

2. نوع regedit را و ضربه کلید ورود برای باز کردن ویرایشگر رجیستری.

Type regedit and hit Enter. A Registry Editor Window opens. How To Fix Error 0x80070002 Windows 10

3. کلیک بله برای تأیید کنترل حساب کاربر سریع.

4. به مسیر زیر بروید مسیر.

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateOSUpgrade.

Navigate to the following path. How To Fix Error 0x80070002 Windows 10

توجه داشته باشید: اگر OSUpgrade folder is not present follow given steps. Else, you can skip to 5 گام برای ویرایش OSUpgrade کلیدی

4A. روی آن راست کلیک کنید به روز رسانی ویندوز. انتخاب کنید جدید > مقدار DWORD (32 بیتی) همانطور که در زیر نشان داده شده است.

Right click on WindowsUpdate and go to New and choose DWORD 32 bit value

4B. Type the values with نام ارزش: as AllowOSU ارتقاء و تنظیم داده های ارزش: as 1.

Create a new file type DWORD 32 bit Value with Name as AllowOSUpgrade and set Value data as 0x00000001.

4C. Choose هگزادسیمال زیر پایه و کلیک بر روی OK

Choose Hexadecimal under Base and click on OK. How To Fix Error 0x80070002 Windows 10

5. Or, Choose the OSUpgrade کلیدی

6. بر روی کلیک راست کنید منطقه خالی کلیک کنید و جدید > مقدار DWORD (32 بیت) همانطور که در زیر نشان داده شده است.

Right click on the empty area and click New. Choose DWORD 32 bit Value from the menu.

7. Right-click on the newly created ارزش و انتخاب کنید تغییر… گزینه، همانطور که نشان داده شده است.

Modify را انتخاب کنید.

8. Set the Value name as AllowOSU ارتقاء and Value data as 1.

Create a new file type DWORD 32 bit Value with Name as AllowOSUpgrade and set Value data as 0x00000001.

9. را انتخاب کنید هگزادسیمال in پایه کلیک کنید و OK.

Choose Hexadecimal under Base and click on OK. How To Fix Error 0x80070002 Windows 10

10. در نهایت ، شروع دوباره کامپیوتر شما.

روش 4: فایروال Windows Defender را غیرفعال کنید (توصیه نمی شود)

Windows Defender or third-party antivirus software running in the background may also cause this issue. Follow the below steps to fix to disable Windows Defender temporarily to fix Error Code 0x80070002 on Windows 7 & 10 :

1. Go to the تنظیمات > به روز رسانی و امنیت همانطور که در نشان داده شده است روش 1.

به روز رسانی و امنیت

2 انتخاب کنید امنیت ویندوز from the left pane and محافظت در برابر ویروس و تهدید در قسمت سمت راست

در قسمت Protection area گزینه Virus and kërcënim محافظت را انتخاب کنید

3. در امنیت ویندوز پنجره را کلیک کنید تنظیمات را مدیریت کنید زیر تنظیمات محافظت در برابر ویروس و تهدید

Click on Manage settings

4. سوئیچ کنید خاموش the toggle bar for محافظت از زمان واقعی.

Toggle off the bar under the Real-time protection. How To Fix Error 0x80070002 Windows 10

5. کلیک بله برای تایید.

همچنین خواندن: نحوه مسدود کردن یا رفع انسداد برنامه ها در فایروال ویندوز دیفندر

Method 5: Rollback Windows Update

Sometimes, Windows might fail to extract the updated files successfully. To fix update error 0x80070002 Windows 10, it is advised to roll back Windows update as follows:

1 هدایت به تنظیمات > به روز رسانی و امنیت as shown previously.

2 که در به روز رسانی ویندوز، روی کلیک کنید مشاهده تاریخچه بروزرسانی، همانطور که در زیر نشان داده شده است.

In the Windows Update, Click on the View update history.

3. با کلیک بر روی به روزرسانی ها را حذف کنید گزینه همانطور که نشان داده شده است.

Click on Uninstall updates

4. را انتخاب کنید آخرین بروز رسانی of Microsoft Windows (For example, KB5007289) و روی آن کلیک کنید عزل دکمه نشان داده شده برجسته شده است.

Choose the latest update of Microsoft Windows and click on Uninstall

5. سرانجام ، شروع دوباره your Windows PC.

Method 6: Run SFC and DISM Scans

Damaged system files may also affect the Windows Update on your Windows 7 or 10 desktop/laptop. Follow the below steps to detect, repair, and restore system files and solve the update error 0x80070002 Windows 10 using in-built repair tools:

1. ضربه بزنید کلید ویندوزنوع خط فرمان و کلیک بر روی اجرا به عنوان مدیر.

منوی Start را باز کنید، Command Prompt را تایپ کنید و روی Run as administrator در سمت راست کلیک کنید.

2. با کلیک بر روی بله در کنترل حساب کاربر سریع.

3. نوع sfc / scannow و مطبوعات کلید ورود برای اجرا بررسی فایل سیستم اسکن کردن

Type the below command line and hit Enter to execute it. How To Fix Error 0x80070002 Windows 10

توجه داشته باشید: یک اسکن سیستم آغاز می شود و چند دقیقه طول می کشد تا تمام شود. در همین حال، می‌توانید به انجام فعالیت‌های دیگر ادامه دهید، اما مراقب باشید که پنجره را به‌طور تصادفی نبندید.

پس از تکمیل اسکن، یکی از این پیام ها را نشان می دهد:

  • Windows Resource Protection هیچگونه نقض یکپارچگی پیدا نکرد.
  • Windows Resource Protection نتوانست عملیات درخواستی را انجام دهد.
  • Windows Resource Protection فایل های خراب را پیدا کرد و با موفقیت آنها را تعمیر کرد.
  • حفاظت از منابع ویندوز فایل های فاسد را شناسایی کرد اما نتوانست برخی از آنها را تعمیر کند.

4. هنگامی که اسکن به پایان رسید، شروع دوباره کامپیوتر شما.

5. دوباره راه اندازی کنید Command Prompt به عنوان مدیر و دستورات داده شده را یکی پس از دیگری اجرا کنید:

dism.exe /آنلاین /cleanup-image /scanhealth
dism.exe /آنلاین /cleanup-image /restorehealth
dism.exe /آنلاین /cleanup-image /startcomponentcleanup

توجه داشته باشید: برای اجرای صحیح دستورات DISM باید یک اتصال اینترنتی فعال داشته باشید.

دستور سلامت را در Command Prompt اسکن کنید

همچنین خواندن: نحوه رفع خطای Windows Update 80072ee2

Method 7: Modify Windows Update Service

Often, the update might fail and miss out on a few files. In such scenarios, you have to delete or rename these installation files to resolve Windows 10 update error 0x80070002.

توجه داشته باشید: The update service must be disabled from running in the background to modify these files.

Step I: Disable Windows Update Service

1 راه اندازی دویدن کادر محاوره ای با فشار دادن کلیدهای Windows + R.

2. نوع services.msc را و ضربه وارد راه انداختن خدمات پنجره.

Services.msc را در کادر دستور run تایپ کنید سپس enter را فشار دهید

3. Scroll down to locate the ویندوز بروزرسانی service. Right-click on it and choose پروژه های ما from the context menu, as depicted below.

Scroll through to locate and right click on Windows Update. Choose Properties from the menu

4. در برگه عمومی، را انتخاب کنید نوع راه اندازی: به اتوماتیک.

In the General tab, in Startup type drop down choose Automatic. How To Fix Error 0x80070002 Windows 10

5. با کلیک بر روی توقف اگر وضعیت سرویس is محل دویدن و پیاده روی .

Click on Stop if the Service status is Running.

6. کلیک درخواست برای ذخیره تغییرات و سپس OK خارج شدن.

Click Apply and then OK. How To Fix Error 0x80070002 Windows 10

Step II: Delete Software Distribution Folder

1 مطبوعات ویندوز + E کلید به طور همزمان باز شود جستجوگر فایل.

2 برو به C: ویندوز viz directory where Windows OS is installed.

Go to path where Windows is installed

3A. انتخاب SoftwareDistribution پوشه را فشار داده و از کلید برای حذف پوشه

توجه داشته باشید: If prompted to edit as an مدیر، سپس وارد کنید کلمه عبور و ضربه وارد.

Choose SoftwareDistribution folder and press Del key. How To Fix Error 0x80070002 Windows 10

3B. Alternatively, تغییر نام آن را با فشار دادن کلید F2 و ادامه دهید

Step III: Re-enable Windows Update Service

1. باز کن خدمات window as instructed in مرحله اول

2. بر روی آن کلیک راست کنید به روز رسانی ویندوز خدمات و انتخاب کنید آغاز همانطور که در زیر نشان داده شده است.

Right click on it and choose Start. How To Fix Error 0x80070002 Windows 10

3. راه اندازی مجدد your device and try updating Windows again.

همچنین خواندن: نحوه رفع مشکل دسترسی در ویندوز 10

Method 8: Reset Winsock Catalog

Winsock Catalog is an interface to communicate between Windows network software and network services. Resetting this interface would help in fixing update error code 0XC1900200 and 0x80070002 on Windows 7 & 10.

1 راه اندازی خط فرمان به عنوان مدیر as ealier.

منوی Start را باز کنید، Command Prompt را تایپ کنید و روی Run as administrator در سمت راست کلیک کنید.

2. نوع تنظیم netsh winsock و ضربه کلید ورود to execute to reset Windows Sockets Catalog.

تنظیم netsh winsock

3. راه اندازی مجدد کامپیوتر شما هنگامی که روند کامل است.

پرسش های متداول (پرسش و پاسخ)

Q1. Will updating my device driver help in resolving the update issue?

پاسخ آره, updating your device drivers could help in resolving the update error 0x80070002 issue in Windows 10. Read our guide on How to Update Device Drivers on Windows 10 to do so.

Q2. Will power cycling my PC resolve the update issue?

پاسخ بله، power cycling might resolve the update error code 0x80070002 in Windows 7 and 10. You can power cycle your computer through these simple steps:

  • خاموش the PC and the router.
  • قطع شدن the power source by unplugging it.
  • For a few minutes, press – hold the قدرت را فشار دهید.
  • دوباره متصل شوید منبع تغذیه
  • روشن کنید the computer after 5-6 minutes.

توصیه می شود:

We hope this guide helped you fix Windows 10 update کد خطا 0x80070002 effectively. Feel free to reach out to us with your queries and suggestions via comments section below.