Service Logon Password Corruption

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bruce (anonymous_at_discussions.microsoft.com)
Date: 03/10/04


Date: Wed, 10 Mar 2004 06:11:07 -0800

We have a service that requires to be run under the Administrator account (not a member of the administrators group, but specifically logged on as Administrator). We are running Windows 2000 Server (latest SP).

Up until recently this worked fine, the service was set up as automatic and restarted whenever the machine was rebooted. Last week, out of nowhere (read no new software was installed according to our operations group), the password for the service was corruted and when the machine is rebooted, natuarlly this service does not start (system event log errors 7013 and 7014 were showing up).

We patched the service (since one of it's jobs is to reboot the machine using InitiateSystemShutdown() ) to reset the password using ChangeServiceConfig() to the proper password right before calling InitiateSystemShutdown(). In testing this worked every time however in the real world, results are not consistent - The service restarts fine on about half of the machine we run it on, the other half has this password corruption, which when manually reset and restrarted works fine.

Anyone have any clues - All ideas are appreciated.

Thanks/



Relevant Pages

  • Re: DNS Nightmare - Cant create forward zone
    ... Administrator Account (Member Off Enterprise admins and member of Domain ...
    (microsoft.public.win2000.active_directory)
  • PPTP Connection for Power Users
    ... I created a new PPTP connection under Win2K Pro as the Administrator and ... made the connection available to all users. ... However, when logged in as someone who is a member of the Power Users group, ... If I make the user a member of the Administrators group -- no problem. ...
    (microsoft.public.win2000.security)
  • Re: Windows Service - Event Log
    ... I didn't say the Administrator account. ... Administrators group on the local machine." ... I didn't advocate using a member of the Administrator's group; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: User rights and XPe Component Database
    ... - On a PC, I installed the tools and SP2 update, database etc.. ... - I create a new local user on this machine, I called it XPeUser ... I add XpeUser as a member of the Administrators ... Of course he souldn't be administrator. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Setting a password on an AD account...
    ... I assume it's running in a restricted account right? ... You don't use SSL to bind, and as this runs from a server which is not a domain member (a ... this one fails when the current user is not an administrator on the DC. ...
    (microsoft.public.dotnet.languages.csharp)