windows - ghdrako/doc_snipets GitHub Wiki

Update polityk

gpupdate /force i restart

Snip & Sketch

Windows Key + Shift + S. Your screen will dim and a mini menu will appear at the top of your screen, giving you the option to take a rectangular, free-form, window, or full-screen capture.

Game Bar

Windows Key + G

RDP test

#powershell:
Test-Netconnection ip -remoteport 3389 # test connection on rdp port

netsh lan show interfaces  # show network interface

Hypervisor

  • Czy uruchomiony
msinfo32.exe
  • Wylaczenie Wiele aplikacji wirtualizacji zależy od rozszerzeń wirtualizacji sprzętu, które są dostępne w większości nowoczesnych procesorów. Obejmuje to procesory Intel VT-x i AMD-V. Tylko jeden składnik oprogramowania może jednocześnie korzystać z tego urządzenia sprzętowego. Nie można udostępnić urządzenia sprzętowego między aplikacjami wirtualizacji.

Aby korzystać z innego oprogramowania do wirtualizacji, należy wyłączyć funkcje Hypervisor (Hyper-V), Device Guard i Credential Guard.

To turn Hypervisor off on windows from a command window: bcdedit /set hypervisorlaunchtype off and reboot. To turn it back on: bcdedit /set hypervisorlaunchtype on and reboot.

Wyłączanie funkcji Hyper-V

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor

check if the following registry key exists: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0\IsolatedCredentialsRootSecret

Disable Credential Guard with registry settings

If Credential Guard is enabled without UEFI Lock and without Group Policy, it's sufficient to edit the registry keys to disable it.

Setting
--
Key path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa 
Key name: LsaCfgFlagsType: REG_DWORD
Value: 0
Key path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard 
Key name: LsaCfgFlagsType: REG_DWORD
Value: 0