Skip to main content

Posts

Showing posts with the label 2016

SET TIMEOUT OWA

 Mặc định timeout của OWA là 6hrs Chúng ta có thể set lại timeout bằng cách sau (vd 5 phút): Set-OrganizationConfig -ActivityBasedAuthenticationTimeoutInterval 00:05:00

MIGRATE PUBLIC FOLDER TỪ EXCHANGE 2010 QUA 2016

Quá trình chuyển đổi mailbox từ 2010 qua 2016 sẽ cần giai đoạn trung gian. Để đảm bảo user trên 2010 và 2016 đều có thể truy cập được Public Folder trong giai đoạn trung gian này thì ta cần làm Proxy Public Folder 1. Create an empty mailbox database on each public folder server. New-MailboxDatabase -Server EXVDC3 -Name ProxyPublicFolderDB -IsExcludedFromProvisioning $true Lưu ý là database này chỉ chứa Proxy Public Folder Mailbox, không được chứa bất kỳ mailbox nào khác. 2. Create a proxy mailbox within the new mailbox database and hide the mailbox from the address book New-Mailbox -Name ProxyPublicFolder -Database ProxyPublicFolderDB Set-Mailbox -Identity ProxyPublicFolder -HiddenFromAddressListsEnabled $true 3. Enable AutoDiscover to return the proxy public folder mailboxes Set-MailboxDatabase ProxyPublicFolderDB -RPCClientAccessServer EXVDC3 4. Configure the user mailboxes to allow access to the legacy on-premises public folders Set-OrganizationConfig -PublicFoldersEnabled Remote -R...

LỖI GỬI MAIL TỪ EXCHANGE 2016 QUA EXCHANGE 2010 KHÔNG ĐƯỢC

  Lỗi do chưa set Permission cho Exchange Authentication trong Receive Connector : Default Connector Relay Connector

LỖI "The provided partition "Migration...." is not a valid Migration mailbox"

  Solution for a valid Migration mailbox could not be found for this organization To address this issue, we will: Delete Migration mailbox in Active Directory Users and Computers Recreate Migration mailbox with /PrepareAD command Enable Migration mailbox with Exchange Management Shell 1. Delete Migration mailbox in Active Directory Users and Computers We do see the mailbox in ADUC, let’s remove it. If you don’t see it, search for it. It might be in a different container than the default container  Users . We can always verify in Exchange Management Shell if the Migration mailbox is present. If it shows up in the output, it means that it’s present and enabled. The output should be empty. [PS] C:\> Set - ADServerSettings - ViewEntireForest $true ; Get - Mailbox - Identity "Migration.8f3e7716-2011-43e4-96b1-aba62d229136" - Arbitration | Format-Table Name , ServerName , Database , AdminDisplayVersion , ProhibitSendQuota Copy 2. Recreate Migration mailbox with /Prepare...

LỖI HYPER-V “FAILED TO CHANGE CURRENT STATE”

LỖI “FAILED TO CHANGE CURRENT STATE” Hôm nay mình có thao tác mount cái disk máy ảo (VHDX) rồi copy và create file trực tiếp trong cái disk ảo đó (mounted-disk) Dẫn đến là sau khi start lại VM thì báo lỗi “ Failed to change current state ”. Nguyên nhân là do việc copy & tạo file trực tiếp trong mounted-disk làm cho disk không còn đúng trạng thái ban đầu . Máy ảo này có 2 disk: disk 1 làm OS, disk 2 làm Data.Tìm hiểu kỹ hơn bằng tính nằng “ Inspect disk ” thì phát hiện disk 1 bị lỗi “ Property ‘MaxinternalSize’ does not exist in class ‘Msvm_VirtualHardDiskSettingData’ .” Nguyên nhân như đã nói ở trên, nó làm cho các bản Checkpoint (Snapshot) mất link với Disk gốc (Parent disk) Để khắc phục, chúng ta cần dùng lệnh Set-VHD để link Checkpoint với Parent Disk ·         Cần chạy lệnh với quyền Administrator “ Run as administrator ” ·         set-vhd "D:\Hyper-V-Replica\Virtual Hard Disks\XXX-d...

Hyper-V Checkpoints: Why, When and How to Use Them

Hyper-V Checkpoints: Why, When and How to Use Them Hyper-V   January 18, 2019   Posted by:  Maria Talley Before making changes in Hyper-V, whether it involves software configuration changes or a new software update, it's a good idea to first create a Hyper-V  checkpoint . A  Hyper-V checkpoint  follows the same idea of the more well-known Microsoft Windows  restore point   that many Windows users have utilized in the past before adding new applications or making other system changes to their machines. Hyper-V checkpoints allow IT administrators to easily save the existing state of a virtual machine before any changes are made so that if a problem crops up due to the changes, the VM can revert to its previous state. That's a very useful feature for VM administrators, since new configuration changes can always potentially bring new challenges to enterprise IT systems. Two types of checkpoints are available for use ...

SERVER 2016 - LỖI HYPER-V KHÔNG MỞ ĐƯỢC MANAGEMENT

SERVER 2016 - LỖI HYPER-V KHÔNG MỞ ĐƯỢC MANAGEMENT  Mới cài server 2016, hí hửng mở Hyper-V lên để action và ...wtf....các services đều bình thường, mọi thứ bình thường, vậy là sao?? Gặp cái vụ này cần chạy dòng code sau trong Powershell để build lại cái WMI Component. MS lúc nào cũng gài ae IT những cái lỗi lặt vặt tào lao như thế này Run “ MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof ” This rebuilds the WMI components for virtualization. [edit for clarity] This is run on the Hyper-V host. Voila! Nguồn:  https://community.spiceworks.com/how_to/122307-fix-error-managing-hyper-v-server-2012-r2-from-windows-10