2013年8月30日 星期五

Active Directory 網域服務並未對另一個目錄伺服器執行已驗證的遠端程序呼叫 (RPC),因為目的地目錄伺服器所需的服務主體名稱 (SPN) 並未登錄在解析 SPN 的金鑰發佈中心 (KDC) 網域控制站上。

  1. Open a command prompt as an administrator. To open a command prompt as an administrator, click Start. In Start Search, type Command Prompt. At the top of the Start menu, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Run the command setspn -l hostname, where hostname is the actual host name of the domain controller. This command displays the SPNs that the domain controller has registered.
  3. Ensure that the domain name in each SPN listing is correct.
  4. If the SPNs are not correct, run the command repadmin /syncall domainname, where domainname is the name of the domain of the domain controller.
  5. Wait 15 minutes, and then run the setspn -l hostname command again and review the registered SPNs.


2013年8月27日 星期二

Exchange 2003 與 Exchange 2010 混和模式,升級通訊清單後異常無法修改

Exchange 2003 與 Exchange 2010 混和模式 升級通訊清單後,造成原本的通訊清單分類,無法分類使用ADSIEDIT 修改清單的serach 字串,後右鍵套用

Exchange 2010 OWA Couldn't find a base theme 解決

開啟 Exchange Management Shell 

輸入 C:\Program Files\Microsoft\Exchange Server\V14\Bin\UpdateCas.ps1

等他跑完後

再於命令提示字元輸入 iisreset 重啟IIS 即可

Exchange 2010 未安裝 exchange management shell 解決方式

今天给Exchange 2010服务器安装SP2,发现Exchange Management Shell (EMS)图标消失。后经过查询找到如下解决方法。此方法是针对SP1的,但经过测试也适用于SP2。
Problem: After installing Service Pack 1 for Exchange Server 2010, the Exchange Management Shell is missing.
Cause: Missing certain .ps1 scripts from the bin directory, removed during SP1 setup.Resolution: There is no resolution at this time.

Workaround:
1.
Verify that the ConnectFunctions.ps1 RemoteExchange.ps1 and CommonConnectFunctions.ps1files are present in the %ExchangeInstallPath%\bin directory.
NOTE : If these files are missing, you can copy the files from the Exchange Server 2010 Service Pack 1 installation media to the %ExchangeInstallPath%\bin directory.
These files are present in the \setup\serverroles\common folder.
2.
Right click an open area on the Desktop, click New , click Shortcut .
3.
In the Type the location of the item , type in the text below:
%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". '%ExchangeInstallPath%\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto"
4.
Name the shortcut Exchange Management Shell and click Finish .
5.
Right click the Exchange Management Shell shortcut, click Properties and remove the text from Start In field on the Shortcut tab.
6.
On the Shortcut tab, click Change Icon , click Browse and type in the text below:
%SystemRoot%\Installer\{4934D1EA-BE46-48B1-8847-F1AF20E892C1}\PowerShell.exe
7.
Select the Exchange icon and click OK .
8.
Click Apply and click OK .
9.
Copy the new Exchange Management Shell shortcut to this location:
%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Exchange Server 2010