Wednesday, January 16, 2013

How to remove McAfee and McAfee site advisor

McAfee anti virus is sort of a virus by itself on your computer in the way that it is so hard to remove it even if you have administrative privillages.
It is sad that McAfee took all their expertise and knowledge in virus stubbornness in uninstalling and implemented the same techniques to make uninstalling their own product so hard.

If you can't remove McAfee using Add/Remove in windows, just download this tool:

http://download.mcafee.com/products/licensed/cust_support_patches/MCPR.exe

close all your apps, run it, and then use Add/Remove to clean up any McAfee products on your system.

If it is still stuck there or site advisor is not removed after removing everything, try running the following command line:

C:\Program Files (x86)\McAfee\Common Framework>FrmInst.exe -forceuninstall

When above don't work like in cases of domain group policies blocking VSE (mcafee enterprise) manipulations. Use process hacker to kill the mcshield.exe process. A new one will re-generate right after killing it so you can simply kill all the mcafee (see by red shiled icon) processes, then it won't start.

http://processhacker.sourceforge.net/index.php 
 

Thursday, December 13, 2012

Installing godaddy certificates on tomcat

http://support.godaddy.com/help/article/5239/generating-a-csr-and-installing-an-ssl-certificate-in-tomcat-4x5x6x?pc_split_value=3

Friday, December 7, 2012

Firefox "Remember passwords for sites" is disabled

So you have the  "Remember passwords for sites" disabled in Firefox and you can't understand the reason ?
Well turns our you might be in automatic private browsing mode - not the mode when you select private browsing, but a hidden mode that is set when you choose:

tools -> options -> privacy -> history
Firefox will : "Never remember history"

And in this mode you can't save passwords !

Change the mode to "use custom settings for history" + uncheck whatever you need from the options to make it not remember anything anyway :)

No go back to Tools -> options -> security
Voila - it is enabled !

PS: being in the above mode also shows the "start private browsing" and "stop private browsing" in the tools menu as disabled - so performing the fix above will fix this too.


Tuesday, September 4, 2012

Another great reason to hate Apple

When  you register as a developer on the Apple site and just want to pay your 100$ for the privilage to write an Apple iphone application, you enter all your details and credit card and pass 6 screens with email verification and personal info, after all this ...

You get a screen that says your country (Israel) is not in their developer list and you will have to do everything again from scratch by hand on a PDF form that should be faxed to them !

All this after knowing in the first screen that you were from the country that is not supported... why bother take me through all the hassle of online form filling and validations.

This is from a company that is worth more than most oil companies !

Wednesday, May 30, 2012

Java application with hibernate stops working after a few hours of not being used

I have a tomcat - hibernate web application, but after a night of not being used - the application stops working and shows exceptions and I need to restart the app in tomcat.

The issue seems to be related to the fact the hibernate drops the connection after a configurable amount of time and doesn't know how to reconnect.

Th solution lays in C3P0 package.

See here:
http://www.databasesandlife.com/automatic-reconnect-from-hibernate-to-mysql/

Wednesday, April 11, 2012

Remote desk top to win2k3 console session (shadow mode - without disabling local user)

Typically after performing an mstsc remote desktop  to a windows 2003 server machine, you will want to open the terminal services manager and right click connect to the console session already running locally on the computer.

When you try to do that you will get a message:
"Can't remote control session(ID 0) control is disabled on that session"

To be able to connect to the console session of a windows 2003, and even share the screen with the local user without disconnecting them, you need to perform the following procedure:

http://support.microsoft.com/kb/278845 (see the "how to shadow the console session" part)

The fast answer is to perform this on the remote desktop session:
  1. Open the Group Policy snap-in (Gpedit.msc).
  2. In the left pane, under the Computer Configuration branch, expand the Administrative Templates branch.
  3. Expand the Windows Components branch.
  4. Click the Terminal Services folder.
  5. In the right pane, double-click Sets rules for remote control of Terminal Services user sessions.
  6. On the Setting tab, click Enabled.
  7. In the Options box, click Full Control without users' permission, and then click OK. 
And after that open a command prompt and type:
shadow 0