Override Default Location of SAPLOGON

How can you override default location and name for saplogon.ini 

Operating Systems:
Windows XP Professional 5.1. Service Pack 1

Affected Components:
SAPgui, saplogon.exe

Problem Description:
Sap Gui / Saplogon attaches saplogon.ini from the default Location C:\Windows. In some cases it is possible that the location cannot be accessed due to the lack of rights or it might be necessary to use or test different saplogon.ini.

Solution:

The MS-Windows Environment Variable SAPLOGON_INI_FILE
controls the location and naming of saplogon.ini.

To override the default Location C:\windows or the default name for saplogon.ini, set the MW-Windows
environment variable SAPLOGON_INI_FILE to the desired new location and new name of the saplogon.ini.

Check Your current location and name of saplogon.ini

/SAPGui / Options / Konfigurationfiles / Filename - Path: saplogon.ini = <Your current filename and path>

How to set a MS-Windows environment variable?
Explorer -> Working Place / Properties / Extended / Environment Variables
/ Environment variable for User <myusername> / New 
/ Name of the Variable: SAPLOGON_INI_FILE 
Value of the Variable: D:\MyFolder\mysaplogon.ini
/ OK / OK / OK 

Then logoff and logon with the same username again.
 

Check Your new location and name of saplogon.ini

Check and start the SAP-Gui.

/SAPGui / Options / Konfigurationfiles / Filename - Path: 

saplogon.ini=D:\MyFolder\mysaplogon.ini

AND

SAPLOGON_INI_FILE=D:\MyFolder\mysaplogon.ini

SAP BC Tips

See Also
User Logged In SAP Logon Group Or Directly

Get help for your Basis problems
Do you have a SAP Basis Question?

SAP Basis Admin Books
SAP System Administration, Security, Authorization, ALE, Performance Tuning Reference Books

SAP Basis Tips
SAP BC Tips and Basis Components Discussion Forum

Administration In SAP - Sapgui, Unix, SAP ITS, Router, Client Copy and IDES 

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk. 
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.