Unable to connect to Google Earth from PC-GIS X

“For the past several weeks we have not been able to load google earth imagery in the software on the pc. It says failure to connect. Has something changed?”

Sometimes an automatic Windows update may change the registry on your PC. When Google Earth is not registered properly, our PC software will not be able to connect to it.

Please log into your PC as the administrator.
Click on the Windows icon and enter “cmd” in the Search box.
Run cmd.exe to open a Windows command prompt (a black screen).

At the command prompt type the path for the folder in which Google Earth is installed. For example, type

“c:\Program Files (x86)\Google\Google Earth\client\googleearth.exe” /RegServer

then press the Enter key on your keyboard.

If your googleearth.exe is installed in a different folder, please enter that full path on the PC in the above line. Please do no omit any quotation marks. There is a space before /RegServer in the above line.

A user received an error message about not having administrative privilege to run this command line. If you get this error message, you could put the above line into a text file and save the text file as RegisterGoogle.cmd then right-click on this file and choose “Run ad administrator”.

Now run Google Earth then try using PC-GIS X to Launch Google Earth. If successful, zoom into the area of interest then capture the image.

User’s response: “That fixed it! I greatly appreciate your assistance.”

4/28/17 update:

This issue is due to conflicts between Windows and Google Earth/Google Earth Pro. Sometimes a silent update of either software causes the required registry to be messed up.  As Google Earth Pro doesn’t register itself to registry, you will need to first install (right-click and select “Run as Administrator) Google Earth then install Google Earth Pro

The following You Tube video shows how to run the “cmd” box in admin mode and to make sure you have admin authority on your computer.

I. Registering Google Earth

1. Uninstall Google Earth and Google Earth Pro from your PC

Select Control Panel.
Select Add or Remove Programs.
Find and select Google Earth.
Click Remove and then Yes and then Finish.

2. Make sure the registry has no traces of Google Earth or Google Earth Pro

* Please ask an experienced PC user to help you if you are not familiar with modifying the registry.

Go to Windows command mode and type in “regedit” to call up the registry editor. Click on “Edit” at the top and select “Find”. Enter “Google Earth” then press enter. This will
start a search for any registry key that has “Google Earth” in it. Right-click on each registry entry you see on the right-hand side and select Delete to delete the entry. Use
Windows Explorer and do a search of your primary drive for “Google Earth” or “Earth” and delete anything you find.

3. Download the Google Earth (not the Google Earth Pro) installer to C:\GoogleEarth

https://www.google.com/earth/download/ge/agree.html

Temporarily disable all firewalls, antivirus and antispyware software.

Install Google Earth from that location by right-clicking on GoogleEarthSetup.exe and select “Run as administrator”.

If a Windows security warning window comes up, click on the link in that window and set the security level to the lowest.

4. Find the location of googleearth.exe on your  PC.

Prepare a text file containing the following line and rename it to Register-Google.cmd. Replace the file path in the line with the actual file path on your PC

“c:\Program Files (x86)\Google\Google Earth\client\googleearth.exe” /RegServer

Right-click on this .cmd file and select “Run as administrator”.

5. Install Google Earth Pro if you wish to use that program. Always select “Run as administrator” by right-clicking the installer software.

6. re-enable your usual firewalls, antivirus and antispyware software.

You can download Google Earth Pro from Google:

https://www.google.com/earth/download/gep/agree.html

If you are prompted for a license code, enter “GEPFREE”.

II. Capturing registered image from Google Earth or Google Earth Pro

1. Run Google Earth or Google Earth Pro.

2. In PC-GIS PRO select Utilities\Google Earth\Launch Google Earth.

3. In Google Earth or Google Earth Pro zoom into the area of interest. Make sure all 3D options are turned off as we can only capture a 2-dimensional image.

4. In PC-GIS PRO select Utilities\Google Earth\Capture Image.

5. Enter a name for the image file then click the Capture button.

(Depending on the PC’s operating system, you might only need to do above steps 4 and 5.)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s