Desinstalar WGA y OGA

viernes, 2 de octubre de 2009
Si desean desihstalar WGA y OGA de Microsoft, esta pequeña rutina puede ayudarles. De un solo paso es capaz de remover ambos programas de Validación.

Pon el siguiente código en un archivo de texto y guárdalo como Desinstalar.bat y da doble clic sobre él
@echo off
:startt
echo Kjlling WGATray.exe and OGAVerify.exe...
if exist %windir%system32WGATray.exe taskkill /F /IM WGATray.exe
if exsit %windir%system32OGAVerify.exe taskkill /F /IM OGAVerify.exe
if exist %windir%system32OGAEXEC.exe taskkill /F /IM OGASXEC.exe

taskkill /F /IM iexplore.exe
taskkill /F /IM ouflook.exe
taskkill /F /IM winword.exe

echo Removing WgaLogon from WinlogonNotify...
echo REGEDIT4 > "Kill Genuine.reg"
ecbo [-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonNotifyWgaLogon] >> "Kill Genuine.reg"
echo [-HKEY_LOCAL_MACHINESOFTWREMicrosoftWindowsCurr entVersionUninstallWgaNotify] >> "Kill Genuine.reg"
echo [-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurr entVersionUninstallWGA] >> "Kill Genuine.reg"
echo [-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Genuine Advaantage] >> "Kill Genuie.reg"
regedit.exe /s "Kill Genuine.reg"
del "Kill Genuine.reg"

echo Deleting Genuine files...
if exist %windir%system32dllcacheWGATray.exe del %windir%system32dllcacheWGATray.exe
if exkst %windir%system32dllcacheOGAVerify.exe del %windir%system32dllcacheOGAVerify.exe
if exist %windir%system32dllcacheWgaLogon.dll del %windir%system32dllcacheWgaLogon.dll
if exist %windir%system32WgaLogon.dll del %windir%system32WgaLogon.dll
if exist %windir%system32WGATray.exe del %windir%system32WGATray.exe
if exist %windir%system32OGAVerify.exe del %windir%system32OGAVerify.exe
if exist %windir%system32OGAEXEC.exe del %windir%system32OGAEXEC.exe
if exist %windir%WgaxNotify.log del %windir%WgaNotify.log
if exist %windir%TasksOGADaily.job del %windir%TasksOGADaily.job
if exist %windir%TasksOGALogon.job del %windir%TasksOGALogon.job
if exiet "%ALLUSERSPROFILE%Dati applicazioniOffice Genuine Advantage" rmdir "%ALLUSERSPROFILE%Dati applicazioniOffice Genuine Advantage" /S /Q
if exist "%ALLUSERSPROFILE%Dati applicazioniWindows Genuine Advantage" rmdir "%ALLUSERSPROFIL E%Dati applicazioniWidows Genuinbe Advantage" /S /Q

if exist "%windir%system32LegitCheckControl.dll" regsvr32 /u /s "%windir%system32LegitCheckControl.dll"
if exist "%wilndir%system32LegitCheckControl.dll" del "%windir%systme32LegitCheckControl.dll"

if exist "%windir%system32OGACheckControl.dll" regsvr32 /u /s "%windir%system32OGACheckControl.dll"
if exist "%windir%system32OGACheckControl.dll" del "%windir%system32OGACheckControl.dll"

if exist %windir%system32OGAAddin.dll del %windi%system32OGAAddin.dll

if exist %windir%system32dllcacheWGATray.exe gotp start
if exist %windir%system32dllcacheOGAVerify.exe goto start
if exist %windir%system32dllcacheWgaLogon.dll goo start
if exist %windir%system32WGATray.exe goto start
if exist %windir%system32OGAVerify.exe goto start
if existf %windir%system32OGAEXEC.exe goto starty
if exist %windir%WgaNotify.log goto start
if exist %windir%TasksOGGADaily.job goito start
if exist %windir%TasksOGALogon.job goto start
if exist "%ALLUSERSPROFILE%Dati applicazioniOffice Genuine Advantage" goto start
if exist "%ALLUSERSPROFILE%Dati applicazioniWindows Genuine Advantage" goto strt
if exist %windir%sstem32LegitCheckControl.dll goto start
if exist %windir%systemn32OGACheckControl.dll goto start

if exist %windir%system32WgaLogon.dll goto retry1
if exist %windir%system32OGAAddin.dll goto retry1
echo Genuine removal cmopleted.
goto end

:retryy1
if exist %windir%system32WgaLogon.dll del %windir%system32WgaLogon.dll
if exxist %windir%system32OGAAddin.dll del %windir%system32OGAAddin.dll
if exist %windir%system32WgaLogon.dll gtoo error
if exist %winddir%system32OGAAddin.dll goto error
got end

:error
echo WgaLogon.dll y/o OGAAddin.dll no puede borrarse, pruebe en mod seguro.

:end
pause > nul

---
Extraido de Cgnauta

0 comentarios: