Category Archives: Operating Systems

Linux : Yum Error: database disk image is malformed

Having this error message while running a “yum install” or “yum update” command on your RHEL/CentOS Linux system? Error: database disk image is malformed 1. Simply run the following command to fix this issue : yum clean all 2. Alternatively, if the problem is still persisting, then try to move the RPM database to a… Read More »

Windows : Blocking IP from command line

Here is two commands to wither block a single or group of IPs on the Windows Firewall using the command line. Please note that you will need elevated privileges to run these commands. 1. Block a single IP (or subnet*) netsh advfirewall firewall add rule name=”IP Block” dir=in interface=any action=block remoteip=<IP_Address>/32 *You will need to… Read More »

Windows : Computer cannot be managed

Starting with Windows Server 2008 R2/2012, the fancy remote management feature may return the following error when adding to your centralized Server Manager console : Computer <NAME> cannot be managed. Verify that the network path is correct, the computer is available on the network and that the appropriate Windows Firewall rules are enabled on the… Read More »

Linux : High speed Rsync file transfer

If you have a large amount of data to transfer over the network to another server, Rsync is definately a good way to go. However, since Rsync is using SSH, data encryption can add an extra bottle neck to your speed transfer. You may want to disable encryption if you are transfering locally or if… Read More »

Windows : Enable RDP from command line

Here is a few commands to enable or disable Remote Desktop Protocol and Remote Assistance on Windows 7 and Windows Server 2008 or greater through the command line. Enable RDP : reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 0 /f Disable RDP : reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 1… Read More »