How to read more easily the WindowsUpdate.log file

The C:\Windows\WindowsUpdate.log file is the first basic log file where you can find helpful information when you try to investigate on the installation of updates. However, it is complex to read because the data comes from multiple sources. Among them you have: agent report setup misc sls ep idletmr au PT wutask dnldmgr In this … Continue reading How to read more easily the WindowsUpdate.log file

How to switch between static IP address and DHCP with PowerShell

How to switch between static IP address and DHCP with PowerShell

Starting with Windows Server 2012, you can now handle directly the IP configuration with PowerShell cmdlets. However, despite the way to go from a DHCP IP address to a static IP address is not easy to find, if you know it, it is pretty easy to understand. Please be aware that you will disconnect yourself … Continue reading How to switch between static IP address and DHCP with PowerShell

[Solved] PowerShell run as Administrator doesn’t find the program

[Solved] PowerShell run as Administrator doesn’t find the program

Sometimes on a Windows 2012 R2 server, you can get this error message This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel. The solution Click on the shortcut without the Run … Continue reading [Solved] PowerShell run as Administrator doesn’t find the program

[Solved] New-VM : Failed to add device ‘Synthetic Disk Drive’

[Solved] New-VM : Failed to add device ‘Synthetic Disk Drive’

When you try to create a new VM with PowerShell you may get the following error: New-VM : Failed to add device 'Synthetic Disk Drive'. Cannot attach storage media to the controller because the specified location is in use. The reason The error means that the controller (and not the disk) is already used by … Continue reading [Solved] New-VM : Failed to add device ‘Synthetic Disk Drive’

[Solved] Authentication error function not supported

The problem You can get this error while trying to open an RDP session. An authentication error has occurred. The function requested is not supported The reason This is due to a combination of three factors: You activated NLA on your target computer The target computer is not patched for CVE-2018-0886 You enforced the Force … Continue reading [Solved] Authentication error function not supported