Ugh. I spent the last 10 minutes searching for saplogon.ini!!
I need to copy it to a Virtual Machine so I don’t have to type in all of the SAP system information. As many of you know, SAP saves SAP Logon Pad entries in a file called saplogon.ini. For many releases, this file resided in the C:Windows directory. Since Microsoft has began enforcing their improved security model, SAP has adapted and, therefore, moved the location of saplogon.ini to a directory that I can never seem to remember. I have SAPGUI 7.20 running on Windows 7 (x64) and I find myself scouring my hard drive in search of saplogon.ini! I have 38 versions of the file, but which is the right version? Don’t worry, I finally found the right one. But I have performed this search at least three times in the past year! I seem to never make a point to note the location of saplogon.ini. I can’t be alone in this search.
So for future me and you, dear internet community, here is the location of saplogon.ini file in Windows 7 for SAPGUI 720:
%AppData%\Roaming\SAP\Common
(e.g. C:\Users\cstasila\AppDataRoaming\SAPCommon)
If you happen to be running an older version of SAPGUI on Windows 7, your saplogon.ini file may be in the following location:
%AppData%\Local\VirtualStore\Windows
(e.g. C:\Users\cstasila\AppData\Local\VirtualStoreWindows)
I would like to point out that there are multiple ways for system administrators to override and/or centrally manage the saplogon.ini. If this is the case, the above locations of saplogon.ini are ignored.
As a final note to my future self: What happened to you? You used to be so cool!
Yeah! No kidding! I always lose the damn thing too and it doesn’t help that your Windows 7 Search indexes do not automatically index the AppData folder. So using Find or search file name renders no results. After rebuilding my indexes and manually selecting all Common Folders (not that selecting on the parent still doesn’t select AppData – you have to open every little folder to ensure everything is checked that you want) it finally returned results!
Thanks for recording this. Google finds your post so well so I also can have note to future self.
Good tip, thank you Craig!!
Good stuff! Thanks for tagging this post with “saplogon.ini” and “windows 7”
Top result in my search..
Thank you Craig, this is very helpful!!
I spent 1 hour try figuring this out and I couldn’t find it until I went to your website.
Another way to easily find your saplogon.ini file is to pull it up from the sap gui logon pad itself.
Open you SAP Logon window, then in the most top left corner of that window click to pull down the menu for the SAP Gui and choose Options.
Then in the left column pick the SAP Logon Options, and Configuration Files, in the right section of that page you will see varies files, including the saplogon.ini. You can even open it from here if you would like and even over-write with another version fairly easily – that’s how I swap between saplogon files before pushing them up to my users.
SAPlogon.ini %userprofile%AppDataRoamingSAPCommon (windows 7 SAPgui730)
services %windir%system32driversetcservices
SAP GUI looks for the saplogon.ini in the path set by Windows Environment Variable: SAP_LOGON_INI_FILE
Don’t forget to set the full path including saplogon.ini, ex: %appdata%SAPCommonsaplogon.ini
This can be centrally set by Group Policy Preferences.