Profile cover photo
Profile photo
Alexander Freudenberg
About
Alexander's posts

"There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070006)"

Get-WindowsupdateLog

2017.03.23 23:44:49.4602790 1192 3316 ComApi * START * Init Search ClientId = UpdateOrchestrator
2017.03.23 23:44:49.4602820 1192 3316 ComApi * START * Search ClientId = UpdateOrchestrator
1601.01.01 01:00:00.0000000 3024 3748 Unknown( 126): GUID=44e91a30-0234-37f0-d2f9-777240b02428 (No Format Information found).
2017.03.23 23:44:49.4613096 1192 3316 ComApi ISusInternal:: BeginFindUpdates failed, hr=80070006
2017.03.23 23:44:49.4613133 1192 3316 ComApi Exit code = 0x80070006

Solution:

sc config wuauserv type= share

Reboot.


Post has attachment
Wie man ein Rollenspiel beendet. Frei nach Sid Meier und Bruce Shelley.


Photo

How to identify if Windows 10 is a LTSB edition

wmic path win32_Operatingsystem get OperatingsystemSKU /value

4 = Normal
125 (0x7d) = LTSB

How to encode and decode Base64 with PowerShell

$Text = ‘user@home.de’
$Bytes = [System.Text.Encoding]::ASCII.GetBytes($Text)
$EncodedText =[Convert]::ToBase64String($Bytes)
$EncodedText

$Text = ‘Pa$$w0rd’
$Bytes = [System.Text.Encoding]::ASCII.GetBytes($Text)
$EncodedText =[Convert]::ToBase64String($Bytes)
$EncodedText

$Text = ‘dXNlckBob21lLmRl’
$DecodedText =[System.Text.Encoding]::ASCII.GetString([Convert]::FromBase64String($Text))
$DecodedText

$Text = ‘UGEkJHcwcmQ=’
$DecodedText =[System.Text.Encoding]::ASCII.GetString([Convert]::FromBase64String($Text))
$DecodedText

How to test SMTP AUTH using Telnet

$Text = ‘username’
$Bytes = [System.Text.Encoding]::ASCII.GetBytes($Text)
$EncodedText =[Convert]::ToBase64String($Bytes)
$EncodedText

$Text = ‘password’
$Bytes = [System.Text.Encoding]::ASCII.GetBytes($Text)
$EncodedText =[Convert]::ToBase64String($Bytes)
$EncodedText

telnet mailserver.com 587
EHLO testclient
AUTH LOGIN
>>>> 334 VXNlcm5hbWU6
dXNlcm5hbWUuY29t
>>>> 334 UGFzc3dvcmQ6
bXlwYXNzd29yZA==
>>>> 235 Authentication succeeded
MAIL FROM: user@home.de
>>>> 550 STARTTLS required
Hier wird es schwierig. Wenn es klappt, geht es so weiter:

RCPT TO: recipient@somewhere.com
DATA
Subject: Hallo

Testbeispiel
.

QUIT




https://www.ndchost.com/wiki/mail/test-smtp-auth-telnet
https://www.nerd2nerd.org/projekte/services/mail-server/emails-per-telnet-versenden

Post has attachment
Bei der Erstellung eines Systemwiederherstellungspunktes gibt es folgende Fehlermeldung:

Event ID 513, Quelle CAPI2
Fehler beim Kryptografiedienst während der Verarbeitung des "OnIdentity()"-Aufrufobjekts "System Writer".

Details:
AddLegacyDriverFiles: Unable to back up image of binary Microsoft-Verbindungsschichterkennungsprotokoll.

System Error:
Zugriff verweigert
.

Zur Lösung muss NT-AUTORITÄT\DIENST zum Security-Deskriptor des MSLLDP-Dienstes (eigentlich Kerneltreiber) hinzugefügt werden:

sc sdset MSLLDP D:(D;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BG)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SO)(A;;LCRPWP;;;S-1-5-80-3141615172-2057878085-1754447212-2405740020-3916490453)(A;;CCLCSWLOCRRC;;;SU)
accesschk.exe -c mslldp

Quelle: https://answers.microsoft.com/en-us/windows/forum/windows8_1-update/event-513-errors-when-setting-a-restore-point-or/0ac566b0-b16b-4e6f-9344-27800151e21d

How to create a XML document

static XmlDocument CreateToast(string sText)
{
var xDoc = new XDocument(
new XElement("toast",
new XElement("visual",
new XElement("binding", new XAttribute("template", "ToastGeneric"),
new XElement("text", sText)
) //binding
)//visual
,
new XElement("actions",
new XElement("action", new XAttribute("activationType", "background"), new XAttribute("content", "OK"), new XAttribute("arguments", "OK"))
) //actions
) //toast
);
var xmlDoc = new XmlDocument();
xmlDoc.LoadXml(xDoc.ToString());
return xmlDoc;
}

How to determine the list of dlls hosted by WmiPrvSE

tasklist /M /FI "IMAGENAME eq WmiPrvSE.exe"

https://technet.microsoft.com/de-de/library/cc727086(v=ws.10).aspx

EventID 5612

WMI has stopped WMIPRVSE.EXE because a quota reached a warning value

How to detect if a Windows Hotfix is installed

(get-Hotfix -id KB4010251 -ErrorAction SilentlyContinue) -ne $null
False

(get-Hotfix -id KB4010250 -ErrorAction SilentlyContinue) -ne $null
True
Wait while more posts are being loaded