How to Use PowerShell to Restart a Crashed or Closed App/Process?
Core
Learn how to use PowerShell to check if a given application or process is running, as well as how to automatically resume it in the event of a crash, a user closing it by accident, or it consuming a lot of memory (memory leak). If (!(Get-Process -Name notepad -ErrorActionSilentlyContinue)) {Invoke-Item C:\Windows\notepad.exe } If a process...
Continue Reading
How do you utilize Windows Defender Antivirus on Windows Server 2019 and 2016?
Core
Windows Defender Antivirus is a free built-in antivirus programme from Microsoft that comes preinstalled on Windows Server 2016 and 2019. (Since Windows 10 2004 the name Microsoft Defender is used). We’ll look at the features of Windows Defender on Windows Server 2019/2016 in this article. Enable Windows Defender GUI on Windows Server The Windows Defender...
Continue Reading
How can I harden /etc/sysctl.conf and disable ICMP broadcast requests?
Core
Ping is the most basic method of determining whether a server is reachable over the internet. Ping works by sending ICMP echo request packets to the destination host and waiting for an ICMP broadcast requests echo response. It’s only used for troubleshooting and testing. When there isn’t a need for it, you must disable it....
Continue Reading
How to strengthen Ubuntu server password protection?
Core
Keeping a Ubuntu server secure from assaults and data leaks requires implementing a robust password policy. Enforcing a minimum length and specifying password age are two best practices for password regulations. To complete these operations, I use the libpam-cracklib software. Install the libpam-cracklib package: sudo apt-get install libpam-cracklib To enforce password length: Go to the /etc/pam.d/common-password file...
Continue Reading
How to scan for malware in Ubuntu Servers?
Core
Ubuntu server for malware Antivirus scanning software can protect viruses from infecting your computer. It’s a simple approach to maintain your server free of viruses if you use them. ClamAV, an open-source antivirus program, is my preferred utility. Install ClamAV: sudo apt-get install ClamAV Update virus signatures: sudo freshclam Ubuntu server for malware, Scan all files for...
Continue Reading