mirror of
https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool.git
synced 2026-08-18 15:33:35 +08:00
Update version 10.5.4.1
This commit is contained in:
435
README.md
435
README.md
@@ -13,13 +13,13 @@
|
|||||||
<img src="https://img.shields.io/badge/stability-frozen-blue.svg" alt="Status">
|
<img src="https://img.shields.io/badge/stability-frozen-blue.svg" alt="Status">
|
||||||
</a>
|
</a>
|
||||||
<a href="#changelog">
|
<a href="#changelog">
|
||||||
<img src="https://img.shields.io/badge/release-v10.5.3.7-blue.svg" alt="Version">
|
<img src="https://img.shields.io/badge/release-v10.5.4.1-blue.svg" alt="Version">
|
||||||
</a>
|
</a>
|
||||||
<a href="#changelog">
|
<a href="#changelog">
|
||||||
<img src="https://img.shields.io/badge/update-juny-yellowgreen.svg" alt="Update">
|
<img src="https://img.shields.io/badge/update-november-yellowgreen.svg" alt="Update">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc" target="_blank">
|
<a href="https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc" target="_blank">
|
||||||
<img src="https://img.shields.io/badge/downloads-%2B500K-green.svg" alt="License">
|
<img src="https://img.shields.io/badge/downloads-%2B570K-green.svg" alt="License">
|
||||||
</a>
|
</a>
|
||||||
<a href="#license">
|
<a href="#license">
|
||||||
<img src="https://img.shields.io/badge/license-MIT%20License-green.svg" alt="License">
|
<img src="https://img.shields.io/badge/license-MIT%20License-green.svg" alt="License">
|
||||||
@@ -34,250 +34,285 @@
|
|||||||
<br />
|
<br />
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet">
|
<a href="https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet">
|
||||||
<img src="https://github.com/ManuelGil/Reset-Windows-Update-Tool/blob/master/docs/images/Windows-Update.png?raw=true" alt="Lifecycle">
|
<img src="https://github.com/ManuelGil/Reset-Windows-Update-Tool/blob/master/docs/images/lifecycle.png?raw=true" alt="Lifecycle">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
This script reset the Windows Update Components.
|
This script reset the Windows Update Components.
|
||||||
|
|
||||||
<a name="started"></a>
|
- Wiki: [:us:] [:es:] [:it:] [:brazil:] [:fr:] [:de:]
|
||||||
|
|
||||||
|
- Issues: [Issue Tracker](https://github.com/ManuelGil/Reset-Windows-Update-Tool/issues)
|
||||||
|
|
||||||
## :traffic_light: Getting Started
|
## :traffic_light: Getting Started
|
||||||
|
|
||||||
This page will help you get started with Reset Windows Update Tool (Script).
|
This page will help you get started with Reset Windows Update Tool (Script).
|
||||||
|
|
||||||
<a name="requirements"></a>
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
* Microsoft Windows XP or later
|
- Microsoft Windows XP or later
|
||||||
|
|
||||||
<a name="installation"></a>
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
* This file don't require installation
|
- This file don't require installation
|
||||||
|
|
||||||
<a name="support"></a>
|
|
||||||
### Support
|
|
||||||
* Issues: [https://github.com/ManuelGil/Reset-Windows-Update-Tool/issues](https://github.com/ManuelGil/Reset-Windows-Update-Tool/issues)
|
|
||||||
* Wiki: [https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki](https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki)
|
|
||||||
* Docs: [http://docs.wureset.com](http://docs.wureset.com)
|
|
||||||
|
|
||||||
<a name="Donate"></a>
|
|
||||||
## :gift: Donate!
|
## :gift: Donate!
|
||||||
|
|
||||||
If you want to help me to continue this project, you might donate via PayPal.
|
[Click here for donation options!](https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki/Donate)
|
||||||
|
|
||||||
<a href="https://paypal.me/ManuelFGil"><img src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_donate_92x26.png" alt="Donate via PayPal"></a>
|
|
||||||
|
|
||||||
<a name="changelog"></a>
|
<a name="changelog"></a>
|
||||||
|
|
||||||
## :information_source: Changelog
|
## :information_source: Changelog
|
||||||
|
|
||||||
|
**10.5.4.1** (11/02/2020) 5 Years Celebration
|
||||||
|
|
||||||
|
- <table border="0" cellpadding="4">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Requirements:
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
Windows 8, Windows 8.1 and Windows 10
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Filename:
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
ResetWUEng.cmd
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
Changes:
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
Old Windows compatibility removed
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Add Reset Windows Store command
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
**10.5.3.7** (06/04/2019)
|
**10.5.3.7** (06/04/2019)
|
||||||
|
|
||||||
* <table border="0" cellpadding="4">
|
- <table border="0" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>
|
<td><strong>
|
||||||
Requirements:
|
Requirements:
|
||||||
</strong></td>
|
</strong></td>
|
||||||
<td>
|
<td>
|
||||||
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
||||||
and Windows 10
|
and Windows 10
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Filename:</strong>
|
<strong>Filename:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
||||||
ResetWUEng.cmd
|
ResetWUEng.cmd
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Changes:</strong>
|
<strong>Changes:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Add the standalone diagnostic tool <a href="https://go.microsoft.com/fwlink/?linkid=870142" target="_blank">SetupDiag</a>
|
Add the standalone diagnostic tool <a href="https://go.microsoft.com/fwlink/?linkid=870142" target="_blank">SetupDiag</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
**10.5.3.6** (06/07/2018) [+500K Downloads Celebration](https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc)
|
**10.5.3.6** (06/07/2018) [+500K Downloads Celebration](https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc)
|
||||||
|
|
||||||
* <table border="0" cellpadding="4">
|
- <table border="0" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>
|
<td><strong>
|
||||||
Requirements:
|
Requirements:
|
||||||
</strong></td>
|
</strong></td>
|
||||||
<td>
|
<td>
|
||||||
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
||||||
and Windows 10
|
and Windows 10
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Filename:</strong>
|
<strong>Filename:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
||||||
ResetWUEng.cmd
|
ResetWUEng.cmd
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Changes:</strong>
|
<strong>Changes:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Verification of services restore
|
Verification of services restore
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Force Group Policy Update.
|
Force Group Policy Update.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
**10.5.3.5** (12/22/2017)
|
**10.5.3.5** (12/22/2017)
|
||||||
|
|
||||||
* <table border="0" cellpadding="4">
|
- <table border="0" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>
|
<td><strong>
|
||||||
Requirements:
|
Requirements:
|
||||||
</strong></td>
|
</strong></td>
|
||||||
<td>
|
<td>
|
||||||
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
||||||
and Windows 10
|
and Windows 10
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Filename:</strong>
|
<strong>Filename:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
||||||
ResetWUEng.cmd
|
ResetWUEng.cmd
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Changes:</strong>
|
<strong>Changes:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Link to official website
|
Link to official website
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
**10.5.3.4** (11/27/2017)
|
**10.5.3.4** (11/27/2017)
|
||||||
|
|
||||||
* <table border="0" cellpadding="4">
|
- <table border="0" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>
|
<td><strong>
|
||||||
Requirements:
|
Requirements:
|
||||||
</strong></td>
|
</strong></td>
|
||||||
<td>
|
<td>
|
||||||
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
||||||
and Windows 10
|
and Windows 10
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Filename:</strong>
|
<strong>Filename:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
||||||
ResetWUEng.cmd
|
ResetWUEng.cmd
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Changes:</strong>
|
<strong>Changes:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Correction of texts in the menus
|
Correction of texts in the menus
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Verification of errors in the hard disk
|
Verification of errors in the hard disk
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Checking when renaming the 'SoftwareDistribution' folder
|
Checking when renaming the 'SoftwareDistribution' folder
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
**10.5.3.3** (07/23/2017)
|
**10.5.3.3** (07/23/2017)
|
||||||
|
|
||||||
* <table border="0" cellpadding="4">
|
- <table border="0" cellpadding="4">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>
|
<td><strong>
|
||||||
Requirements:
|
Requirements:
|
||||||
</strong></td>
|
</strong></td>
|
||||||
<td>
|
<td>
|
||||||
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
|
||||||
and Windows 10
|
and Windows 10
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Filename:</strong>
|
<strong>Filename:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
|
||||||
ResetWUEng.cmd
|
ResetWUEng.cmd
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<strong>Changes:</strong>
|
<strong>Changes:</strong>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
Compatibility with all versions of Windows 10
|
Compatibility with all versions of Windows 10
|
||||||
(includes technical preview)
|
(includes technical preview)
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a name="contributing"></a>
|
|
||||||
## :octocat: Contributing [](https://github.com/ManuelGil/Reset-Windows-Update-Tool/issues)
|
## :octocat: Contributing [](https://github.com/ManuelGil/Reset-Windows-Update-Tool/issues)
|
||||||
|
|
||||||
Please read [CONTRIBUTING.md](https://github.com/ManuelGil/Reset-Windows-Update-Tool/blob/master/CONTRIBUTING.md)
|
Please read [CONTRIBUTING.md](https://github.com/ManuelGil/Reset-Windows-Update-Tool/blob/master/CONTRIBUTING.md)
|
||||||
for details on our code of conduct.
|
for details on our code of conduct.
|
||||||
|
|
||||||
<a name="authors"></a>
|
|
||||||
## :eyeglasses: Authors
|
## :eyeglasses: Authors
|
||||||
|
|
||||||
* **Manuel Gil** - *Owner* - [ManuelGil](https://github.com/ManuelGil)
|
- **Manuel Gil** - _Owner_ - [ManuelGil](https://github.com/ManuelGil)
|
||||||
|
|
||||||
See also the list of [contributors](https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool/contributors)
|
See also the list of [contributors](https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool/contributors)
|
||||||
who participated in this project.
|
who participated in this project.
|
||||||
|
|
||||||
<a name="license"></a>
|
<a name="license"></a>
|
||||||
|
|
||||||
## :memo: License
|
## :memo: License
|
||||||
|
|
||||||
Reset Windows Update Tool (Script) is licensed under the MIT License - see the
|
Reset Windows Update Tool (Script) is licensed under the MIT License - see the
|
||||||
[MIT License](https://opensource.org/licenses/MIT) for details.
|
[MIT License](https://opensource.org/licenses/MIT) for details.
|
||||||
|
|
||||||
|
[:us:]: https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki
|
||||||
|
[:es:]: https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki/Home-%5Bes%5D
|
||||||
|
[:it:]: https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki/Home-%5Bit%5D
|
||||||
|
[:brazil:]: https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki/Home-%5Bbr%5D
|
||||||
|
[:fr:]: https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki/Home-%5Bfr%5D
|
||||||
|
[:de:]: https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki/Home-%5Bde%5D
|
||||||
|
|||||||
116
ResetWUEng.cmd
116
ResetWUEng.cmd
@@ -2,8 +2,7 @@
|
|||||||
:: NAME: Reset Windows Update Tool.
|
:: NAME: Reset Windows Update Tool.
|
||||||
:: DESCRIPTION: This script reset the Windows Update Components.
|
:: DESCRIPTION: This script reset the Windows Update Components.
|
||||||
:: AUTHOR: Manuel Gil.
|
:: AUTHOR: Manuel Gil.
|
||||||
:: VERSION: 10.5.3.7
|
:: VERSION: 10.5.4.1 - Date: 11/02/2020
|
||||||
:: WEBSITE: http://wureset.com
|
|
||||||
:: ==================================================================================
|
:: ==================================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -13,7 +12,7 @@
|
|||||||
:mode
|
:mode
|
||||||
echo off
|
echo off
|
||||||
title Reset Windows Update Tool.
|
title Reset Windows Update Tool.
|
||||||
mode con cols=80 lines=34
|
mode con cols=90 lines=36
|
||||||
color 17
|
color 17
|
||||||
cls
|
cls
|
||||||
|
|
||||||
@@ -55,58 +54,43 @@ goto :eof
|
|||||||
:: void getValues();
|
:: void getValues();
|
||||||
:: /************************************************************************************/
|
:: /************************************************************************************/
|
||||||
:getValues
|
:getValues
|
||||||
for /f "tokens=4-5 delims=[] " %%a in ('ver') do set version=%%a%%b
|
for /f "tokens=4 delims=[] " %%a in ('ver') do set version=%%a
|
||||||
for %%a in (%version%) do set version=%%a
|
|
||||||
|
|
||||||
if %version% EQU 5.1.2600 (
|
if %version% EQU 6.0.6000 (
|
||||||
:: Name: "Microsoft Windows XP"
|
|
||||||
set name=Microsoft Windows XP
|
|
||||||
:: Family: Windows 5
|
|
||||||
set family=5
|
|
||||||
:: Compatibility: Yes
|
|
||||||
set allow=Yes
|
|
||||||
) else if %version% EQU 5.2.3790 (
|
|
||||||
:: Name: "Microsoft Windows XP Professional x64 Edition"
|
|
||||||
set name=Microsoft Windows XP Professional x64 Edition
|
|
||||||
:: Family: Windows 5
|
|
||||||
set family=5
|
|
||||||
:: Compatibility: Yes
|
|
||||||
set allow=Yes
|
|
||||||
) else if %version% EQU 6.0.6000 (
|
|
||||||
:: Name: "Microsoft Windows Vista"
|
:: Name: "Microsoft Windows Vista"
|
||||||
set name=Microsoft Windows Vista
|
set name=Microsoft Windows Vista
|
||||||
:: Family: Windows 6
|
:: Family: Windows 6
|
||||||
set family=6
|
set family=6
|
||||||
:: Compatibility: Yes
|
:: Compatibility: No
|
||||||
set allow=Yes
|
set allow=No
|
||||||
) else if %version% EQU 6.0.6001 (
|
) else if %version% EQU 6.0.6001 (
|
||||||
:: Name: "Microsoft Windows Vista SP1"
|
:: Name: "Microsoft Windows Vista SP1"
|
||||||
set name=Microsoft Windows Vista SP1
|
set name=Microsoft Windows Vista SP1
|
||||||
:: Family: Windows 6
|
:: Family: Windows 6
|
||||||
set family=6
|
set family=6
|
||||||
:: Compatibility: Yes
|
:: Compatibility: No
|
||||||
set allow=Yes
|
set allow=No
|
||||||
) else if %version% EQU 6.0.6002 (
|
) else if %version% EQU 6.0.6002 (
|
||||||
:: Name: "Microsoft Windows Vista SP2"
|
:: Name: "Microsoft Windows Vista SP2"
|
||||||
set name=Microsoft Windows Vista SP2
|
set name=Microsoft Windows Vista SP2
|
||||||
:: Family: Windows 6
|
:: Family: Windows 6
|
||||||
set family=6
|
set family=6
|
||||||
:: Compatibility: Yes
|
:: Compatibility: No
|
||||||
set allow=Yes
|
set allow=No
|
||||||
) else if %version% EQU 6.1.7600 (
|
) else if %version% EQU 6.1.7600 (
|
||||||
:: Name: "Microsoft Windows 7"
|
:: Name: "Microsoft Windows 7"
|
||||||
set name=Microsoft Windows 7
|
set name=Microsoft Windows 7
|
||||||
:: Family: Windows 7
|
:: Family: Windows 7
|
||||||
set family=7
|
set family=7
|
||||||
:: Compatibility: Yes
|
:: Compatibility: No
|
||||||
set allow=Yes
|
set allow=No
|
||||||
) else if %version% EQU 6.1.7601 (
|
) else if %version% EQU 6.1.7601 (
|
||||||
:: Name: "Microsoft Windows 7 SP1"
|
:: Name: "Microsoft Windows 7 SP1"
|
||||||
set name=Microsoft Windows 7 SP1
|
set name=Microsoft Windows 7 SP1
|
||||||
:: Family: Windows 7
|
:: Family: Windows 7
|
||||||
set family=7
|
set family=7
|
||||||
:: Compatibility: Yes
|
:: Compatibility: No
|
||||||
set allow=Yes
|
set allow=No
|
||||||
) else if %version% EQU 6.2.9200 (
|
) else if %version% EQU 6.2.9200 (
|
||||||
:: Name: "Microsoft Windows 8"
|
:: Name: "Microsoft Windows 8"
|
||||||
set name=Microsoft Windows 8
|
set name=Microsoft Windows 8
|
||||||
@@ -155,7 +139,7 @@ goto :eof
|
|||||||
echo. Can this using a business or test version.
|
echo. Can this using a business or test version.
|
||||||
echo.
|
echo.
|
||||||
echo. if not, verify that your system has the correct security fix.
|
echo. if not, verify that your system has the correct security fix.
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
echo.Press any key to continue . . .
|
echo.Press any key to continue . . .
|
||||||
@@ -240,11 +224,12 @@ goto :eof
|
|||||||
echo. 12. Repairs/Resets Winsock settings.
|
echo. 12. Repairs/Resets Winsock settings.
|
||||||
echo. 13. Forces Group Policy Update.
|
echo. 13. Forces Group Policy Update.
|
||||||
echo. 14. Searches Windows updates.
|
echo. 14. Searches Windows updates.
|
||||||
echo. 15. Runs SetupDiag (Require .NET Framework 4.6).
|
echo. 15. Resets the Windows Store.
|
||||||
echo. 16. Explores other local solutions.
|
echo. 16. Finds the Windows Product Key.
|
||||||
echo. 17. Explores other online solutions.
|
echo. 17. Explores other local solutions.
|
||||||
echo. 18. Downloads the Diagnostic Tools.
|
echo. 18. Explores other online solutions.
|
||||||
echo. 19. Restarts your PC.
|
echo. 19. Downloads the Diagnostic Tools.
|
||||||
|
echo. 20. Restarts your PC.
|
||||||
echo.
|
echo.
|
||||||
echo. ?. Help. 0. Close.
|
echo. ?. Help. 0. Close.
|
||||||
echo.
|
echo.
|
||||||
@@ -282,14 +267,16 @@ goto :eof
|
|||||||
) else if %option% EQU 14 (
|
) else if %option% EQU 14 (
|
||||||
call :updates
|
call :updates
|
||||||
) else if %option% EQU 15 (
|
) else if %option% EQU 15 (
|
||||||
call :setupDiag
|
call :wsreset
|
||||||
) else if %option% EQU 16 (
|
) else if %option% EQU 16 (
|
||||||
call :local
|
call :productKey
|
||||||
) else if %option% EQU 17 (
|
) else if %option% EQU 17 (
|
||||||
call :online
|
call :local
|
||||||
) else if %option% EQU 18 (
|
) else if %option% EQU 18 (
|
||||||
call :diagnostic
|
call :online
|
||||||
) else if %option% EQU 19 (
|
) else if %option% EQU 19 (
|
||||||
|
call :diagnostic
|
||||||
|
) else if %option% EQU 20 (
|
||||||
call :restart
|
call :restart
|
||||||
) else if %option% EQU ? (
|
) else if %option% EQU ? (
|
||||||
call :help
|
call :help
|
||||||
@@ -300,9 +287,9 @@ goto :eof
|
|||||||
echo.Press any key to continue . . .
|
echo.Press any key to continue . . .
|
||||||
pause>nul
|
pause>nul
|
||||||
)
|
)
|
||||||
|
|
||||||
goto menu
|
goto menu
|
||||||
goto :eof
|
goto :eof
|
||||||
:: /*************************************************************************************/
|
:: /*************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
@@ -448,10 +435,10 @@ goto :eof
|
|||||||
:: ----- Reset the BITS service and the Windows Update service to the default security descriptor -----
|
:: ----- Reset the BITS service and the Windows Update service to the default security descriptor -----
|
||||||
call :print Reset the BITS service and the Windows Update service to the default security descriptor.
|
call :print Reset the BITS service and the Windows Update service to the default security descriptor.
|
||||||
|
|
||||||
sc.exe sdset wuauserv D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
|
sc.exe sdset wuauserv D:(A;CI;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOSDRCWDWO;;;WD)
|
||||||
sc.exe sdset bits D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
|
sc.exe sdset bits D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;SAFA;WDWO;;;BA)
|
||||||
sc.exe sdset cryptsvc D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
|
sc.exe sdset cryptsvc D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPWPDTLOCRRC;;;SO)(A;;CCLCSWLORC;;;AC)(A;;CCLCSWLORC;;;S-1-15-3-1024-3203351429-2120443784-2872670797-1918958302-2829055647-4275794519-765664414-2751773334)
|
||||||
sc.exe sdset trustedinstaller D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
|
sc.exe sdset trustedinstaller D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRRC;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;SAFA;WDWO;;;BA)
|
||||||
|
|
||||||
:: ----- Reregister the BITS files and the Windows Update files -----
|
:: ----- Reregister the BITS files and the Windows Update files -----
|
||||||
call :print Reregister the BITS files and the Windows Update files.
|
call :print Reregister the BITS files and the Windows Update files.
|
||||||
@@ -796,7 +783,7 @@ goto :eof
|
|||||||
reg delete "HKLM\COMPONENTS\NextQueueEntryIndex" /f
|
reg delete "HKLM\COMPONENTS\NextQueueEntryIndex" /f
|
||||||
reg delete "HKLM\COMPONENTS\AdvancedInstallersNeedResolving" /f
|
reg delete "HKLM\COMPONENTS\AdvancedInstallersNeedResolving" /f
|
||||||
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
|
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
|
||||||
|
|
||||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v ResetClient /f
|
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v ResetClient /f
|
||||||
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v ResetDataStoreReason /f
|
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v ResetDataStoreReason /f
|
||||||
|
|
||||||
@@ -967,25 +954,24 @@ goto :eof
|
|||||||
:: /*************************************************************************************/
|
:: /*************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
:: Run SetupDiag.
|
:: Reset the Windows Store.
|
||||||
:: void setupDiag();
|
:: void wsreset();
|
||||||
:: /*************************************************************************************/
|
:: /*************************************************************************************/
|
||||||
:setupDiag
|
:wsreset
|
||||||
for /f "tokens=1-5 delims=/., " %%a in ("%date%") do (
|
call :print Resetting the Windows Store.
|
||||||
set now=%%a%%b%%c%%d%time:~0,2%%time:~3,2%
|
|
||||||
)
|
|
||||||
|
|
||||||
if not exist "%USERPROFILE%\Desktop\Backup\Logs\%now%\" (
|
wsreset
|
||||||
mkdir "%USERPROFILE%\Desktop\Backup\Logs\%now%\"
|
goto :eof
|
||||||
)
|
:: /*************************************************************************************/
|
||||||
|
|
||||||
call :print Running the standalone diagnostic tool SetupDiag
|
|
||||||
|
|
||||||
if %family% EQU 10 (
|
:: Get the Windows Product Key.
|
||||||
call "%~dp0SetupDiag.exe" /Output:"%USERPROFILE%\Desktop\Backup\Logs\%now%\WindowsUpdate.log" /Format:log
|
:: void productKey();
|
||||||
) else (
|
:: /*************************************************************************************/
|
||||||
echo.Sorry, this option is not available on this Operative System.
|
:productKey
|
||||||
)
|
call :print Getting the Windows Product Key.
|
||||||
|
|
||||||
|
wmic path SoftwareLicensingService get OA3xOriginalProductKey
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo.Press any key to continue . . .
|
echo.Press any key to continue . . .
|
||||||
@@ -1049,7 +1035,7 @@ goto :eof
|
|||||||
:: void help();
|
:: void help();
|
||||||
:: /*************************************************************************************/
|
:: /*************************************************************************************/
|
||||||
:help
|
:help
|
||||||
start http://docs.wureset.com/
|
start https://github.com/ManuelGil/Reset-Windows-Update-Tool/wiki
|
||||||
goto :eof
|
goto :eof
|
||||||
:: /*************************************************************************************/
|
:: /*************************************************************************************/
|
||||||
|
|
||||||
@@ -1060,7 +1046,7 @@ goto :eof
|
|||||||
:diagnostic
|
:diagnostic
|
||||||
call :print Download and run diagnostics for your system.
|
call :print Download and run diagnostics for your system.
|
||||||
|
|
||||||
echo. 1. Windows Update on Windows 7, Windows 8 and Windows 8.1.
|
echo. 1. Windows Update on Windows 8 and Windows 8.1.
|
||||||
echo. 2. Windows Update on Windows 10.
|
echo. 2. Windows Update on Windows 10.
|
||||||
echo. 3. Apps on Windows 8.1.
|
echo. 3. Apps on Windows 8.1.
|
||||||
echo. 4. Apps on Windows 10.
|
echo. 4. Apps on Windows 10.
|
||||||
@@ -1087,7 +1073,7 @@ goto :eof
|
|||||||
echo.Press any key to continue . . .
|
echo.Press any key to continue . . .
|
||||||
pause>nul
|
pause>nul
|
||||||
)
|
)
|
||||||
|
|
||||||
goto diagnostic
|
goto diagnostic
|
||||||
goto :eof
|
goto :eof
|
||||||
:: /*************************************************************************************/
|
:: /*************************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user