Tuesday, July 17, 2012

Windows firewall is missing in Services


That is mainly due to a virus/malware infection. To repair the registry entries do the following:

*** Taken from http://www.hageltech.com/blog/2012/02/07/base-filtering-engine-problems.html ***

First of all apply the firewall registry fix: 
http://dl.hageltech.com/blog/Firewall-Repair-Windows-7.reg

Then apply the BFE reg fix 
http://dl.hageltech.com/blog/BFE-Repair-Windows-7.reg

Fix permissions in the registry:

1.     Open Registry Editor (type regedit in Start Menu):
2.     Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BFE\Parameters\Policy
3.     Right-click and select Permissions
4.     Click Add, enter “Everyone” and click OK
5.     Click on Everyone in the list at the top, and check the “Allow Full Control” checkbox below.
6.     Click OK to dismiss this dialog.

**********************************************************

Copy and paste the following to a .bat file and run it as Administrator.

sc config MpsSvc start= auto
sc config KeyIso start= auto
sc config BFE start= auto
sc config FwcAgent start= auto
net stop MpsSvc
net start MpsSvc
net stop KeyIso
net start KeyIso
net start Wlansvc
net start dot3svc
net start EapHostnet
net stop BFE
net start BFE
net start PolicyAgent
net start MpsSvc
net start IKEEXT
net start DcaSvcnet
net stop FwcAgent
net start FwcAgent

If you get an Error 5 for MpsSvc do the following:

Fix permissions on the SharedAccess registry

1.     Open Registry Editor (type regedit in Start Menu):
2.     Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess
3.     Right-click and select Permissions
4.     Click Add, enter “Everyone” and click OK
5.     Click on Everyone in the list at the top, and check the “Allow Full Control” checkbox below.
6.     Click OK to dismiss this dialog.

And that’s it.

Monday, July 16, 2012

Add a Google search function to a web site

To add a Google search function to a web site add the following code:

*form method="get" action="http://www.google.com/search" target="_blank"**

*input type="text" name="q" size="31" maxlength="255" value="" /**

*input type="submit" value="Google Search" /**

*/form**

Replace * with < and ** with >

And that's it.