Skip to main content

Posts

Showing posts with the label windows server

Verification of outbound replicaton failed. Error reading the NTDS settings on replication source domain

  DC userAccountControl 0x81000 Cả bài viết dài, chỉ cần quan tâm đúng 1 dòng highlight dưới cùng là tháo gỡ nút thắt cả hệ thống Got a question from a friend about a weird problem when trying to promote a 2012R2 Domain Controller. The error is in the prereq test before promoting: Verification of outbound replicaton failed. Error reading the NTDS settings on replication source domain controller 2k3dc.secid.local. Domain Controller data not found for the specified Active Directory domain controller. And I also got the info that the 2k3DC only was a member of the Domain Users group. That’s not easy to change in the ADUC tool, Member Of Tab in the computer object. Something weird was going on. From DCDIAG.EXE I got the following info: Starting test: MachineAccount The account 2K3DC is not a DC account.  It cannot replicate. Warning:  Attribute userAccountControl of 2K3DC is: 0x81000 = ( UF_WORKSTATION_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION ) Typical se...

KHẮC PHỤC LỖI SSL/TLS 1.0, 1.1 TRÊN WEB

Các web browser mới đều đã bắt buộc website phải dùng SSL/TLS version 1.2 trở lên Từ Windows 8.1 và Windows Server 2012R2 trở đi thì đã enable default TLS 1.2. Còn Windows 7 và Windows Server 2012 về trước thì chưa, dù rằng có hỗ trợ Để enable thì cần sửa registry như sau: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client] “DisabledByDefault”=dword:00000000 “Enabled”=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server] “DisabledByDefault”=dword:00000000 “Enabled”=dword:00000001 Tiếp theo là enable TLS 1.2 cho .NET Framework 3.5.1: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727] “SystemDefaultTlsVersions”=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727] “SystemDefaultTlsVersions”=dword:00000001

Removing .NET Framework 4.5/4.5.1 removes Windows 2012/2012R2 UI and other features

Removing .NET Framework 4.5/4.5.1 removes Windows 2012/2012R2 UI and other features This is Vimal Shekar and Krishnan Ayyer from the Windows Support team. Today in this blog, we will be discussing about an issue that we are seeing increasingly being reported in support. We will look at the effects of removing .Net Framework from a Windows Server 2012/2012 R2 installation. Windows Server 2012 includes .NET Framework 4.5 and Windows Server 2012 R2 includes .NET Framework 4.5.1. The .NET Framework provides a comprehensive and consistent programming model to build and run applications (including Roles and Features) that are built for various platforms. Windows Explorer (Graphical Shell), Server Manager, Windows PowerShell, IIS, ASP .NET, Hyper-V, etc, are all dependent on .NET Framework. Since there are multiple OS components dependent on .Net Framework, this feature is installed by default.  Therefore, you do not have to install it separately. It is not recommended to u...

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

[HYPER-V] LỖI "ENABLING REPLICATION FAILED" DO ISCSI DISKS ATTACHED

LỖI "ENABLING REPLICATION FAILED" DO ISCSI DISKS ATTACHED Khi enable replication cho 1 server có gắn card iSCSI sẽ bị lỗi như bên dưới  Nguyên nhân là do tính năng backup (checkpoint) của Hyper-V host lock. Vì vậy cần phải disable tính năng này, làm như sau: Vào Setting - Intergration Services của máy ảo Clear mục " Backup (Volume checkpoint)"

[Hyper-V] - Lỗi không boot vào được sau khi convert máy vật lý sang máy ảo

XỬ LÝ LỖI KHÔNG BOOT ĐƯỢC VÀO MÁY ẢO SAU KHI CONVERT TỪ MÁY VẬT LÝ BẰNG DISK2VHD Sau khi convert server vật lý sang file VHD để import vào Hyper thì khi start máy ảo lên màn hình máy ảo chỉ nhấp nháy con trỏ chuột trên màn hình đen (blinking cursor) NGUYÊN NHÂN Do máy vật lý sử dụng ổ đĩa cài OS được format theo chuẩn GPT (thay vì MBR như truyền thống, tham khảo GPT và MBR ) XỬ LÝ Bước 1: chuyển ổ GPT thành MBR Copy file VHD của ổ đĩa chứa OS về 1 máy tính Windows 8 trở lên Trên máy Windows 8+ click phải chuột lên file VHD vừa copy, chọn lệnh Mount . Lúc này dùng 1 phần mềm miễn phí (vd: Mini Partition Wizard ) để convert ổ đĩa vừa mount từ GPT  -> MBR Sau đó Delete phần Partition dư ra ở phần đầu ổ đĩa được mount (khoảng vài trăm MB) Set " Active " cho ổ đĩa này để là ổ đĩa boot OS Nhấn Apply để phần mềm thực thi tác vụ Sau khi phần mềm làm xong, tắt phần mềm Mini Partition Wizard, vào My Computer chọn eject ổ đĩa đang mount . Copy file VHD vừa đư...