Month: November 2020

How to Fix a Broken Ubuntu Upgrade

Sometimes, a power failure or manual interruption during a Linux OS upgrade can render the…

How To Create a 64-bit Linux Bootable USB Thumb Drive with 32-bit UEFI Compatibility

Part 1: Making the USB Booting Thumb Drive Download Rufus: https://rufus.ie/ Download Linux ISO -…

A Simple Home Network Setup Using SonicWall & Ubiquiti Equipment

Overview: Internet Service Providers would terminate their wiring at the customer premise equipments (CPE) as…

How to Install Ubiquiti Unifi Controller on Ubuntu 20.04

I have a scenario where an existing Unifi controller has been running on a Windows…

Ubuntu 20.04 Initial Setup

Basic Setup: # Set hostname and ip nmtui # remember to deactive/reactive a connection after…

Random Notes about WSUS

#Install the PowerShell Windows Update module $checkModule=Get-Module -ListAvailable -Name PSWindowsUpdate if(!($checkModule)){ [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 #…

How to Install Secured Shell SSH on Windows

# Windows 10 & Server 2019 # Install the OpenSSH Server Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0…

Linux: How to Display the SSL Certificate of a Remote Server URL

Command: server=test.kimconnect.comecho | openssl s_client -showcerts -servername $server -connect $server:443 2>/dev/null | openssl x509 -inform…

PowerShell: Test LDAPS Connection

Function testLdap { [CmdletBinding()] Param( [Parameter(Position=0,ValueFromPipeline=$true)]$dcs=$($ENV:LOGONSERVER -replace '\\',''), [Parameter(Position=1,ValueFromPipeline=$true)]$port='636' ) $ErrorActionPreference = "Stop" $results =…

Explorer: Can’t connect securely to this page – GoogleChrome: This site can’t be reached

Symptom: Test Site: https://drive.google.com Internet Explorer: Can't connect securely to this pageThis might be because…

PowerShell: 1-Liner to Restore All Windows 10 Default Apps

Issue: A user has complained that many of the default Windows applications such as the…

Chocolatey Ignore Checksums

Issue: Certain choco packages may have mismatched signatures from its repo due to some minor…

How to Enforce Keyboard Layout Consistency for Remote Desktop

# The following function will allow the RDP session to store the user keyboard language…

GPO to Set NTP on Domain Joined Computers and Servers

As a precursor, please review this article to set NTP for PDC Emulator prior to…

Set NTP on Primary Domain Controller

Intro: Here is some general information to on the network time synchronization protocol (NTP) topic:…

Active Directory: Helpdesk Admins Group Creation

Why? Give your helpdesk team the ability to manage user accounts in the domain without…

An authentication error has occurred (Code: 0x80004005)

Symptom: [Window Title]Remote Desktop Connection[Content]An authentication error has occurred (Code: 0x80004005).Remote computer: 192.168.1.54[OK] Cause: This…

SQL: Microsoft Dynamics – Rebuilding a Database View Named ‘FilteredContact’

Why? Update: currently, I'm unable to rebuild this complex view due to SQL constraints. Hence,…

SQL Server: Use Profiler to Tune Database Indexes

Run Microsoft SQL Server Management Studio > Tools > SQL Server Profiler > Use the…

PowerShell: Set DNS Server IPs on Default Network Interface

$dns1=.{ Import-Module ActiveDirectory $fsmoRoles=Get-ADDomainController -Filter *|Select-Object Name, Domain, Forest, OperationMasterRoles|Where-Object {$_.OperationMasterRoles}|select Name,OperationMasterRoles $pdcServer=($fsmoRoles|?{'PDCEmulator' -in $_.OperationMasterRoles}).Name…