text
stringlengths
0
834k
:: Version: 1.0 / Updated: 6/22/2016 / By: ZT
:: Description: This script resets the Windows Update Components.
:: See: https://support.microsoft.com/en-us/kb/971058
::
:: ##################################################
:: Stop the BITS service, the Windows Update service, and the Cryptographic service
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
:: Delete the qmgr*.dat files
Del ""%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat""
:: Rename the softare distribution folders backup copies
Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak
:: Reset the BITS service and the Windows Update service to the default security descriptor
:: Uncomment the following two lines for ""aggressive mode"".
:: sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
:: sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
:: Reregister the BITS files and the Windows Update files
cd /d %windir%\system32
regsvr32.exe atl.dll
regsvr32.exe urlmon.dll
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe scrrun.dll
regsvr32.exe msxml.dll
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
regsvr32.exe actxprxy.dll
regsvr32.exe softpub.dll
regsvr32.exe wintrust.dll
regsvr32.exe dssenh.dll
regsvr32.exe rsaenh.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe cryptdlg.dll
regsvr32.exe oleaut32.dll
regsvr32.exe ole32.dll
regsvr32.exe shell32.dll
regsvr32.exe initpki.dll
regsvr32.exe wuapi.dll
regsvr32.exe wuaueng.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe wups.dll
regsvr32.exe wups2.dll
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe qmgrprxy.dll
regsvr32.exe wucltux.dll
regsvr32.exe muweb.dll
regsvr32.exe wuwebv.dll
:: Reset Winsock and Proxy
netsh winsock reset
netsh winhttp reset proxy
:: Restart the BITS service, the Windows Update service, and the Cryptographic service
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc",31.7721518987,142,0.7342629482
357,d035c3bd9c7ade1e869d427ca925531d3613f397,828,bat,Batchfile,buildtools/install_openssl.bat,leet4tari/tari,8655cb7291c1ddc8a57658bc2df5c1f3880dea6d,['BSD-3-Clause'],,,,buildtools/install_openssl.bat,leet4tari/tari,8655cb7291c1ddc8a57658bc2df5c1f3880dea6d,['BSD-3-Clause'],16.0,2021-07-07T20:18:39.000Z,2021-07-09T06:36:47.000Z,buildtools/install_openssl.bat,tuberousBata166/tari,b865e27cf0f6951d018e05b2e278dfa197f467c4,['BSD-3-Clause'],,,,"echo off
rem Control variables
rem - OpenSSL v.1.1.1 latest {Note: `powershell` cannot `expand-archive` to `C:\Program Files (x86)`}
rem - Download `OpenSSL` at `https://slproweb.com/products/Win32OpenSSL.html`
set openssl_install_file=openssl-win64.exe
set openssl_repo=https://slproweb.com
set openssl_downloads=%openssl_repo%/products/Win32OpenSSL.html
echo Downloading and installing OpenSSL...
echo.
rem Install dependencies
call :INSTALL_OPEN_SSL
goto END:
:INSTALL_OPEN_SSL
rem Download install file
del /f ""%TEMP%\%openssl_install_file%"" 2>null
powershell ""Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process; .\get_openssl_win.ps1""
rem Install
""%TEMP%\%openssl_install_file%""
goto :eof
:END