Freeing Disk Space on Ubuntu Server

Many temporary and unused files are left on the Ubuntu drive after installing/uninstalling packages and dependencies. In addition, log files and old versions of the kernel can take up a fair amount of disk space. This article shows you how to clean up your Ubuntu Server hard drive by deleting temporary and unused files.

Continue reading “Freeing Disk Space on Ubuntu Server”

Disable Local User Accounts in Windows with GPO and PowerShell

Best security practices for Windows domain networks recommend disabling local user accounts on computers and servers in an Active Directory domain. Local users who have administrative permissions on a computer can be a weak point in the security of your network. You can use tools such as Windows LAPS (Local Administrator Password Solution) to set unique, complex passwords for local administrators, or you can use AD Group Policies to completely disable local administrator and user accounts.

Continue reading “Disable Local User Accounts in Windows with GPO and PowerShell”

Install Microsoft Fonts (including Times New Roman) on Linux

By default, Linux distributions do not include popular proprietary fonts from Microsoft. Linux users often search for how to install Times New Roman font from Microsoft. If you need to use this font in LibreOffice, Gimp or any other graphical Linux application, you can install it.

Continue reading “Install Microsoft Fonts (including Times New Roman) on Linux”

Running Bash Shell Script as Systemd Service on Linux

On Linux, you can run a bash script as a service via systemd (instead of using the cron scheduler). This allows you to ensure that the script is always running, run the bash script on startup, check its health, and take advantage of other systemd benefits.

Continue reading “Running Bash Shell Script as Systemd Service on Linux”

How to Find Your Computer’s Serial Number on Windows

If you need to find the serial number for your computer or laptop, you do not need to look in the documentation or the manufacturer’s label on the case/motherboard. Windows can get your computer’s serial number from the BIOS. To get the serial number from the BIOS, query a specific class in the WMI namespace.

Continue reading “How to Find Your Computer’s Serial Number on Windows”

Fix ‘Bash Sudo: Command Not Found’ on Linux

The sudo command in Linux allows you to run commands as another user (it is most commonly used to run a command with elevated privileges as root). In some cases, when you try to run a command with sudo, an error message is displayed:

-bash: sudo: command not found

Continue reading “Fix ‘Bash Sudo: Command Not Found’ on Linux”

How to Mount Windows SMB Share on Linux with CIFS

In this article, we’ll look at how to mount a shared network folder hosted on a Windows computer in Linux. Windows uses the SMB (Server Message Block) protocol, formerly known as CIFS (Common Internet File System) to share and access shared folders over the network. On Linux, you can use the cifs-utils or Samba client to access Windows network shares via SMB protocol.

Continue reading “How to Mount Windows SMB Share on Linux with CIFS”

‘Failed to connect to bus: No such file or directory’ Error on Linux

The error ‘Could not connect to bus: No such file or directory‘ is quite common on Linux operating systems. This error can occur when managing the service through systemctl or when the computer is switched off.

Continue reading “‘Failed to connect to bus: No such file or directory’ Error on Linux”

Outlook Keep Asking for Microsoft Account Password

Outlook may prompt you to enter your Microsoft Account (Office 365) credentials when you try to create a new mail profile or open a configured mailbox. This happens in all modern Outlook 2021/2019/2016 and Outlook Microsoft 365 versions. The fact is that Direct Connect to Office 365 is enabled by default in Outlook. This feature is designed to simplify and speed up the process of connecting to a mailbox hosted on Microsoft 365 (Exchange Online).

Continue reading “Outlook Keep Asking for Microsoft Account Password”

Move Hyper-V VMs Between Hosts Using Live Migration

The Live Migration feature in Hyper-V allows you to migrate a running virtual machine between hosts with almost no downtime. Initially, Live Migration in Hyper-V was only available as part of a Windows failover cluster with CSV shared storage. Starting with Windows Server 2012, Hyper-V Live Migration doesn’t require a cluster and shared storage. To migrate VMs, Hyper-V hosts need to be connected using a fast shared Ethernet network. This type of migration is called a Shared-nothing live migration.

Continue reading “Move Hyper-V VMs Between Hosts Using Live Migration”