SAP Tip Quick Hit: Location of saplogon.ini in Windows 7

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:


(e.g. C:\Users\cstasila\AppData\Roaming\SAP\Common)

If you happen to be running an older version of SAPGUI on Windows 7, your saplogon.ini file may be in the following location:


(e.g. C:\Users\cstasila\AppData\Local\VirtualStore\Windows)

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!

About Craig Stasila

Craig Stasila is a senior partner consultant with DataXstream, LLC. He has over twelve years of experience with SAP integration and is an innovative leader who is familiar with current advances in technology, especially in cross application interfacing.


  1. 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.

  2. Good tip, thank you Craig!!

  3. Good stuff! Thanks for tagging this post with “saplogon.ini” and “windows 7″
    Top result in my search..

  4. 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.

  5. david planchon says:

    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.

  6. SAPlogon.ini %userprofile%\\AppData\Roaming\SAP\Common (windows 7 SAPgui730)
    services %windir%\system32\drivers\etc\services

  7. 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%\SAP\Common\saplogon.ini

    This can be centrally set by Group Policy Preferences.

Add Comment Register

Speak Your Mind