Thursday, December 17, 2020

WSUS 2012 R2 problem

Symptoms: 
WSUS fails direct import from MS Update Catalog
(Error 80131509)

Cause:
The Active-X plugin or any other subsequent component involved in importing updates from the Microsoft update catalog utilizes .NET4 need  enforce "strong" ciphers for .NET 4.0:

Solution:
Add registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\
Name: SchUseStrongCrypto
Type: DWORD
Value: 1

Restart


Symptoms:
Event ID 31 Windows Update failed to download an update (.msu)

Cause:
Missing mime-type on the IIS server

Solution:
- Open IIS
- Expand Sites > WSUS Administrator
- Double click mime-type icon from right
- Add new mime-type
    File Name extension: .msu
    mime-type: application/octet-stream

Restart WSUS

Symptpms:
Import Out of Band Updates to WSUS using Microsoft Edge error "This update cannot be imported into Windows Server Update Services, because it is not compatible with your version of WSUS"

Cause:

Solution:
- Open Microsoft Edge Options > Default Browser
- Internet Explorer (mode) is installed in Settings > Apps > Optional Features
- Change "Allow Sites to be reloaded in Internet Explorer Mode" to 'Allow'
- Add links to add to Microsoft Edge IE Mode 
- Remove all other links in the scope of *.catalog.update.microsoft.com, and leave
    https://catalog.update.microsoft.com/
    https://catalog.update.microsoft.com/v7/site/Home.aspx 

Other things:
If the "Default" setting will not be sufficient to allow the installation and use of the ActiveX plugin.
Go back to your update catalog tab, Install the ActiveX if you have not done on this box already.
Check if you have not setup restrictions to execute or install ActiveX plugins in IE directly or via group policy.

Wednesday, November 18, 2020

The boot configuration data for your PC is missing: EFI\Microsoft\Boot\BCD

Symptoms: 
The boot configuration data for your PC is missing or contains errors.
File :\EFI\Microsoft\Boot\BCD
Error code: 0xc000000f 

Cause: 
Windows bootloader configuration – Boot Configuration Data (BCD) has been corrupted or even completely removed

Solution (Manually):
diskpart
list disk
sel disk 0
list volume
find volume without drive letter, FAT32. sample 3
sel vol 3
you may need
 for EFI
set id=c12a7328-f81f-11d2-ba4b-00a0c93ec93b 
Or for Basic data
SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7

choose unused drive letter
assign letter K:
exit

cd /d K:\EFI\Microfsoft\Boot\
attrib BCD -s -h -r
ren BCD BCD.bak
bcdboot C:\Windows /l en-us /s k: /f ALL

test using bcdedit





Monday, November 16, 2020

SCF Windows Resource Protection Could not Perform the Requested Operation

Solution one of:

1 Scan disk
CHKDSK C: /r 

2. Modify security descriptor
ICACLS C:\Windows\winsxs

3. Reinstall