Connection errors from WordPress to Azure MySQL database

Issue: You are getting connection issues to your hosted Azure MySQL database server. You are putting the correct information in, but still WordPress is showing Error Connecting to Database. Error: After some investigation, you most likely are getting this error: mysqli_real_connect(): (HY000/9002): SSL connection is required. Please specify SSL options and retry Resolution: Believe it Read more about Connection errors from WordPress to Azure MySQL database[…]

Script for Chrome cache multiple users

I found a script this very useful script. It does a good job of cleaning the Chrome cache in user profiles on a terminal server. Original Post: Thanks! ======== @ECHO On TASKKILL /F /IM Chrome.exe /T for /f %%a in (‘dir c:\users /b’) do ( rd “c:\users\%%a\AppData\Local\Google\Chrome\User Data\Default\Cache” /s /q del “c:\users\%%a\AppData\Local\Google\Chrome\User Data\Default\*history*.*” /s Read more about Script for Chrome cache multiple users[…]

Script for disk cleanup

@echo off REM Install Disk Cleanup based on Windows Version ver | findstr /i “6\.0\.” > nul IF %ERRORLEVEL% EQU 0 goto ver_2008 ver | findstr /i “6\.1\.” > nul IF %ERRORLEVEL% EQU 0 goto ver_2008R2 goto warn_and_exit :ver_2008 :Run Windows 2008 specific commands here echo OS Version: Windows 2008 IF NOT EXIST “%SYSTEMDRIVE%\Program Files Read more about Script for disk cleanup[…]

Centos 7 and firewalld to allow SNMP

We need to add a profile for SNMP to use UDP 161.  Edit /etc/firewalld/services/snmp.xml <?xml version=”1.0″ encoding=”utf-8″?> <service> <short>SNMP</short> <description>SNMP protocol</description> <port protocol=”udp” port=”161″/> </service> 2.  Reload the firewall:  firewall-cmd –reload 3.  Add it to the public zone:  firewall-cmd –zone=public –add-service snmp –permanent 4.  Reload the firewall again. It should be working now.  

Virtual Servers/Workstations not showing up in WSUS

Issue:  Virtual servers/workstations deployed from the same image do not show up in WSUS.  You notice that in WSUS groups that the machine listing rotates machine names everytime you refresh, but never lists them separately. Cause:  This is caused by having the same SSID when deployed.  When sysprep is not run to prepare the image, Read more about Virtual Servers/Workstations not showing up in WSUS[…]

Rewrite Rule – Force https

Issue:  You have a particular domain on a Windows server that you want to force the URL to rewrite to the SSL certificate that is installed.  ie. –> Option 1:  If you know how to edit the web.config file, just paste the following text within your system.webserver tags: <rule name=”forceHTTPS” stopProcessing=”true”> <match url=”(.*)” /> Read more about Rewrite Rule – Force https[…]

CBS.log file huge? Can I delete the files?

Problem:  In the c:\windows\Logs\CBS folder, you see that there is a huge cbs.log file and/or other files that are huge in size (some over 2Gb).  Can these be deleted? Resolution:  In short, yes, IF you are sure that there is nothing wrong with the system in question.  Typically, if your system is a production Read more about CBS.log file huge? Can I delete the files?[…]

WSUS 3.0 sp2 not showing Windows 2012 servers

Problem:  WSUS does not display the Windows 2012 servers even though group policy has been applied.  You run gpresult /r and see that there are no issues group policy-wise. Resolution:  WSUS needs to be updated with the following patch.  This will allow for the servers to be displayed properly.