KB5028997 - Instructions to manually resize your partition to install the WinRE update

This article was copied from the KB5028997 Instruction Microsoft Offical Link, with some additional information. Overview Microsoft has changed how it updates PCs that run the Windows Recovery Environment (WinRE). WinRE will be updated using the monthly cumulative update. This change only applies to PCs that get updates from Windows Update (WU) and Windows Server Update Services (WSUS). This change starts on June 27, 2023, for the Windows 11, version 22H2 cumulative update....

February 6, 2024 · 3 min · by Chisqi

Winget

Overview Windows Package Manager (winget) is a command-line tool designed by Microsoft for managing software packages on Windows 10 or 11 edition. It provides a convenient way for users to search, install, upgrade, and uninstall applications from the command line or scripts. Installation This winget package should have been installed on Windows 10 1709 (build 16299) or later or windows 11 version. But if you want to manually install this package, you can follow this method...

August 23, 2023 · 2 min · by Chisqi

Keyboard shorcuts on Windows 11

Overview Keyboard shortcuts are keys or combinations of keys that provide an alternative way to do something that you’d typically do with a mouse. Here is the list of shorcuts on Windows 11. Keyboard Shortcuts Windows 11 Press this key To do this Ctrl + X Cut the selected item. Ctrl + C (or Ctrl + Insert) Copy the selected item. Ctrl + V (or Shift + Insert) Paste the selected item....

February 13, 2023 · 4 min · by Chisqi

Extend Windows Partition contains Recovery Partition

Introduction Did you ever in a critical situation because your production Virtual Machine was running out of space but you were not able to extend the disk because there was recovery partition exist on the end of C:\ volume. This situation blocks you from extending the disk in a critical situation. We can actually just remove the recovery partition, and extend the disk, but we will lose the recovery partition which is important for troubleshooting purposes....

March 23, 2022 · 4 min · by Chisqi

Reset Windows Password with Bitloker Enabled

Overview Have you ever forgot the computer password, and want to reset it? Typically, you just need to boot into Windows installer ISO, open cmd and rename the utilman.exe. However, you can’t do that if the bitlocker is enabled on that computer. You will need to disable the bitlocker first. On this article, I want to share how to disable the bitlocker and reset the forgotten password. This require either the Bitlocker Password or Bitlocker Recovery Key...

September 1, 2021 · 2 min · by Chisqi

Windows moving or deleting files older than date

Move Item Get-ChildItem –Path "$sourcepath" -Recurse | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-90))} | Move-Item -Destination "$destinationpath" Delete Items Get-ChildItem –Path "$sourcepath" -Recurse | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))} | Remove-Item This deletes or moves files older than 90 Days. Change the source path and days.

August 19, 2021 · 1 min · by Chisqi

Windows Powershell Bypass

By default, Windows doesn’t allow us to run the powershell which’s downloaded from another computer without trusted signature. The ExecutionPolicy was set Restricted by default, which’s only allow us to run script created on the same computer (localhost), or script with an signature or from trusted publisher. To check current policy: Get-ExecutionPolicy To check all ExecutionPolicy Scope: Get-ExecutionPolicy -List Scope ExecutionPolicy ----- --------------- MachinePolicy Undefined UserPolicy Undefined Process Undefined CurrentUser Undefined LocalMachine RemoteSigned In order to able run untrusted powershell script, you can change the ExecutionPolicy to Unrestricted:...

July 12, 2021 · 3 min · by Chisqi

Run program as service on Windows

Introduction NSSM stands for “Non-Sucking Service Manager,” and it is an open-source utility for Windows that allows you to easily run any program as a Windows service. The name “Non-Sucking Service Manager” humorously suggests that it is a better alternative to the built-in Windows Service Manager. Windows services are background processes that can be started automatically during system boot and run independently of any user login. They are typically used for tasks that need to run continuously in the background, such as server applications, daemons, or background services....

March 16, 2021 · 3 min · by Chisqi

Windows - Install chocolatey

Install chocolatey Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) Check package online choco.exe list SoftwareName choco.exe find SoftwareName Install package cocho install appname Check installed package clist -l choco list --local-only Uninstall package choco uninstall SoftwareName

February 23, 2021 · 1 min · by Chisqi

Windows Remove Obsolete Drivers

Overview After the hardware upgrade or peripheral changes on the windows desktop or server, it typically leaves obsolete drivers that were no longer needed and needed to be removed. Here are the steps to find and remove those obsolete drivers. To find the drivers. Using PowerShell: Open PowerShell as an administrator. To display a complete list of installed drivers, run the following command: Get-WmiObject Win32_PnPSignedDriver | Select-Object DeviceName, DeviceClass, Manufacturer, DriverVersion, DriverDate, InfName | Out-GridView Using DISM dism /online /get-drivers /format:table This will show you a table with details like device name, class, manufacturer, driver version, installation date, and the driver’s ....

February 2, 2021 · 1 min · by Chisqi