When i want to save de host file with the specified line`s windows 7 can`t save it because of special system priveliges. How do i get this special system priveliges ? THNX in advance I`m using Windows 7 Ultimate X64 Office 2007 enterprise
Many ways to edit the host file with elevated privledges, I do the following 1. Run "command Prompt" as Adminstrator 2. move to host file location -> cd [drive]:\windows\system32\drivers\etc 3. execute notepad -> notepad hosts 4. make changes, save, done
this worked for me, it was mentioned earlier by another poster, thanks to whoever coded all this. (just make a text file and then insert the code below and then rename the text file to KILLOGA.BAT then run the killoga.bat file that you just made!! have fun) Code: @echo off :start echo Killing WGATray.exe and OGAVerify.exe... if exist %windir%\system32\WGATray.exe taskkill /F /IM WGATray.exe if exist %windir%\system32\OGAVerify.exe taskkill /F /IM OGAVerify.exe if exist %windir%\system32\OGAEXEC.exe taskkill /F /IM OGAEXEC.exe taskkill /F /IM iexplore.exe taskkill /F /IM outlook.exe taskkill /F /IM winword.exe echo Removing WgaLogon from Winlogon\Notify... echo REGEDIT4 > "Kill Genuine.reg" echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon] >> "Kill Genuine.reg" echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WgaNotify] >> "Kill Genuine.reg" echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WGA] >> "Kill Genuine.reg" echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Genuine Advantage] >> "Kill Genuine.reg" regedit.exe /s "Kill Genuine.reg" del "Kill Genuine.reg" echo Deleting Genuine files... if exist %windir%\system32\dllcache\WGATray.exe del %windir%\system32\dllcache\WGATray.exe if exist %windir%\system32\dllcache\OGAVerify.exe del %windir%\system32\dllcache\OGAVerify.exe if exist %windir%\system32\dllcache\WgaLogon.dll del %windir%\system32\dllcache\WgaLogon.dll if exist %windir%\system32\WgaLogon.dll del %windir%\system32\WgaLogon.dll if exist %windir%\system32\WGATray.exe del %windir%\system32\WGATray.exe if exist %windir%\system32\OGAVerify.exe del %windir%\system32\OGAVerify.exe if exist %windir%\system32\OGAEXEC.exe del %windir%\system32\OGAEXEC.exe if exist %windir%\WgaNotify.log del %windir%\WgaNotify.log if exist %windir%\Tasks\OGADaily.job del %windir%\Tasks\OGADaily.job if exist %windir%\Tasks\OGALogon.job del %windir%\Tasks\OGALogon.job if exist "%ALLUSERSPROFILE%\Windows Genuine Advantage" rmdir "%ALLUSERSPROFILE%\Windows Genuine Advantage" /S /Q if exist "%ALLUSERSPROFILE%\Office Genuine Advantage" rmdir "%ALLUSERSPROFILE%\Office Genuine Advantage" /S /Q if exist "%ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage" rmdir "%ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage" /S /Q if exist "%ALLUSERSPROFILE%\Application Data\Office Genuine Advantage" rmdir "%ALLUSERSPROFILE%\Application Data\Office Genuine Advantage" /S /Q if exist "%ALLUSERSPROFILE%\Dati applicazioni\Windows Genuine Advantage" rmdir "%ALLUSERSPROFILE%\Dati applicazioni\Windows Genuine Advantage" /S /Q if exist "%ALLUSERSPROFILE%\Dati applicazioni\Office Genuine Advantage" rmdir "%ALLUSERSPROFILE%\Dati applicazioni\Office Genuine Advantage" /S /Q if exist "%windir%\system32\LegitCheckControl.dll" regsvr32 /u /s "%windir%\system32\LegitCheckControl.dll" if exist "%windir%\system32\LegitCheckControl.dll" del "%windir%\system32\LegitCheckControl.dll" if exist "%windir%\system32\OGACheckControl.dll" regsvr32 /u /s "%windir%\system32\OGACheckControl.dll" if exist "%windir%\system32\OGACheckControl.dll" del "%windir%\system32\OGACheckControl.dll" if exist %windir%\system32\OGAAddin.dll del %windir%\system32\OGAAddin.dll if exist %windir%\system32\dllcache\WGATray.exe goto start if exist %windir%\system32\dllcache\OGAVerify.exe goto start if exist %windir%\system32\dllcache\WgaLogon.dll goto start if exist %windir%\system32\WGATray.exe goto start if exist %windir%\system32\OGAVerify.exe goto start if exist %windir%\system32\OGAEXEC.exe goto start if exist %windir%\WgaNotify.log goto start if exist %windir%\Tasks\OGADaily.job goto start if exist %windir%\Tasks\OGALogon.job goto start if exist "%ALLUSERSPROFILE%\Windows Genuine Advantage" goto start if exist "%ALLUSERSPROFILE%\Office Genuine Advantage" goto start if exist "%ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage" goto start if exist "%ALLUSERSPROFILE%\Application Data\Office Genuine Advantage" goto start if exist "%ALLUSERSPROFILE%\Dati applicazioni\Windows Genuine Advantage" goto start if exist "%ALLUSERSPROFILE%\Dati applicazioni\Office Genuine Advantage" goto start if exist %windir%\system32\LegitCheckControl.dll goto start if exist %windir%\system32\OGACheckControl.dll goto start if exist %windir%\system32\WgaLogon.dll goto retry1 if exist %windir%\system32\OGAAddin.dll goto retry1 echo Genuine removal completed. goto end :retry1 if exist %windir%\system32\WgaLogon.dll del %windir%\system32\WgaLogon.dll if exist %windir%\system32\OGAAddin.dll del %windir%\system32\OGAAddin.dll if exist %windir%\system32\WgaLogon.dll goto error if exist %windir%\system32\OGAAddin.dll goto error goto end :error echo WgaLogon.dll and/or OGAAddin.dll cannot be deleted, restart the pc and re-run this batch. :end pause > nul
I have one that I've been using forever that I activated with a key, but I make sure I block the application from connecting to the net. I've had some microsoft updates for a while now for it though and I'm wondering if there's a way I can download those updates for it without it getting zapped or something.
Thanks this worked great Just wanted to say thanks this worked after I started to loose funtionality just added all three loop backed addresses and ran the first command restarted and all was good. Thanks again.
hi i did same things which u said below to first part of add line & save , but i have error on wheni saved file, when i save hostfile it said u cant replace that file and said access is denied, also it said save as new file ..not in same file .. would you tell me how to save host file with that...where should add line bcoz there is already two line like below, just tell i add under that ::1 localhost file or between 127.0.0.1 local host line and ::1 localhost line....... # localhost name resolution is handled within DNS itself. #127.0.0.1 localhost #::1 localhost add this line's & save: Code: 127.0.0.1 localhost 127.0.0.1 mpa.one.microsoft.com #for XP/2003/2007 127.0.0.1 sls.microsoft.com #for Vista 127.0.0.1 genuine.microsoft.com Now do this, start, run, CMD: (if u see error after do this, ignore it) Code: rd/s/q "%ALLUSERSPROFILE%\application data\Office Genuine Advantage" rd/s/q "%ALLUSERSPROFILE%\Office Genuine Advantage" rd/s/q "%ALLUSERSPROFILE%\application data\Windows Genuine Advantage" rd/s/q "%ALLUSERSPROFILE%\Windows Genuine Advantage" reboot & done .![/QUOTE]