Gå till innehåll

Om inte Windows Update fungerar


arnada

Recommended Posts

Har gjort ett verktyg som fixar Windows Update när det inte fungerar...

Sedan kompillerat det till en EXE fil :)

@echo off
title Fix Windows Update
cls
goto menu

:menu
cls
echo [url=http://WWW.HACKERUNIT.SE]WWW.HACKERUNIT.SE[/url]
echo.
echo THIS APP WORKS WITH WIN7 and VISTA!
echo.
echo RUN AS ADMINISTRATOR
echo.
echo 1= Fix
echo 2= Help
echo 3= Exit
echo.
echo Enter here:
set /p input_choise=
if "%input_choise%"=="1" goto fix
if "%input_choise%"=="2" goto help
if "%input_choise%"=="3" exit
goto menu

:fix
cls

echo Stopping service...
pause
NET STOP "Windows Update"


pause
echo Makin temp dir
MKDIR %SYSTEMROOT%\temp_12345


pause
echo Making backup (choose all)
XCOPY  %SYSTEMROOT%\SoftwareDistribution\* %SYSTEMROOT%\temp_12345 /s /i


pause
echo deleting files
DEL %SYSTEMROOT%\SoftwareDistribution\* /S /Q
RMDIR %SYSTEMROOT%\SoftwareDistribution\ /S /Q


pause
echo Starting Service...
NET START "Windows Update"


pause
goto menu

:help
cls
echo Just in case backup is created in your Windows folder
echo Temp_12345
echo.
echo Use at your own risk!
echo.
pause
goto menu

Ladda hem:

http://www.hackerunit.se/filer/Fix.zip

Länk till kommentar
Dela på andra webbplatser

  • 9 månader senare...

Delta i dialogen

Du kan skriva svaret nu och registrera dig senare, Om du har ett konto, logga in nu för att svara på inlägget.

Gäst
Svara i detta ämne...

×   Du har klistrat in innehåll med formatering.   Ta bort formatering

  Only 75 emoji are allowed.

×   Din länk har automatiskt bäddats in.   Visa som länk istället

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Skapa nytt...