RSSAmplifier

Blog

Michls Tech Blog

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on...

michlstechblog.infoRSS feed ↗15 posts

Latest posts

Windows: Remote Desktop Client returns “internal error”

Hi, if the remote desktop client return an internal error window check if the tls/ssl connection to the RDP port is working correctly: For example from a linux machine or from a wsl(windows subsystem for linux) session: If there is no certificate shown. Check system eventlog for errors with ID 36870 If that error occures. Continue reading Windows: Remote Desktop Client returns internal error

Unbound: Build (Cross compile on Fedora) it for Windows

Hi, here are the steps to cross compile the Windows executables for unbound from source on (Fedora 42) linux. Michael

Smartmeter: vzlogger on Orange Pi Zero with homeassistant integration

Hi, these are the steps to install vzlogger on an Orange Pi Zero by using a volkszaehler TTL device as interface to get the measures of the electricity meter. Connect the Output to the Pin 10/GPIO199/UART1_RX First of all install Armbian . Enable UART1. Open /boot/armbianEnv.txt and add the device tree overlay. overlay_prefix=sun8i-h3 overlays=uart1 Reboot Continue reading Smartmeter: vzlogger on…

Tasmota: Build firmware for Smart Meter Interfaces

Hi, SML feature is not included in default builds. You have to compile it by yourself. Create a python virtual environment michael@debdev ~ # sudo apt install python3 python3-venv michael@debdev ~ # python3 -m venv tasmota-build-sml michael@debdev ~ # source tasmota-build-sml/bin/activate (tasmota-build-sml) michael@debdev ~ # pip install --upgrade pip (tasmota-build-sml) michael@debdev ~ # pip…

Windows: sysprep fails with “Failure occurred while executing ‘Sysprep_Clean_Opk’ “

Hi, after an Upgrade from Windows 10 to Windows 11 on a customer PC sysprep is no longer working. Unfortunataly the error messages in C:\Windows\System32\sysprep\Panther\setuperr.log does not really help to find the root cause: Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666 Error SYSPRP RemoveUninstall:Failed to instantiate uninstall interface; hr =…

Windows Powershell: CTRL-Space is no longer working

Hi, the powershell has a slimmed down intellisense to complete commandlet names, functions, .NET types etc. The error appears as follows: In powershell only a space character is written to the console or if you press Ctrl-R a ^R is shown. If this no longer works the PSReadline module is not loaded. PS D:\ Import-module Continue reading Windows Powershell: CTRL-Space is no longer working

Windows: Convert an ETL (Event tracing file) into a human readable format

Hi, event tracing files, for example produced by wusa.exe log parameter, are binary files. The powershell command let Get-WinEvent couldn t open it but Windows Eventviewer is able to read those files. There is also an option to convert ETL files. The command line utility tracerpt.exe could convert it in different formats: CSV Evtx Continue reading Windows: Convert an ETL (Event tracing file) into…

Powershell: Simple TCP Client and Server

Hi, these are TCP client and server which can simply used for testing if a specific TCP port is open This is the server side. It listens at port 4444 # Server $iPort = 4444 $TCPListener = New-Object System.Net.Sockets.TcpListener($iPort) $TCPListener.Start(); [byte[]]$ReadBytesBuffer = New-Object byte[] 65536 # Here the code waits for an incoming connection $TCPServer Continue…

Pulseview/Sigrok: Use Hantek 6022bl with 16 channels (Linux/debian)

Hi, there are several ways to get all 16 channels of a Hantek 6022bl working. Methode one: copy fx2lafw-sigrok-fx2-16ch.fw to fx2lafw-saleae-logic.fw. But for me this is NOT RELIABLE: This must be done each time you connect the Hantek to the PC! Backup firmware cp /usr/share/sigrok-firmware/fx2lafw-saleae-logic.fw /usr/share/sigrok-firmware/fx2lafw-saleae-logic.fw.bak Copy 16 Channel firmware over…

Windows: List remaining “pending moves” from an update

Hi, outstanding file movements can be shown with Sysinternals pendmoves.exe or via the registry key PS D:\ Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager' -Name PendingFileRenameOperations Michael

Powershell: List .NET library/assembly references and dependencies

Hi, .NET assemblies often have some dependencies. You can use .NET reflection tolist the dependencies: $ASM=[Reflection.Assembly]::LoadFile('C:\temp\webdriver\lib\netstandard2.0\WebDriver.dll') $ASM.GetReferencedAssemblies() Version Name ------- ---- 2.0.0.0 netstandard 8.0.0.0 System.Text.Json 8.0.0.0 Microsoft.Bcl.AsyncInterfaces 4.2.0.1 System.Threading.Tasks.Extensions 8.0.0.0…

Windows PE: .NET OpenFileDialog raises exception 80040154

Hi, I wrote an .NET C# application where I want to use the OpenFileDialog class for chosing a file for some actions. This program should also run on Windows PE. On Windows PE when I try to open the OpenFileDialog an exception was raised: Retrieving the COM class factory for component with CLSID {DC1C5A9C-E88A-4DDE-A5A1-60F82A20AEF7} failed Continue reading Windows PE: .NET OpenFileDialog raises…

VMware vSphere: Pass variables from vCenter into a virtual machine

Hi, this post describes on how to to pass data, for example a variable, from vCenter into a virtual machine. If VMware tools are installed you can read all guestinfo.* variables within the virtual machine. Get with Powercli all guestInfo variables set at the virtual machine: PS D:\ get-vm MyVM Get-AdvancedSetting guestinfo.* ft Continue reading VMware vSphere: Pass variables from vCenter into a…

Windows Server: Cannot change timezone: You don’t have permissions to perform this task.

Hi, if you were faced with this error when you try to change the timezone on a Windows Server 2022/2025 .. change the timezone by the following methods: open the control panel from a elevated cmd.exe D:\ control.exe timedate.cpl or change the timezone from the server manager Michael

Powershell 7: Use Powershell 7 as WinRM shell

Hi, to enter a Powershell 7 shell over WinRM setup the machines as followed: On the target machine install Powershell 7 and select enable powershell remoting during the setup. On the client machine set enter session PS D:\ $PSSessionConfigurationName = 'PowerShell.7' PS D:\ enter-pssession myHost.myDomain.org Michael