Tag: WindowsServer
-
Solving an issue with user profiles after Remote Desktop Services role removal
I recently received a task to remove the Remote Desktop Services role on Windows Server 2022 with the User Profile Disk configured. Initially, the task seemed simple delete the role and reboot the server. After this operation, it turned out that a profile error appears when any user logs in. I checked again to see…
-
How to configure an IP address in the Windows Server
The article covers multiple ways to configure IP addresses in the Windows Server. By default, all connected interfaces try to get an IP address via DHCP. Configuring IP address via GUI The fastest way to open IP configuration settings is to right-click on the Start, then click on Run. In the opened window type ncpa.cpl…
-
Azure Backup Server can’t connect to VMware Server (error code: 0x80990EF2)
Recently, I have checked an Azure Backup Server that backups VMs to Azure Recovery Vault. It didn’t work and nobody knew why it stopped to connect to the VMware server. I connected to the backup server and in the console found an error message: VMware version: 7.0.2Error: Data Protection Manager Error ID: 33623Unable to communicate…
-
Windows 11 VM won’t start on different host and throw “An error occured while attempting to start the selected virtual machine”
Today I tested the fail-over of a Windows 11 VM between two Hyper-V hosts and found that the VM doesn’t start on a different host. I opened the mentioned log file and found an issue with a key protector. Text description of the error: The Host Guardian Service Client failed to unwrap a Key Protector…
-
How to install Windows Update via Powershell
There is a popular opinion that Windows management means working with GUI. Using a mouse is mandatory. It was true a long time ago but now you can do anything in Windows if you use Powershell. Let’s take a look at Windows Update installation via Powershell. 1. Install PSWindowsUpdate module (one-time operation): 2. Afterward it…
-
Install-Module -Name VMware.PowerCLI throws PackageManagement\Install-Package : Authenticode issuer
Recently I tried to install VMware PowerCLI for scripting some tasks for ESXi but got this error. Get-Modules doesn’t show anything. That was strange. I checked the Powershell Modules folder and found that on this host was an old installation. I have deleted all folders and re-checked if the operation was successful. Afterward, I retried…
-
How to reduce VM date disk size using the example of Azure VM
Sometimes you need to change a VM data disk size, but disk expanding is a simple operation. If you need to reduce disk size, it is not an obvious operation. For example, the Azure portal shows you that this operation can’t be performed. ⚠️ Caution ⚠️ Before starting any actions with a disk, make sure…
-
From: WL Warning: The current Thread ran into a timeout while entering a writelock [-1073741824] . LockReason: “ScheduleThreadLib1”
Читать эту же статью на русском 👉 https://dzen.ru/media/samsitblog/from-wl-warning-the-current-thread-ran-into-a-timeout-while-entering-a-writelock-1073741824–lockreason-schedulethreadlib1-64b78e8f338eaf5590a45c0e Recently, I got on the PRTG Server strange behavior of PRTG Core Server Service. The service restarted each 20 min and, in fact, the monitoring doesn’t work at all. I decided to look at the logs of the PRTG Core Server that are located on the <PRTG…
-
How to update ssl certificate for RD Gateway via powershell
Recently, I tried to find a way to update the automatic certificate for the RD Gateway service. Unfortunately, there are no ready-to-use cmdlets (no idea why Microsoft didn’t write them). In this case, I used Get-CimInstance and Invoke-CimMethod commands to achieve the goal. The code below updates the certificate and restarts the service. Don’t forget…