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

GoogleSearch

label:jmail@xxxx.tw from:Dxx8730 before:2012/11/30 after:2012/09/01

WSUS resetauthorization

wuauclt /reportnow
wuauclt /detectnow
wuauclt /resetauthorization /detectnow
C:\Windows\WindowsUpdate.log

teredo enterpriseclient


Restarted Machine

Ran ipconfig /alll the tunnel was still disconnected

Then I tried...

netsh interface ipv6 set teredo enterpriseclient

IIS TIMEOUT

%windir%\system32\inetsrv\appcmd set config /section:asp /session.timeout:00:15:00

OUTLOOK 無法XML

Windows10 開始失效 釘選失效

Get-AppxPackage | % { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml" -verbose }

Windows10 health Check

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth

快速鍵

windows鍵+Tab:開啟多重虛擬桌面功能

windows鍵+Ctrl+D:開啟一個新的虛擬桌面

windows鍵+Ctrl+F4:關閉虛擬桌面

windows鍵+Ctrl+左/右:切換虛擬桌面

windows鍵+A:開啟重要訊息中心

windows鍵+C:透過語音功能啟動 Cortana

 windows鍵+D:顯示桌面

windows鍵+E:打開檔案瀏覽器

windows鍵+G:打開 Xbox 遊戲的錄製工具,讓你可以錄製遊戲或擷取遊戲畫面

windows鍵+H:開啟 windows 10 app 的分享功能

windows鍵+I:打開 windows 10 的設定功能

windows鍵+K:啟動和無線顯示器或音響設備的連接功能

windows鍵+L:鎖定螢幕畫面

windows鍵+P:投影螢幕畫面

windows鍵+R:開啟命令提示字元

windows鍵+S:啟動 Cortana 功能

windows鍵+Shift+左/右:讓 app 在不同的顯示器之間移動


windows 鍵+上/下/左/右方向鍵:把視窗貼齊到畫面邊緣

我的最愛Favorites Win10

C:\Users\Book\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\AC\MicrosoftEdge\User\Default\Favorites

Windows Firewall




Import-Module NetSecurity

Set-NetFirewallRule -DisplayName “File and Printer Sharing (Echo Request – ICMPv4-In)” -enabled True



Import-Module NetSecurity
New-NetFirewallRule -Name Allow_Ping -DisplayName “Allow Ping”  -Description “Packet Internet Groper ICMPv4” -Protocol ICMPv4 -IcmpType 8 -Enabled True -Profile Any -Action Allow

netsh advfirewall>FIREWALL add rule name=”KMS” dir=in action=allow protocol=tcp
localport=1688


2016年4月8日 星期五

disable OWA URL redirects in emails




 redir.aspx?REF=pq5G9nmgd7aSq8xaGpRVRztdi1S-1xbct4_CrLYu-1bT2zdyiF_TCAFodHRwOi8vd3d3Mi5jY2gub3JnLnR3L2Q4MzAwL3NlYXJjaC8.

 set my URL length to 6144 and query length to 4096 and have not had an issue with this since.

http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits



2016年3月31日 星期四

重安裝 Uninstall Movies & TV


First, open PowerShell as administrator. Open the Start menu, search for “PowerShell,” right-click the PowerShell shortcut, and select “Run as administrator.” Agree to the UAC prompt.



 

Get-AppxPackage *zunevideo* | Remove-AppxPackage

 

Get-AppxPackage *zunevideo* | Add-AppxPackage

Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

 

2016年3月9日 星期三

Microsoft.Exchange.RpcClientAccess.BufferTooSmallException


當使用MAPI Http來連接時
Address List 超過1400筆會使Exchange 2016無法連線,
停用MAPI Http只用RPC OVER HTTP就OK


將數量降到1355左右就都OK了

Microsoft.Exchange.RpcClientAccess.BufferTooSmallException