Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65095

Windows install points to bad location for admin password

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Fresh install from the latest msi installer. The location provided:

      C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\secrets\initialAdminPassword

      Does not exist. And I cannot find it.

       

      Please advise.

       

        Attachments

          Issue Links

            Activity

            Hide
            johncpratt1 John added a comment -

            You will find the password in "SysWOW64", not "system32".

            This is a bug.

            Show
            johncpratt1 John added a comment - You will find the password in "SysWOW64", not "system32" . This is a bug.
            Hide
            johncpratt1 John added a comment -

            Please note, once I installed Jenkins and the path said System32 with a capital S–and it was the correct path.

            Both cases were on Amazon EC2s using server 2019, but one used containers and the other did not–could that be related? It would seem unlikely.

            Show
            johncpratt1 John added a comment - Please note, once I installed Jenkins and the path said System32 with a capital S–and it was the correct path. Both cases were on Amazon EC2s using server 2019, but one used containers and the other did not–could that be related? It would seem unlikely.
            Hide
            jhg4 Joseph added a comment -

            I had been using Windows 10 Business edition.

            Show
            jhg4 Joseph added a comment - I had been using Windows 10 Business edition.
            Hide
            slide_o_mix Alex Earl added a comment -

            It's recommended to not use LocalSystem as the account, however, I have a fix for this that is in PR form. It should use %ProgramData%\Jenkins as the root if you select LocalSystem for the user to run Jenkins s.

            Show
            slide_o_mix Alex Earl added a comment - It's recommended to not use LocalSystem as the account, however, I have a fix for this that is in PR form. It should use %ProgramData%\Jenkins as the root if you select LocalSystem for the user to run Jenkins s.
            Hide
            slide_o_mix Alex Earl added a comment -

            When using LocalSystem, the installer will use ProgramData. This will start occurring in the next release of the installer.

            Show
            slide_o_mix Alex Earl added a comment - When using LocalSystem, the installer will use ProgramData. This will start occurring in the next release of the installer.

              People

              Assignee:
              slide_o_mix Alex Earl
              Reporter:
              jhg4 Joseph
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: