PC Review


Reply
Thread Tools Rate Thread

corrupt service password

 
 
=?Utf-8?B?UGV0ZXIgTWV0ZGVwZW5uaW5nZW4=?=
Guest
Posts: n/a
 
      18th Mar 2004
The general problem: on every win2k machines, same proble

An service must be run as domain administrator. The service must be stopped every night for backup. Sometimes the service don’t start up again because the password is corrupt

So, I have a workaround for this, an vb script

strComputer = "servername
Set objWMIService = GetObject("winmgmts:"
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2"
Set colServiceList = objWMIService.ExecQuery
("SELECT * FROM Win32_Service WHERE StartName = 'DOMAIN\\Administrator'"
For Each objservice in colServiceLis
errReturn = objService.Change( , , , , , , , "password"
Nex

This was working until… apllyings ome patches on our dns server. Today the domain administrator don’t has the right change the password via an vb script
I have also tried to use “runas … sunar”, no permission

When I change (direct granting) the rights on wmi namespace for the domain administrator its works, but for a short time

HELP
 
Reply With Quote
 
 
 
 
Matt Hickman
Guest
Posts: n/a
 
      19th Mar 2004
"Peter Metdepenningen" <(E-Mail Removed)> wrote in message news:<AA43E31B-6B34-4C59-A8D0-(E-Mail Removed)>...
> The general problem: on every win2k machines, same problem
>
> An service must be run as domain administrator. The service must be stopped every night for backup. Sometimes the service don’t start up again because the password is corrupt.



The password is becoming corrupt? This should not happen all by itself.
Something/someone is doing it.

Is this an account set up solely for the purpose of running the service?
Is the service account set up so it cannot change its own password?
So the password never expires?

Also, can the service be paused? Or does the backup require it be stopped?

--
Matt Hickman
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get username, password from .NET Windows service installation to actual service code ? jimmy Microsoft C# .NET 0 31st Jan 2007 10:02 PM
corrupt service password =?Utf-8?B?UGV0ZXIgTWV0ZGVwZW5uaW5nZW4=?= Microsoft Windows 2000 DNS 3 19th Mar 2004 03:33 PM
corrupt service password =?Utf-8?B?UGV0ZXIgTWV0ZGVwZW5uaW5nZW4=?= Microsoft Windows 2000 0 18th Mar 2004 09:21 AM
RE: corrupt service password =?Utf-8?B?UGV0ZXIgTWV0ZGVwZW5uaW5nZW4=?= Microsoft Windows 2000 Security 0 18th Mar 2004 09:16 AM
Corrupt Service StevenA Microsoft Windows 2000 Networking 7 6th Jan 2004 09:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:44 PM.