Wednesday, May 29, 2013

Update SharePoint 2010 Farm Credentials

היי חברים,

מאמר זה מתאר כיצד לשנות את הסיסמאות עבור חשבונות שירות ב -  SharePoint 2010

כדי לשנות את הסיסמאות עבור חשבונות שירות ב- SharePoint 2010 בצע את הפעולות הבאות:

הערה אם שירות SQL Server משתמש בחשבון תחום, ותוקף הסיסמה עבור חשבון תחום זה פג או שהיא אינה חוקית, הקפד לעדכן את הסיסמה עבור חשבון התחום לפני שתבצע הליך זה.

1.       עדכן את הסיסמה עבור החשבון שנמצא בשימוש על-ידי מאגר היישומים 'ניהול מרכזי'. לשם כך, בצע את הפעולות הבאות:
o        בכל השרתים בחוות השרתים, פתח שורת פקודה, הקלד את השורה הבאה ולאחר מכן הקש ENTER:
c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Bin

o        בשרת המארח את אתר האינטרנט 'ניהול מרכזי', הקלד את השורה הבאה בשורת הפקודה, ולאחר מכן הקש ENTER:
stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword
o        בכל השרתים האחרים בחוות השרתים, הקלד את השורה הבאה בשורת הפקודה, ולאחר מכן הקש ENTER:
stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword -local
o        הפעל מחדש את Microsoft Internet Information Services (IIS)7.0. לשם כך הקלד את השורה הבאה בשורת הפקודה ולאחר מכן הקש ENTER:
iisreset /noforce

2.       ודא כי הגדרת המשימה 'פריסת אישורים של מאגר יישומי ניהול' לא מוצגת עוד בדף 'הגדרות של משימות שעון עצר' של הניהול המרכזי של SharePoint  לשם כך, בצע את הפעולות הבאות:
o        פתח את ניהול מרכזי של SharePoint, לחץ על פעולות ולאחר מכן לחץ על הגדרות של משימות שעון עצר תחת הגדרות תצורה כלליות.
o        ודא כי הגדרת המשימה 'פריסת אישורים של מאגר יישומי ניהול' לא מוצגת עוד ברשימה.

הערה אם הגדרת המשימה 'פריסת אישורים של מאגר יישומי ניהול' מוצגת ברשימה, המתן עד שהיא תיעלם מהרשימה.

3.       עדכן את הסיסמה עבור חשבון מאגר היישומים שנמצא בשימוש על-ידי יישומי האינטרנט בחוות השרתים. לשם כך, הקלד את השורה הבאה בשורת פקודה בכל שרת בחוות השרתים ולאחר מכן הקש ENTER:
stsadm -o updateaccountpassword -userlogin DomainName\UserName -password NewPassword –noAdmin

שלבי 4 ו -5 אינם נדרשים אלא אם אתה מפעיל את החיפוש של SharePoint. ברוב ההתקנות של SharePoint, שירות זה אינו פועל, כך שאינך צריך לעשות את הפעולות הבאות

4.       עדכן את הסיסמה עבור החשבון המשמש להפעלת השירות 'חיפוש בעזרה של Windows SharePoint Services'. לשם כך, הקלד את השורה הבאה בשורת פקודה בכל שרת בחוות השרתים ולאחר מכן הקש ENTER:
stsadm.exe -o spsearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword
5.       עדכן את הסיסמה עבור חשבון ברירת המחדל לגישה לתוכן המשמש את השירות 'חיפוש בעזרה של Windows SharePoint Services'. לשם כך, הקלד את השורה הבאה בשורת פקודה בכל שרת בחוות השרתים ולאחר מכן הקש ENTER:
stsadm.exe -o spsearch -farmcontentaccessaccount DomainName\UserName -farmcontentaccesspasswordNewPassword



בהצלחה !
רון נס.
 ============================================================================================================================================================================================


Hi Everybody,

This article describes how to change the passwords for service accounts on SharePoint 2010
To change the passwords for service accounts in SharePoint 2010, follow these steps.

Note If the Microsoft SQL Server service uses a domain account, and the password for that domain account is either expired or invalid, make sure that you update the password for the domain account first.

1.     Update the password for the account that is used by the Central Administration application pool. To do this, follow these steps:
a.     On all servers in the server farm, open a command prompt, type the following line, and then press Enter:
c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Bin
b.     Do one of the following:
§  On the server that hosts the Central Administration website, type the following line at the command prompt, and then press Enter:

stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword

§  On all other servers in the server farm, type the following line at the command prompt, and then press Enter:

stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword -local
c.     Restart Internet Information Services (IIS) 7.0. To do this, type the following line at the command prompt, and then press Enter: 
iisreset /noforce

2.     Verify that the Administration Application Pool Credential Deployment job definition is no longer displayed on the Timer Job Definitions page of SharePoint Central Administration. To do this, follow these steps:
 .      Open SharePoint Central Administration, click Operations, and then click Timer job definitions under Global Configuration.
a.     Verify that the Administration Application Pool Credential Deployment job definition is no longer displayed in the list.

Note If the Administration Application Pool Credential Deployment job definition is displayed in the list, wait until it disappears from the list.
3.     Update the password for the application pool account that is used by web applications on the server farm. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:
stsadm -o updateaccountpassword -userlogin DomainName\UserName -password NewPassword –noAdmin 


§  Steps 4 and 5 are not required unless you’re running SharePoint Search.  In most SharePoint installations, this service is not running so you don’t need to do these steps


4.     Update the password for the account that is used to run the Windows SharePoint Services Help Search service. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:
stsadm.exe -o spsearch -farmserviceaccount DomainName\UserName -farmservicepassword NewPassword

5.     Update the password for the default content access account that is used by the Windows SharePoint Services Help Search service. To do this, type the following line at a command prompt on every server on the server farm, and then press Enter:

stsadm.exe -o spsearch -farmcontentaccessaccount DomainName\UserName –farmcontentaccesspasswordNewPassword


Good Luck :)
Ron Ness.

No comments:

Post a Comment