Microsoft KB Archive/198710

= SMS: Edit .ini File May Produce Unexpected Results =

Article ID: 198710

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition
 * Microsoft Systems Management Server 1.0 Standard Edition
 * Microsoft Systems Management Server 2.0 Service Pack 5

-



This article was previously published under Q198710



SYMPTOMS
The Edit INI File script item in Systems Management Server Installer is used to make modifications to an existing INI file during script execution. When using a single script item to make modifications to existing values while at the same time removing other sections of an INI file, the resulting contents of the INI file may be incorrect.

Example of Script Item Settings That Can Reproduce Problem
[Section1]

[Section2]

Valueitem=XXXXXX

[Section3]

Valueitem=XXXXXX

The results of this modification should be to remove [Section1] completely and change the values of the entries listed under the other sections. Test results have shown that this can actually leave [Section1] in the INI file and transcribe the values from the following section back into the unremoved [Section1]. To work around this problem, try either of the following:
 * 1) Separate the task into multiple Edit INI File script items.

-or-
 * 1) Move the section to be deleted to the bottom of the Edit INI File settings.



WORKAROUND
To resolve this problem, obtain the latest service pack for Systems Management Server 2.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

236325 SMS: How to Obtain the Latest Systems Management Server 2.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in Systems Management Server 2.0. This problem was first corrected in Systems Management Server 2.0 Service Pack Service Pack 1.

Additional query words: prodsms smsinst

Keywords: kbbug kbfix KB198710

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.