Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The title says it all. I need to have the ability for a local user account to log on as a service on a computer running Windows 7 Home Premium. In Windows 7 Ultimate, this is accomplished by going to Control Panel -> Administrative Tools -> Local Security Policy and adding the user to the "Log on as a service" policy. In Home Premium, there is no Local Security Policy in the Control Panel.

Is there another way to add the use to that policy (i.e. registry setting) or is my only recourse to upgrade the computer to Windows 7 Professional?

Thanks in Advance, Ryan

share|improve this question
    
Does either secpol.msc or gpedit.msc exist? –  grawity Jun 24 '12 at 19:58
    
No, neither of them are. –  Ryan Johnson Jun 24 '12 at 20:09

3 Answers 3

up vote 3 down vote accepted

Not exactly a duplicate but Replacement for gpedit.msc in Windows 7 Home edition shows a generic way to set/change policies in Windows 7 Home. Does not apply here, there is no equivalent registry path.

According to http://support.microsoft.com/kb/245207 you will need to add the SeServiceLogonRight to your account. Ways to accomplish this are shown on Windows 7 equivalent for ntrights.exe. So one option should be to run ntrights +r SeServiceLogonRight –u your_account_name

share|improve this answer
1  
Thanks. I'm sure this would work. As I was about to test it though, I realized that if you select a user account that doesn't have the "log on as service" right when configuring the logon account for a service, Windows 7 (Home Premium) simply grants the user that right. Oops. Thanks. –  Ryan Johnson Jun 24 '12 at 23:26

Alternative you can assign the service logon right (SeServiceLogonRight) through the Service Manager (services.msc)

  1. Open Service Manager
  2. Choose the service in question and select "Properties"
  3. In the "Log On"-tab then enter the username and password and press Apply-button.
  4. It will display a message box with the following message:

The account "username" has been granted the Log On As Service right.

share|improve this answer

See this article http://www.morgantechspace.com/2013/11/Set-or-Grant-Logon-As-A-Service-right-to-User.html

It contains steps to enable via Poershell, VBScript , C# and ntrights.exe

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.