SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-26-2005, 02:14 PM
jklenk jklenk is offline
Sage User
 
Join Date: Sep 2004
Posts: 24
Question Can't run service as my Win username: "service did not start due to a logon failure"

I cannot get the SageTV Service to run as my personal Windows username.

It will only run as "LocalSystem".

When I try to start it (from the SageTV Service Control or from the Windows Services window), with it set to my Windows username, I get the following error:

"The service did not start due to a logon failure."

- My Windows username is "John", and I have it entered as ".\John" in the SageTV service control (Sage put it that way).
- When I try using just "John", Service Control gives an immediate error that the username is invalid.
- My account has no password (so I leave it blank in the Service Control setup).
- I created a password for my account, but got the same results.
- I created a different Windows account (with a password), and got the same result for that.

Using the "LocalSystem" logon DOES work, so that is what I am currently using, but that is not acceptable because sometimes Windows resets the autologin registry key so it gets stuck at the Windows logon screen after reboot (I've seen this on multiple PCs so it is a Windows bug I'm sure).

I'm using Sage 4.0. The problem did NOT occur when I was using Sage 2.x (or maybe it only logged in as LocalSystem then?).

Thanks,
John
Reply With Quote
  #2  
Old 11-26-2005, 02:31 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Go into Control Panel->Administrative Tools->Services and then setup the SageTV logon user in there. At that point Windows will ask you to grant that user 'logon as service rights', then you can confirm that and then it will work in the service control app.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 11-26-2005, 07:45 PM
jklenk jklenk is offline
Sage User
 
Join Date: Sep 2004
Posts: 24
I was able to get it to work by specifying the user in the Services window, but ONLY if the user has a password. Which is not good since I will never make a password just to get into Windows. (Without a password, Windows just gives another logon error when trying to start it from the Services window or from the SageTV Services Control.)

I had to resort to configuring it to login as Administrator, which does have a password.

You might want to add that to your FAQ and to the Services Control window. I think a lot of people will not use a password for their normal Windows account.

Thanks for the help,
John
Reply With Quote
  #4  
Old 11-26-2005, 09:47 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
The only way Windows lets you log on to run a service is if the user name has a password.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #5  
Old 11-26-2005, 09:52 PM
ke6guj ke6guj is offline
Sage Icon
 
Join Date: Jan 2005
Posts: 2,355
Quote:
Originally Posted by jklenk
I think a lot of people will not use a password for their normal Windows account.
Just because people don't like to use a password doesn't make it right.

Now, you can set up XP to start up and not require a password to be entered. Less secure than normal, but more secure than no password at all.

Set a password for the account that you normally log in with, then at a DOS prompt type "control userpasswords2" without the quotes. A User Accounts box will appear. Uncheck the "users must enter a user name an password to use this computer". When you click OK or Apply, a popup will appear prompting you for a user name and password that you would like the computer to start up with.
Reply With Quote
  #6  
Old 11-26-2005, 10:34 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jklenk
I was able to get it to work by specifying the user in the Services window, but ONLY if the user has a password.
...
You might want to add that to your FAQ and to the Services Control window.
BTW: This is in Chapter 2 of the PDF manual in your SageTV directory, where it describes using service mode while discussing initial setup.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #7  
Old 11-27-2005, 11:00 AM
AMCooper63 AMCooper63 is offline
Sage User
 
Join Date: Aug 2004
Location: CA
Posts: 62
I found that I had to have the ./ in front of my login name. I noticed it defaulted to this once. I corrected it to my login name and I never could get it to work. Then during one of the upgrades, I noticed that the ./ got preappended to my login name. I left it and it works.
Reply With Quote
  #8  
Old 11-27-2005, 11:48 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Actually it's .\ I believe. ./ would be for unix
Reply With Quote
  #9  
Old 05-03-2006, 10:21 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
After going thru all the issues described above, I still could not get the SageTV service to start using an account I created for it. It turns out that the service logon account for SageTV must have admin rights! Why?!! This isn't good.
Reply With Quote
  #10  
Old 05-04-2006, 06:29 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
You would rather have any kind of ID being able to run a service on your machine? Of COURSE you want it so the account has admin rights. You want it limited. And that is why it requires a password also.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #11  
Old 05-05-2006, 05:21 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Thumbs down

Quote:
Originally Posted by gplasky
Of COURSE you want it so the account has admin rights.
Gerry
Sorry, but that's just bad security advice. SageTV needs to fix this.

From MS:
Use a Least-Privilege Hierarchy for Service Deployment
You should use the account that has the least privilege required to run a service. Services deployed using accounts that have higher privileges should be redeployed using accounts that have lesser privileges.

A least-privilege hierarchy should use accounts in the following order:

1.
Local Service. This account is similar to Local System, although it has minimum privileges on the local computer. Services that log on as Local Service access network resources using a null session with anonymous credentials. The account's privileges must be limited to only those that are required for the successful operation of the service.

. . .

5.
Local administrator account. You should run a service as a local administrator account only if it is impractical to run it as Local Service, Network Service, a unique domain user account or the Local System account.
...
6.
Domain administrator account. Running a service with a domain administrator account is a worst-case security scenario.
Reply With Quote
  #12  
Old 05-05-2006, 05:43 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by gplasky
Of COURSE you want it so the account has admin rights. You want it limited. And that is why it requires a password also.

Gerry
Quote:
Originally Posted by dshields
Sorry, but that's just bad security advice. SageTV needs to fix this
I said this because the Sage TV app requires it-NOT becasue it is a good idea. But Sage isn't the only app that does this. You DO realize that most worms will hack into the systems using the accounts with NO password. Plus you should rename the administrator account. Not doing this gives a hacker 50% entry into your system.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.