Stop BI Service : No prompting for UserId and Password : OBIEE 11g

Thanks to oracle support for this solution I am sharing here with you.
 While stopping the BI services - We are asked to type User Id and Password.














We wanted this process to happen automatically.The way suggested by Oracle Support is --

Change in the 
..\instances\instance1\bifoundation\OracleBIApplication\coreapplication\StartStopServices.xml

<condition property="should.get.credentials">
          <or>
              <isset property="should.create.credentials"/>
              <isset property="is.stop.all"/>
          </or>


to

<condition property="should.get.credentials">
          <or>
              <isset property="should.create.credentials"/>
              <isset property="should.create.credentials"/>
          </or>
      </condition>



Save the changes and test.
This time we were not asked to type user id and password.














I am sharing here the StartStopServices.xml


StartStopServices.xml

You have to put it inside


C:\OBIEE\instances\instance1\bifoundation\OracleBIApplication\coreapplication


[Note: Take the backup of existing StartStopServices and rename it StartStopServices_1]


Thanks.