Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

windows service throwing error 'Windows cannot determine...

Sep 3, 2007 10:52PM PDT

Hi I have a custom service that runs a batch file, I can start the service myself when logged into the computer but when I restart and the service tries to start automatically i get the following entry in the event log. Thanks for any help you can provide

Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1053
Date: 31/08/2007
Time: 2:45:27 PM
User: NT AUTHORITY\SYSTEM
Computer: test
Description:
Windows cannot determine the user or computer name. (Access is denied. ). Group Policy processing aborted.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Discussion is locked

- Collapse -
User Rights and Security
Sep 4, 2007 4:16AM PDT

Try creating a Local User Account under which the service will run. Then grant the user account the "Logon As A Service" user right.

- Collapse -
order of services
Sep 4, 2007 9:27PM PDT

We found that by stalling the script that we were running in the service that it loaded. It seems that our service would not run because it was being loaded before some key windows services. Thanks for your help though, your reply was very much appreciated.

- Collapse -
How to control that order.
Sep 5, 2007 1:41AM PDT

For right or wrong the services load in alphabetical order. So you can load later by have a "z" named service.

Bob