2. Edit the Bamboo service to run as the "local user"
Go to Start -> Run and enter 'services.msc'.
The 'Services' window will display (see screenshot below). Double-click the 'Bamboo build server' row. services.jpg
The 'Bamboo build server Properties' window will display (see screenshot above). Select the 'This account' option and click the 'OK' button to apply your changes.
3. Give the local user access to "logon as a service"
Go to Start -> Run and enter 'secpol.msc'
The 'Local Security Settings' window will display. Expand the 'Local Policies' tree and click 'User Rights Assignment'.
Scroll down and find the 'Logon As a Service' Policy (see screenshot below). Double-click the 'Log on as a service' policy. logon_service1.jpg
The properties window for the 'Log on as a service' policy will display (see screenshot below). Click the 'Add User or Group' button. logon_service2.jpg
The 'Select Users or Groups' window will display (see screenshot above). Enter your local user and click 'OK' to allow your user to "logon as a service".
Click 'OK' and close all open windows.
Bamboo will now start as service, under the local user.
In Windows 2008, when you're assigning a service user in the log on pane, Windows will automatically grant this user "log on as a service" rights on the local machine. And
you also have to make sure that the service account you've assigned have write permissions on the bamboo-home directory.
As Mads noticed for Windows 2008, this is also true for Windows 7: the "Log On As a Service Right" is automatically assigned. A message is given by Windows to signify this.
Anonymous
Dec 23, 2011
Is there any way to successfully change the Bamboo service from running as a local account to a domain account? If I change the user the Windows service runs as, when I connect to Bamboo I get just an error page reporting that it could not create the bamboo-home folder....
4 Comments
Mads Nissen
Dec 09, 2008In Windows 2008, when you're assigning a service user in the log on pane, Windows will automatically grant this user "log on as a service" rights on the local machine. And
you also have to make sure that the service account you've assigned have write permissions on the bamboo-home directory.
Andrew
Dec 17, 2008Hi Mads,
Thanks for your helpful feedback. Can I just confirm that you are referring to Windows Server 2008, when you mention 'Windows 2008'?
Kind Regards,
Andrew
Abel Braaksma
Sept 19, 2010As Mads noticed for Windows 2008, this is also true for Windows 7: the "Log On As a Service Right" is automatically assigned. A message is given by Windows to signify this.
Anonymous
Dec 23, 2011Is there any way to successfully change the Bamboo service from running as a local account to a domain account? If I change the user the Windows service runs as, when I connect to Bamboo I get just an error page reporting that it could not create the bamboo-home folder....