Feb 28

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:

%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!

Avatar

About The Author

Former Partner and Senior Consultant at DataXstream, Craig Stasila played a key role in developing DataXstream. For current information regarding Craig Stasila please see his Linkedin profile.

7 Comments

  1. Avatar
    t
    August 21, 2012 at 2:39 pm · Reply

    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. Avatar
    Sang
    November 14, 2012 at 11:22 am · Reply

    Good tip, thank you Craig!!

  3. Avatar
    fantunes
    January 21, 2013 at 8:06 pm · Reply

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

  4. Avatar
    Ricky
    February 13, 2013 at 3:46 pm · Reply

    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. Avatar
    david planchon
    March 5, 2013 at 1:50 pm · Reply

    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. Avatar
    zainal
    April 1, 2013 at 4:04 am · Reply

    SAPlogon.ini %userprofile%AppDataRoamingSAPCommon (windows 7 SAPgui730)
    services %windir%system32driversetcservices

  7. Avatar
    Jan
    January 28, 2015 at 6:47 am · Reply

    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.

Leave a reply

Your email address will not be published. Required fields are marked *