System Center Configuration Manager (SCCM) client has a cache on the server. If needed this can be cleaned by following these steps: 1. Open Control Panel-> Configuration Manager. Press the Cache tab. 3. Change the location of future cached files, if needed, by clicking the ‘Change Location’ button and choosing a new location on your […]
All posts by mihai
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 […]
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 […]
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 […]
Deploying a new VM from template fails with “Windows could not parse or process the unattend answer file for pass [specialize]…
Setup: You try to deploy a new virtual machine with Virtual Machine Manager Problem: You receive an error : Windows could not parse or process the unattend answer file for pass [specialize] To automate the provisioning of new VMs from templates, VMM can pass the answer file to Windows during sysprep customization. If you create […]
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 […]
Microsoft SharePoint Foundation Web Application service in stopping state
Problem: After stopping the “Microsoft SharePoint Foundation Web Application” service the service remains in stopping state Solution: Run this command with proper permissions:
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 […]
How to Move Active Directory FSMO roles with PowerShell
Setup: Active directory domain with many domain controllers Problem: You want to move FSMO roles to another domain controller Solution: You can move the Active Directory (AD) from the command prompt using PowerShell in just a few seconds with PowerShell. Make sure you import the Active Directory PowerShell module: Transfer all the FSMO roles at […]
Get Cluster size for all disks and volumes on a Windows machine using PowerShell and WMI
Get Cluster size for all disks and volumes on a Windows machine using PowerShell and WMI Get-WmiObject -Query “SELECT Label, Blocksize, Name FROM Win32_Volume WHERE FileSystem=’NTFS’” -ComputerName ‘.’ | Select-Object Label, Blocksize, Name See below an example of output: