The information in this article applies to:
SYMPTOMSUsing Active Directory Services Interfaces(ADSI), the ServiceAccountName property can be altered on a IADsService object. When SetInfo is called there is no error reported, however, the changes are not made on the target server. STATUSMicrosoft is aware of this problem in the products listed at the beginning of this article. MORE INFORMATIONIn order to work around this limitation in ADSI, Windows Management Instrumentation (WMI) can be used. WMI provides a way to access resources and management information across the enterprise. In order to use the WMI you will need to install the core runtime from the following link: http://msdn.microsoft.com/developer/sdk/wmisdk/download.asp The following is a sample script that uses WMI to change the service account name:
REFERENCES
For additional information on Windows Management Instrumentation (WMI), please see the following Web site: http://msdn.microsoft.com/developer/sdk/wmisdk/default.asp For additional information on Active Directory Services Interfaces(ADSI), please see the following web site: http://www.microsoft.com/adsi Additional query words:
Keywords : kbADSI kbGrpPlatform kbDSupport |
Last Reviewed: September 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |