Category: Microsoft

Recover/retrieve/find your Windows 10 Product Key

2 different ways to retrieve or recovery Windows Product Key: Windows Product key is fundamental on the off chance that you need to install and activate Microsoft Operating System, in spite of the fact that you get the item key when you purchase the OS from Microsoft yet losing the key throughout the time is…



How to view/inspect the generated SQL by Entity Framework Core using .NET Core’s build-in logging

Referring: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0 This blog post is about how to view the SQL generated by Entity Framework Core. This method uses Microsoft’s built-in logging for .NET Core. This method is an alternative to profiling the SQL with something like SQL Server Management Studio. This will work with an ASP.NET Core application, which should cover the vast…



PowerShell Active Directory Module – Cheat Sheet

Retrieve all Windows Server Computer Get-ADComputer -Filter ‘operatingsystem -like "*server*" -and enabled -eq "true"’ ` -Properties Name,Operatingsystem,OperatingSystemVersion,IPv4Address | Sort-Object -Property Operatingsystem | Select-Object -Property Name,Operatingsystem,OperatingSystemVersion,IPv4Address Retrieve all Windows Client Computer Get-ADComputer -Filter ‘operatingsystem -notlike "*server*" -and enabled -eq "true"’ ` -Properties Name,Operatingsystem,OperatingSystemVersion,IPv4Address | Sort-Object -Property Operatingsystem | Select-Object -Property Name,Operatingsystem,OperatingSystemVersion,IPv4Address Retrieve all Domain-Controllers (w/o Member…




WSUS Windows Update Error 0x80244010

Several Windows Server reported this Solution was connecting to SUSDB using Servername: np:\.\pipe\MICROSOFT##WID\tsql\queryStart SQL Server Management Studio elevated or get a Login failed for user Then query for the current value of MaxXMLPerRequest in table tbConfigurationC USE SUSDB GO SELECT MaxXMLPerRequest from tbConfigurationC Then update the value: UPDATE tbConfigurationC SET MaxXMLPerRequest = 0 And check…




Accessing SUSDB (Windows Server Update Services – WSUS) WID Windows Internal Database -> Login failed for user

SQL Server Management Studio installed, tried to connect to a SUS WID using Servername: np:\\.\pipe\MICROSOFT##WID\tsql\query Resulted in: =================================== Cannot connect to np:\\.\pipe\MICROSOFT##WID\tsql\query. =================================== Login failed for user ‘REMOVED\admin.solvia’. (.Net SqlClient Data Provider) —————————— For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476 —————————— Server Name: np:\\.\pipe\MICROSOFT##WID\tsql\query Error Number: 18456 Severity: 14 State: 1 Line Number: 65536 —————————— Program Location: at…



Install-Package : No match was found for the specified search criteria and package name ‘PsWindowsUpdate’. Try Get-PackageSource to see all available registered package sources.

Yeah, thanks M$, that’s what i always think when i just want to execute a basic task and i get a %&ç*% error message. I always install PsWindowsUpdate to manage Windows Updates on Servers and Workstations i’m responsible for because GUIs.. well, they limit you somehow.. Now, i got this error message again .. it’s…




Install Windows 10 Upgrade 2004/20H2 from command line / using a PowerShell Script

Usually we deploy Windows 10 feature and cummulative updates using a deployment solution like Microsoft Endpoint Configuration Manager or Ivanti DSM or LANDesk or lately using the new Infrastructure Manager which is only available in beta by request. And then, sometimes we need to update notebooks which are not ‘well-connected’. First we used to ship/send…