locked
Reseting SP service account in SharePoint Server 2007 - error RRS feed

  • Question

  • Hi ,

    I am trying to change the service account password for my SP Server 2007 and I following the KB article:

    http://support.microsoft.com/kb/934838

     

    It threw an error:  Object reference not set to an instance of an object.

    When I execute the command below:

    stsadm -o updateaccountpassword -userlogin domain/account -password pwd -noadmin

     

    It doesn't work if I have my new password there, but when I tried to restore it with the old password, that line execute without any problem.

    Any idea?

    Thanks in advance. Your help would be greatly appreciated.

    Friday, December 10, 2010 2:19 PM

Answers

  • also check this one: http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/b7c17dac-1cd1-4f75-a031-e28e4fbfd2f7

     

    thanks

    -ws


    SharePoint administrator, MCTS,MCITP
    • Marked as answer by wkpli Wednesday, December 15, 2010 1:55 PM
    Friday, December 10, 2010 6:23 PM
  • Finally it is working, thanks ws.

    I tried the suggested solution from http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/b7c17dac-1cd1-4f75-a031-e28e4fbfd2f7. And here it is.

    1. Click Start > Goto Run > Type Services.msc and press Enter
    2. Stop all those services which are running through SharePoint Administrator Account (e.g. xyzDomain\abcUser). You can check it from Log On As column in services.msc screen. Do it on all SharePoint Farm Servers. In my case i have stopped following services. 

    Services on SharePoint Front End Server
      - Microsoft Single Sign-on Service
      - Office Document Conversions Launcher Service
      - Office Document Conversions Load Balancer Service
      - Office SharePoint Server Search
      - Windows SharePoint Services Search
      - Windows SharePoint Services Timer

    Services on SharePoint DB Server
      - SQL Server (MSSQLSERVER)
      - SQL Server Agent (MSSQLSERVER)
      - SQL Server Analysis Services (MSSQLSERVER)
      - SQL Server Browser
      - SQL Server FullText Search (MSSQLSERVER)
      - SQL Server Reporting Services (MSSQLSERVER)

    3. Now right click each service and click Properties.
    4. In Properties window click on Lon On tab
    5. Now Enter username and password (e.g. Username: xyzDomain\abcUser, Password: **********) and start the service
    6 Repeat steps from 3 - 5 for each stopped service due to step 2 
    7. Restart all SharePoint Farm Machines
    8. Now run following stsadm commands to update the password

    stsadm –o updatefarmcredentials –userlogin DOMAIN\username -password ********
    stsadm –o updatefarmcredentials –userlogin DOMAIN\username -password ********
    stsadm –o osearch –farmserviceaccount DOMAIN\username -farmservicepassword ********
    stsadm –o spsearch –farmserviceaccount DOMAIN\username -farmservicepassword ********
    stsadm –o editssp –title SharedServices1 -ssplogin DOMAIN\username -ssppassword ********

    • Marked as answer by wkpli Wednesday, December 15, 2010 1:55 PM
    Wednesday, December 15, 2010 1:55 PM

All replies

  • the command you are using is for the changing the password/account for the application pool account that is used by Web applications on the server farm. but for the Ssp you should execute this command.

    stsadm.exe -o editssp -title <var style="-webkit-box-sizing: border-box;">SharedServicesProviderName</var> -ssplogin <var style="-webkit-box-sizing: border-box;">DomainName</var>\<var style="-webkit-box-sizing: border-box;">UserName</var> -ssppassword <var style="-webkit-box-sizing: border-box;">NewPassword</var>

     

    hope this help

    thanks

    -ws


    SharePoint administrator, MCTS,MCITP
    Friday, December 10, 2010 2:51 PM
  • Do I need to change the application pool acc too? I just follow the instruction in the KB article. And how do I know if the app pool is using this service account?

    Thanks in advance.

    Friday, December 10, 2010 2:54 PM
  • you can check the which account is running the app pool  over here: login to central admin

    Central Administration > Operations > Service Accounts  

    its basically depend upon you whats the your purpose.

     

    thanks

    -ws

     


    SharePoint administrator, MCTS,MCITP
    Friday, December 10, 2010 3:02 PM
  • I am now in Service Accounts, I select "Web Application Pool" then under "Web Service", I select "Windwos SharePoint Services Web Application", then I got a list of "Application Pool", by going thru' most of the items in the list, I found that the user name are the same, which is the service account that password has to be reset. So, why am I getting error then? Did I miss anything? Why am I getting Object reference not set to an instance of an object.

    I wanted to change the password of this account which is used to build this farm and I am sure a lot of the SP related services are using this account too.

    Thanks.

     

    Friday, December 10, 2010 3:54 PM
  • why not you try to change the password from the central admin. on the same location where you saw the service account.

     

    select the right app pool for the SSP and then you will see the account 

    type the password 

    and click ok

    after that reset IIS.

     

    hoep this help

    thanks

    -ws


    SharePoint administrator, MCTS,MCITP
    Friday, December 10, 2010 4:27 PM
  • Actually, here is another error, when I ran

    stsadm -o updatefarmcredentials -userlogin domain/useracc -password pwd

     

    "Error updating the administration application pool credentials."

    Friday, December 10, 2010 4:52 PM
  • what you see in the Event log or ULS logs? I hope their will be some thing which help us.

    Also make sure you are running this command under the Admin account.

     

    thanks

    -ws


    SharePoint administrator, MCTS,MCITP
    Friday, December 10, 2010 6:21 PM
  • also check this one: http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/b7c17dac-1cd1-4f75-a031-e28e4fbfd2f7

     

    thanks

    -ws


    SharePoint administrator, MCTS,MCITP
    • Marked as answer by wkpli Wednesday, December 15, 2010 1:55 PM
    Friday, December 10, 2010 6:23 PM
  • Finally it is working, thanks ws.

    I tried the suggested solution from http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/b7c17dac-1cd1-4f75-a031-e28e4fbfd2f7. And here it is.

    1. Click Start > Goto Run > Type Services.msc and press Enter
    2. Stop all those services which are running through SharePoint Administrator Account (e.g. xyzDomain\abcUser). You can check it from Log On As column in services.msc screen. Do it on all SharePoint Farm Servers. In my case i have stopped following services. 

    Services on SharePoint Front End Server
      - Microsoft Single Sign-on Service
      - Office Document Conversions Launcher Service
      - Office Document Conversions Load Balancer Service
      - Office SharePoint Server Search
      - Windows SharePoint Services Search
      - Windows SharePoint Services Timer

    Services on SharePoint DB Server
      - SQL Server (MSSQLSERVER)
      - SQL Server Agent (MSSQLSERVER)
      - SQL Server Analysis Services (MSSQLSERVER)
      - SQL Server Browser
      - SQL Server FullText Search (MSSQLSERVER)
      - SQL Server Reporting Services (MSSQLSERVER)

    3. Now right click each service and click Properties.
    4. In Properties window click on Lon On tab
    5. Now Enter username and password (e.g. Username: xyzDomain\abcUser, Password: **********) and start the service
    6 Repeat steps from 3 - 5 for each stopped service due to step 2 
    7. Restart all SharePoint Farm Machines
    8. Now run following stsadm commands to update the password

    stsadm –o updatefarmcredentials –userlogin DOMAIN\username -password ********
    stsadm –o updatefarmcredentials –userlogin DOMAIN\username -password ********
    stsadm –o osearch –farmserviceaccount DOMAIN\username -farmservicepassword ********
    stsadm –o spsearch –farmserviceaccount DOMAIN\username -farmservicepassword ********
    stsadm –o editssp –title SharedServices1 -ssplogin DOMAIN\username -ssppassword ********

    • Marked as answer by wkpli Wednesday, December 15, 2010 1:55 PM
    Wednesday, December 15, 2010 1:55 PM