Month: December 2020

How To Install Microsoft Edge on Ubuntu / Debian / Linux Mint

Step 1: Add Microsoft Repository curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpgsudo install -o root…

How to Install Internet Explorer on Ubuntu 20.04

Step 1: Install PlayonLinux kim@kimlinux:~# sudo apt install playonlinux -y Step 2: Install Internet Explorer…

Expanding System Volume C Drive of Windows Hyper-V Virtual Machine

There are three three steps to expand a disk of a virtual machine: Connect to…

Setup PXE Client Booting for Microsoft Deployment Toolkit with Multiple VLANs

Part A: Configure Clients Ensure that machines on the network would boot on a predetermined…

Linux DNS Networking

DNS client on Linux: /etc/resolv.conf specifies the nameservers for resolver lookups. The order of lookup…

Microsoft SQL: Shrink vs Truncate

Shrink The shrink command is to reduce the physical log file size of a database.…

A Case for Graylog 4

Overview: A practical real-world application to aggregate logs would be Graylog. Its current incarnation is…

How to Calculate Logging Storage

The Simple Formula: Storage in Gigabytes = Number of Events x (Average Bytes per Event…

PowerShell: Reset Windows 10 to Default Factory Settings

The easiest (GUI) method: systemreset -cleanpc The automated method: # Experimental code: not working yet…

How to Overclock Computer CPU

Step 1:- Buy an overclock-able CPU such as the Intel Pentium G3258- Buy a good…

Linux Mint 20: How to Disable the Annoying Keyring Prompts for Passwords

Update 03/2023: https://blog.kimconnect.com/linux-how-to-bypass-annoying-login-keyring-prompts/ The default installation of Linux Mint expects that the user would login…

PowerShell: Set Autologon for Windows

Current Version: function setAutoLogon($username,$password){ $regWinlogon='REGISTRY::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' $regKeyUsername='DefaultUserName' $regKeyPassword='DefaultPassword' $kegKeyAutologin='AutoAdminLogon' $regKeyDefaultDomain='DefaultDomain' function testCredential($username,$password){ # Get current…

VMWare CVE-2018-3646 Mitigation

Enable ESXi Side-Channel-Aware Scheduler Version 2 (SCAv2) using ESXCLI SSH to an ESXi host or open a…

Listing SMB Shares on a Windows Machine

Option 1: PS C:\Windows\system32> get-WmiObject -class Win32_Share Name Path Description ---- ---- ----------- ADMIN$ C:\Windows…

PowerShell: Quick Script to Get Storage Utilization

$volumes = (gwmi -Class win32_volume -Filter "DriveType!=5" -ea stop| ?{$_.DriveLetter -ne $isnull}|` Select-object @{Name="Letter";Expression={$_.DriveLetter}},` @{Name="Label";Expression={$_.Label}},`…

Windows Short-cut vs Symbolic Link vs Junction vs Hard Link

Although they behave similarly, there are fundamental differences between a short-cut (a Microsoft's implementation for…

How To Configure Greylog Client on CentOS 8 Linux

Step 1: Access http://[your-graylog-server]:[portNumber]/system/inputs to obtain this info such as show in this example: Syslog_UDP…

Bash Shell Quick If Then and Case Switch Statements

protocol=udp # or tcp # If-then implementation if [$protocol == udp] then prefix=@ else prefix=@@…

How to Create USB Bootable Drive on Ubuntu

Navigate to Start Menu > System Tools > Startup Disk Creator Verify that the Source…

CentOS 8 SSH Daemon Notes

# How to check sshd logs tail -f -n 50 /var/log/secure|grep sshd # Limit sessions…