Start kali-linux Run apt-get update Download Script and install it If the script is not available, create it Add the following lines Start xrdp Access Desktop-Environment via mstsc Stop xrdp when finished
Continue readingCategory: Windows
Windows Subsystem for Linux (WSL)
Enable via Powershell Set Default Linux-Distribution (if you have installed multiple distros) List current installed distributions Install new distribution Browse the following URL:https://aka.ms/wslstoreYou will be redirected to the Windows Store App. Select desired distro and install it. List currently running distributions Terminate Linux-Distribution Run WSL-Command (Linux Commands) from cmd Change
Continue readingWindows 10 1809 and above: Install RSAT / Bypass WSUS
Query available RSAT-Tools (via Powershell) Install needed tools (via Powershell) Install all tools (via Powershell) Troubleshooting – WSUS prevents installing the RSAT-Tools If the installation fails, it is possible that the tools are not available on the configured WSUS. So we have to disable the WSUS-Server Check if WSUS is
Continue readingWindows: Create Firewall Rules using cmd
Syntax Block program (executable) Allow port
Continue readingActive Directory: Update Group Membership without rebooting – Purge Kerberos Tickets
Download PsExec https://download.sysinternals.com/files/PSTools.zip Unzip PSTools.zip Run cmd.exe as Administrator If you want to check the current user run “whoami”
Continue readingPowershell: Create New Alias
Powershell: Add registry path HKU as PSDrive
WSL: Change Color Scheme in Windows Subsystem for Linux Bash Shell
Microsoft-Windows-User Device Registration/Admin, Event-ID 304
Log Name Microsoft-Windows-User Device Registration/Admin Source User Device Registration Event-ID 304 Level Error User SYSTEM Task Category None Message Automatic registration failed at join phase. Exit code: Unknown HResult Error code: 0x801c03f2 Server error: The device object by the given id (xxxxxxxxxxxx) is not found. Tenant type: Federated Registration type:
Continue reading