Category Archives: Operating Systems

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 »

Linux : PHP Unable to load dynamic library ‘/usr/lib64/php/modules/module.so

Having this error on your RHEL/CentOS 6 Web server or issuing “php -v” command? PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/module.so’ – /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0 Then you probably have “php-mcrypt” module installed. Apparently, the “mcrypt.ini” file do not have… Read More »