Arcmap 10.2.1 - How to automatically set portal connection on startup

3912
6
Jump to solution
09-23-2014 12:49 PM
MikeWelch
New Contributor II

Greetings,

 

Most users at my company are not administrators of their own machines so they cannot run the ArcGIS Administrator tool, click on Advanced and then Manage Portal Connections to add the connection to our site on ArcGIS.com (ex: http://my_company.maps.arcgis.com). Any know of a way to do this programmatically for any user that uses ArcMap for a given machine or possibly on installation of 10.2.1 desktop?

 

I tried the route of setting the following registry keys when ArcMap is installed, but they are only for the current user; new users will not have them set:

 

HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\SignIn\URL0 set to value: "http://my_company.maps.arcgis.com"
HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\Portals String\HomeServerURIFile set to value: "http://my_company.maps.arcgis.com/arcgisuris.xml"

 

 

Thanks in advance for any help you might be able to provide,

 

Mike

0 Kudos
1 Solution

Accepted Solutions
MarkBockenhauer
Esri Regular Contributor

Mike,

On a 64 bit machine it need to go here:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ESRI\ArcGIS Online\SignIn

and the key is "HomeServerURIFile"="https://portal/name/arcgisuris.xml"

for example:

portalconnect.png

I forgot about the part.

Mark

View solution in original post

6 Replies
MikeWelch
New Contributor II


I created a support ticket and after working with the support analyst he created an enhancement request with this being an issue (ENH-000082222)

0 Kudos
MarkBockenhauer
Esri Regular Contributor

Mike,

Not sure if this will work.

Assuming your registry entries work for the current user.

Try putting the registry entries at HKEY_LOCAL_MACHINE\Software\Esri

ArcMap might pick up the settings from this location if they exist.  ArcGIS Explorer Desktop allows for deployment this way, and ArcMap may employ a similar strategy.

Mark

0 Kudos
MikeWelch
New Contributor II

Mark,

Thanks for responding to my query, would the key/strings be:

HKEY_CURRENT_Machine\Software\ESRI\ArcGIS Online\SignIn\URL0

HKEY_CURRENT_Machine\Software\ESRI\ArcGIS Online\Portals String\HomeServerURIFile

I tried these, but they were not picked up by the user.

Mike

0 Kudos
MikeWelch
New Contributor II

Sorry, my cut and paste skills failed above:

HKEY_CURRENT_Machine\Software\ESRI\ArcGIS Online\SignIn\URL0

HKEY_CURRENT_Machine\Software\ESRI\ArcGIS Online\Portals\HomeServerURIFile

URL0 and HomeServerURIFile are strings.

0 Kudos
MarkBockenhauer
Esri Regular Contributor

Mike,

On a 64 bit machine it need to go here:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ESRI\ArcGIS Online\SignIn

and the key is "HomeServerURIFile"="https://portal/name/arcgisuris.xml"

for example:

portalconnect.png

I forgot about the part.

Mark

MikeWelch
New Contributor II

Mark - thanks for your help with this. ESRI said they are looking to address this, but your solution above is the best solution for now.

Mike

0 Kudos