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

Tuesday, March 19, 2019

DNS server loses all interfaces

Symptoms:

Cause:
Possibly by multi-homed network card

Solution:
dnscmd servername /ResetListenAddresses

Wednesday, August 1, 2018

Outlook: IMAP - The account name is already being used. Choose another name whwn channging account option

Symptoms: 
Changing Outlook IMAP account / reconfigure or enabling "Purge deleted messages when leaving IMAP folders" failed with

"The account name is already being used. Choose another name"

Cause: 
Corrupt Outlook Profile

Solution:
Recreate Outlook Profile

Note:
There is quick way to enable "Purge deleted messages when leaving IMAP folders" using regedit (may applicable for other option) without recreate profile

HKEY_CURRENT_USER/Software\Microsoft\Windows NT\Current Version\Windows Messaging Subsystem\Profiles\Outlook\9375cff0413111d3B88A00104B2A6676 (may be different, find with multiple subkeys).

In every subkey check by double clicking "Account Name" to get readable account

create/set DWord key EnablePurgeOnSwitch value = 1



Tuesday, July 31, 2018

Mikrotik RB750GL failed to create backup

Symptoms:
Mikrotik RB750GL Backup gave error
echo: backup,critical error creating backup file: could not read all configuration files

and small size of .backup file

Cause:

Solution:
[admin@MikroTik] >/ip ssh regenerate-host-key
This will regenerate current SSH host keys, yes? [y/N]:
y                                       -> go with Ctrl C
[admin@MikroTik] >                      -> wait...
13:12:28 echo: ssh,critical SSH host key regenerated!
[admin@MikroTik] > 

[admin@MikroTik] >/system reboot         -> if needed

Monday, September 25, 2017

Microsoft Management Console: "An attempt was made to reference a token that does not exist"

Symptoms:
"An attempt was made to reference a token that does not exist" when open Administrative Tools

Cause:
Broken Link or corrupt file

Solution:
Run a Command Prompt in ELEVATED MODE

Navigate to %WINDIR%\System32

Re-register the required DLL files using the following command:

For /F %s in ('dir /b *.dll') do regsvr32 /s %s