When you run an elevated command prompt as administrator, the mapped drives are unavailable in the elevated command prompt. This issue also affects other applications that run in an elevated context (run as administrator) and use drive letters to access mapped drives. When UAC is enabled, the system creates two logon sessions at user logon.…

Read More Show mapped drives of user from elevated command prompts

The easiest way to block the Windows 11 update on a Windows 10 system is by adding a policy via the Registry. In HKEY_LOCAL_MACHINE, navigate to SOFTWARE\Policies\Microsoft\Windows Create a new Key named WindowsUpdate Add the following items in the WindowsUpdate key: REG_DWORD named TargetReleaseVersion with a value of 1 REG_SZ named TargetReleaseVersionInfo with a value…

Read More Block Windows 11 Update

To test SMTP auth with StartTLS, I used the following method. Base64 encode the username and password. echo -ne “yourpassword” | base64 eW91cnBhc3N3b3Jk echo -ne “your@email.com” | base64 eW91ckBlbWFpbC5jb20= Connect to the SMTP server using the openssl client. openssl s_client -connect smtp.test.com:587 -starttls smtp -crlf Once connected to the mail server, identify myself with EHLO…

Read More Test SMTP Auth and StartTLS

I have an old Lenovo Yoga 2 (i5-5400u, 4GB RAM, 128GB SSD). This 2-in-1 system does not have an ethernet port and during Debian installation using the netinstall ISO, non-free firmware is needed for the Intel wireless controller. I went to Debian’s installer page for non-free firmware (for Bullseye) and downloaded the zip file: https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/11.3.0/…

Read More Installing Debian 11.3 on my Lenovo Yoga 2

A small WordPress plugin to create a BOFH excuse using a shortcode anywhere on your WordPress website shortcodes are supported. Usage Rhythmic variations in the voltage reaching the power supply. Output Example

Read More WP-BOFH

Windows 11 introduced new system requirements for the operating system. Two of these requirement checks, TPM 2.0 and Secure Boot, can be bypassed during installation from a bootable ISO. To bypass the TPM 2.0 or Secure Boot check(s) while in the installation screen, press SHIFT + F10 and a command window will open. Bypass TPM 2.0 Check REG ADD…

Read More Windows 11 Installation: Bypass TPM and Secure Boot Requirements During Installation

By default, Zentyal creates a Home Folder for each user created through the web interface and not through Active Directory Users & Computers (dsa.msc). To disable this action, modifying the Samba stub for Zentyal is the preferred method. In order to maintain the changes across Zentyal and Samba updates, a Samba stub should be copied…

Read More Disable User’s Home Folder Creation in Zentyal

The following powershell command will return make and serial number of a monitor connected to the computer. gwmi WmiMonitorID -Namespace root\wmi | ForEach-Object {($_.UserFriendlyName -ne 0 | foreach {[char]$_}) -join “”; ($_.SerialNumberID -ne 0 | foreach {[char]$_}) -join “”} Reference: WmiMonitorID class – Win32 apps | Microsoft Docs

Read More Get monitor make and serial number command line