Skip to content

Commit

Permalink
Modified windows.adoc: Added brief LogonAsService Note (jenkins-infra…
Browse files Browse the repository at this point in the history
  • Loading branch information
Voitem authored Nov 4, 2024
1 parent b10ee5b commit 77b8109
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/doc/book/installing/windows.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ click on *Test Credentials* to test your domain credentials and click on *Next*.

image:tutorials/windows-jenkins-logon-credentials.png[alt="Jenkins Service Logon Credentials",width=80%]

NOTE: If you get *Invalid Logon* Error pop-up while trying to test your credentials,
NOTE: The user account running Jenkins requires the `LogonAsService` permission to run Jenkins
as a service.
If you get *Invalid Logon* Error pop-up while trying to test your credentials,
follow the steps explained <<invalid-service-logon-credentials,here>> to resolve it.

Step 4: Port selection::
Expand Down Expand Up @@ -268,9 +270,9 @@ When installing a service to run under a domain user account, the account must h
Perform the following steps below to edit the Local Security Policy of the computer you want to define the ‘logon as a service’ permission:

. Logon to the computer with administrative privileges.
. Open the *Administrative Tools* and open the *Local Security Policy*
. Open the *Administrative Tools* and open the *Local Security Policy* or typing `secpol.msc` in the Run dialog (Win + R) and pressing Enter.
. If the *Local Security Policy* is missing in your system, refer to the answer in the https://answers.microsoft.com/en-us/windows/forum/all/where-to-download-gpeditmsc-for-windows-10-home/c39bd656-8d4a-4374-be39-394c09deec4e[Where to download GPEdit.msc for Windows 10 Home?] question on Microsoft Community to troubleshoot
. Expand *Local Policy* and click on *User Rights Assignment*
. In the *Local Security Policy* window, Expand *Local Policy* and click on *User Rights Assignment*
. In the right pane, right-click *Log on as a service* and select properties.
. Click on the *Add User or Group…* button to add the new user.
. In the *Select Users or Groups* dialogue, find the user you wish to enter and click *OK*
Expand Down

0 comments on commit 77b8109

Please sign in to comment.