2017年8月29日 星期二

Recovery Items root 無法刪除

將信箱從2010搬去2016時卡住,很神奇的它有Recovery Items 1085671個


Get-MailboxFolderStatistics -Identity cch\169102 | ft name,itemsinfolder -AutoSize












Loading 20mins up








工具
https://mfcmapi.codeplex.com/


將recovery Item顯示出來
http://hasslauer.com/blog/?p=245



2017年2月10日 星期五

2010信箱搬移至2016時,OUTLOOK OWA都無法連線






因為有些帳號是從20年前從exchange5.5轉過來,一直linked的舊的樹系

但從EXCHANGE 2000 2003 2007 2010 轉換都沒問題,現在到2016就不行了

也許是用mapi https關係吧..


Set-User -Identity 4781122 -LinkedMasterAccount $null

設成NULL就正常了

get-mailbox -OrganizationalUnit "ou=Dc=cdd,dc=com,dc=tw" -resultsize unlimited -RecipientTypeDetails LinkedMailbox | Set-User -LinkedMasterAccount $null






2010信箱搬移至2013/2016時,OUTLOOK無法連線

將從2010信箱搬移至2016時,有時用OUTLOOK 201X信箱會無法連線,autodiscvoer打完密碼後無法継續下個步驟就停住了,但OWA郤可以正常進入

在每一台2016上執行,Restart-WebAppPool MSExchangeAutodiscoverAppPool,重設過等個五分鐘就正常了



http://www.admin-enclave.com/en/articles/exchange/266-troubleshooting-connection-issues-from-users-migrated-from-exchange-2010-to-exchange-2013-2016.html


Solution 02:
As written in KB 3097392 the MSExchangeAutodiscoverAppPool needs to be restarted on the affected Exchange 2016 server (keep noted if you have a cluster you need to perform that on all of them)
Restart-WebAppPool MSExchangeAutodiscoverAppPool
You might wish to run that on a periodic state (e.g. every 30min). If you wish to do that check the follow URL.

2016年6月28日 星期二

ServerCore

JOIN DOMAIN
netdom join na-st02 /domain:cch.org.tw /userd:gmail /passwordd:net111



netsh interface ipv4 show interfaces
DNS
netsh interface ipv4 add dnsserver name="乙太網路 2" address=172.28.25.5 index=1

IP
netsh interface ipv4 set address name="乙太網路" source=static address=172.28.26.122 mask=255.255.240.0 gateway=172.28.29.253
netsh interface ipv4 set address name="乙太網路 2" source=static address=172.28.26.152 mask=255.255.240.0 gateway=172.28.29.253


RemoteDesktop

Cscript %windir%\system32\SCRegEdit.wsf /ar

Cscript %windir%\system32\SCRegEdit.wsf /cs 

GUI 完整安裝

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart

jump-lists-reset-clear-windows-8-

:: Created by: Shawn Brink
:: http://www.eightforums.com
:: Tutorial:  http://www.eightforums.com/tutorials/9611-jump-lists-reset-clear-windows-8-a.html


del /F /Q %APPDATA%\Microsoft\Windows\Recent\*

del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*

del /F /Q %APPDATA%\Microsoft\Windows\Recent\CustomDestinations\*

taskkill /f /im explorer.exe

start explorer.exe

Clear Read-Only flag on Disk in Windows 7 using Diskpart 

attributes disk clear readonly

san policy=onlineall