Windows

Windows commands

VNC Single click

W2K


optimize file system > sfc /scannow

Spontaneously shutdown of virtual machines

Fix “The VSS Service is Shutting Down Due to Idle Timeout” Error – MiniTool

Windows activation ERROR 0x8007232b(not tested yet)

  • W10 N LTSC
    • Install (without internet)
    • Windws Enterprise N 10 LTSC
    • About > Product ID > 00425-30000-00001-aa443
    • Activation > Windows is not activated + error code 0x8007267C
  • Set product key
    • slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    • Installed product key xxxxx-xxxxx-xxxxx-xxxxx-xxxxx successfully
  • slmgr /skms kms.xspace.in
    • Key Management Service machine name set to kms.xspace.in successfully.

  • See current product key
  • wmic path softwareLicensingService get OA3xOriginalProductKey
    • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
    • Key > BackupProductKeyDefault > Productkey
  • run command as administrator
  • Set product key
    • slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
  • Installed product key xxxxx-xxxxx-xxxxx-xxxxx-xxxxx successfully

Command line time setup

tzutil /s “W. Europe Standard Time”

Pre login keyboard layout

  • HKEY_USERS.DEFAULT\Keyboard Layout\Preload
    • 409: English (United States)
    • 807: German (Switzerland)
    • 809: English (United Kingdom)

Inactive title bar color

https://www.howtogeek.com/258162/how-to-add-color-to-inactive-title-bars-in-windows-10/

Windows Life Cycle

Windows update over proxy

  • Elivated command promt
  • Netsh winhttp show proxy
  • Netsh winhttp set proxy x.x.x.142:3128 bypass-list = local
  • -Or import from Internet explorer > netsh winhttp import proxy source = ie
  • Tot reset settings > Netsh winhttp reset proxy

Setup HyperV on WIN10

  • In windows features select Hyper-V
  • restart

Error 80072EF3 on server 2012r2 updates

C:\Windows\system32>DISM /Online /Cleanup-Image /ScanHealth
Deployment Image Servicing and Management tool
Version: 6.3.9600.19408
Image Version: 6.3.9600.19397
[==========================100.0%==========================]
The component store is repairable.
The operation completed successfully.

  • DISM.exe /Online /Cleanup-image /Restorehealth
  • reboot
  • sfc /scannow

Veeam Bare Metal Backup

  • Install Backup Veeam Backup and Replication
  • Get the hostname
  • Create backup repository
    • Backup infrastructure
    • Add repository
    • Direct attached storage
    • Microsoft windows
    • Name > give it a logical name
    • Add new / populate / select drive / specify folder
    • Error not fast cloning proceed > yes
    • Linux mount server > not specified
    • Next / Apply
  • Add Backup Job
    • Workstation
    • Name > give it a logical name
    • Add individual Computer
    • 127.0.0.1
    • select or add a active user with admin credentials
    • Entire computer
    • Veeam backup repository
    • Select the backup rfepository
    • next
  • Create Veeam Recovery Media (Best practise to have it in advance)
    • Inventory
    • P{hysical and cloud infrastructure
    • Manually added
    • Select the backup
      • From the menu bar select Recovery Media or
      • Right Mouse > Agent >Create recovery media
    • Store the ISO with the backup.

Windows Bare Metal Backup

CREATE

wbadmin START BACKUP -allCritical -BackupTarget:f: -include:d:

Create windows USB recovery medium on the same machine due to needed drivers for the specific machine.

Recover

  • The new disk must be at least the same size or bigger.
  • Boot from USB
  • next next next
  • Repair my PC
  • Image