Skip to content

VirtualizationΒΆ

Enable/Disable HyperVΒΆ

EnableΒΆ

bcdedit /set hypervisorlaunchtype auto

This command sets the hypervisor launch type to "auto", which ensures the hypervisor starts automatically on boot.

DisableΒΆ

bcdedit /set hypervisorlaunchtype off

SSH on windowsΒΆ

Copy public key from windows machine

scp ~/.ssh/id_rsa.pub [linux_user]@[linux_IP/linux_hostname]:~/.ssh/authorized_keys

or

type $env:USERPROFILE\.ssh\id_rsa.pub | ssh {IP-ADDRESS-OR-FQDN} -p {PRT-NO} -l {USER} "cat >> .ssh/authorized_keys"

Generalize Windows ServerΒΆ

Open Run Menu:

sysprep
generalized
shutdown

ChocolateyΒΆ

Install Choco Package Manager (Chocolatey)ΒΆ

  • Follow the official link in individual mode

BatteryΒΆ

Check the battery health status

Run this command into the CMD

powercfg /batteryreport