Setting Moodle to work over SSL

Setup: You have a Moodle installed Problem: You and want to setup https only for entire website. NOTE: You need to enable HTTPS/SSL your website first !. Examples: http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis http://www.apache.com/www/how-to-setup-an-ssl-certificate-on-apache/ Solution: Locate config.php in web folder. Look for the line that shows: Change the http:// to https:// like the following: If you prefer to use […]

Read More

Copy file permissions with PowerShell

Setup: You want to copy all the permissions from one file to another with PowerShell Solution: Move to the folder of the source file Move to the folder of the destination file: This method is very useful for copying the permissions of .vhd files after you move/copy them between different folders/virtual machines. Before attaching a […]

Read More

SCCM – System discovery of an untrusted forest fails with 0x8007052E

Setup: You have SCCM 2012 deployed in Forest Alfa but you want to discover machines in forest Beta. Problem: You supply alternative credentials with the correct username and password for forest Beta but kept getting back a error – 0x8007052E – “Logon failure: unknown user name or bad password.” Solution: Use fqdn of Beta forest […]

Read More

Upgrade Timer job is exiting due to exception: Microsoft.SharePoint.Upgrade. SPUpgradeException: Action 4.0.14.0

Problem: When trying to upgrade the SharePoint to a higher service pack you encounter this error in the log [OWSTIMER] [SPUpgradeSession] [ERROR] [11/3/2014 2:56:24 PM]: Upgrade Timer job is exiting due to exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: Action 4.0.14.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed. —> System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified. One probably cause is the someone […]

Read More

SharePoint – Add a managed account from one-way trust domain

Setup. A SharePoint farm in a domain. You want to add a managed account from another domain, with one-way trust between domains. Example: DomainB TRUST DomainA. SharePoint instance is in DomainB and you want to add a managed account from DomainA. User AdminA has local admin and farm admin privileges on farm and is used […]

Read More