Tuesday, March 24, 2009

Fix Generic Host

Upon searching about how to solve generic host problem and SVCHOST.EXE application error. I found another ways to fix the problem

Verify Windows Update Service Settings

* Click on Start, Run and type the following command in the open box and click OK

services.msc

* Find the Automatic Updates service and double-click on it.
* Click on the Log On Tab and make sure the "Local System Account" is selected as the logon account and the box for "allow service to interact with desktop" is UNCHECKED.
* Under the Hardware Profile section in the Log On Tab, make sure the service is enabled.
* On the General Tab, the Startup Type should be Automatic, if not, drop the box down and select Automatic.
* Under "Service Status" on the General tab, the service should be Started, click the Start button enable it.
* Repeat the steps above for the service "Background Intelligent Transfer Service (BITS)"


Re-Register Windows Update DLLs

* Click on Start, Run, and type CMD and click ok
* In the black command window type the following command and press Enter

REGSVR32 WUAPI.DLL

* Wait until you receive the "DllRegisterServer in WUAPI.DLL succeeded" message
and click OK
* Repeat the last two steps above for each of the following commands:

REGSVR32 WUAUENG.DLL
REGSVR32 WUAUENG1.DLL
REGSVR32 ATL.DLL
REGSVR32 WUCLTUI.DLL
REGSVR32 WUPS.DLL
REGSVR32 WUPS2.DLL
REGSVR32 WUWEB.DLL

Remove Corrupted Windows Update Files

* At the command prompt, type the following command and press Enter

net stop WuAuServ
* Still at the command prompt,

type cd %windir% and press Enter
* In the opened folder, type the following command and press Enter to rename the

SoftwareDistribution Folder

ren SoftwareDistribution SD_OLD
* Restart the Windows Update Service by typing the following at the command
prompt

net start WuAuServ

* type Exit and Press Enter to close the command prompt

Reboot Windows

* click on Start, Shut Down, and Restart to reboot Windows XP

Friday, March 6, 2009

Generic Host

For the past few months I encounter a problem in my PC a Microsoft debug saying "Generic Host Process for Win32 Services has encountered a problem and needs to close. We are sorry for the inconvenience."
And
"svchost.exe -- application error the instruction at "0x745f2780" reference memory at "0x00000000". the memory could not be 'read'"

This error has been hunting for long time until this time there's no clear explanation regarding this error, and there's no specific solution how to fix this problem.
some say's it was a virus but other say it is a debug of Windows XP SP2

Description

It happened that when you connected to the internet the Generic host or svchost.exe error appear then after this you will lose connection and you cant even browse to the other computer on the network, and sometimes you will notice that your windows theme will change to classic and immediately back to your original theme. And the other thing is that you will lose a sound or adiuo the reason is that theres no active mixer devices available. All you can do is restart you PC to back to normal.

Possible Solution

Solution 1:

  1. Hop to 'Run' and open 'Regedit'
  2. Navigate to:
    HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > Browser > Parameters
  3. Find the Key
    Name: IsDomainMaster
    and set
    Data: False
  4. Restart Your PC
Solution 2:
  1. Go to 'Run' and open 'cmd'
  2. Type 'netsh' in command console then press enter
  3. Then type 'winsock' and press enter and then type reset
  4. Restart Your PC

Solution 3:

Get the LspFix and follow the steps as directed

Solution 4:

Get the Microsoft Update Patch and apply it. Thanx to Nirmal for this.

Solution 5:

Close Port 445:

1. Start Registry Editor (Regedit.exe) by clicking Start menu, and then click the Run icon.
2. In the small box that Opens, type: regedit then click the OK button. The Registry Editor will now have opened.
3. Locate the following key in the registry:
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetBTParameters
In the right-hand side of the window find an option called TransportBindName.
Double click that value, and then delete the default value, thus giving it a blank value.

Close Port 135:

1. Then you must now navigate to the following registry key:
HKEY_LOCAL_MACHINESoftwareMicrosoftOLE
2. You will see there is a String Value called: EnableDCOM
Set the value to: N (it should currently be Y)
3. Close the Registry Editor. Shutdown and Restart your computer.

This particular solution will probably solve the problem but the issue here that you can no longer browse to the computer on the network for the reason that you are loosing visibility to LAN pc’s is because you are blocking port 445. Port 445 is used by Win2000/2003/XP for File and Print sharing. If you are not going to be mapping to other PC’s on a LAN then this fix will work fine. Otherwise you should really only block these ports from the internet.

Solution 6:

Try to install any firewall application. This action has not guarantee to solve the problem but somehow it will delayed error.

I hope one of these solutions will definitely help you rectify the erorr