Saturday, December 16, 2017
  • To install .Net 3.5 on Server 2012, you have to specify the following install source from a Windows 2008 R2 install disk:
  • .Net 3.5 may be required if using SQL 2008 R2.
    • location is DVD:\sources\sxs

After upgrading to Windows 8 and then 8.1 I have been plagued by sharepoint login prompts again. Follow the steps in the below article to get rid of them!


You can start/stop/status your tools the following way:

# status vmware-tools

vmware-tools start/running

# stop vmware-tools

vmware-tools stop/waiting

# start vmware-tools

vmware-tools start/running

On CentOS 6.3 I ran into an interesting error where I couldn’t start my tools, instead I got the following error:

vmware tools pre start process terminated with status 1

Apparently the upstart file that vmware supplies is not correct, I didn’t have time to look into what was wrong, but I was able to start my tools by issuing the following command:

/etc/vmware-tools/ start

Step 1: From the DC run the rendom /list command.

A Domainlist.xml file will be created that lists the current domain information.

We are interested in the section towards the end of the short file <NetBiosName>Oldname</NetBiosName> 

- Change this to <NetBiosName>Newname</NetBiosName>

Step 2: Edit this file to replace all mention of the old domain with the new NETBIOS name.

Step 3: Upload the modified xml toour domain controllers using the command rendom /upload 

– filename must remain unchanged – Domainlist.xml

Step 4: Is to verify the radiance of the domain controllers using Run rendom /prepare.

Step 5: The grand moment has come when you do the transfer rendom /execute.

Save the code below into a file, and extension as .ps1 - execute from EMS


Function Set-Exchange2013Vdirs
 $ExServer = Read-Host “Please enter the Exchange 2013 Server Name you’d like to set Vdirs “
$InternalName = Read-Host “Input the internal domain name eg.. “
$ExternalName = Read-Host “Input the external domain name eg. “

Write-Host “Configuring Directories for $ExServer..” -Foregroundcolor Green

Get-WebservicesVirtualDirectory -Server $ExServer | Set-WebservicesVirtualDirectory -InternalURL https://$InternalName/EWS/Exchange.asmx -ExternalURL https://$externalName/EWS/Exchange.asmx
 Get-OwaVirtualDirectory -Server $ExServer | Set-OwaVirtualDirectory -InternalURL https://$InternalName/owa -ExternalURL https://$ExternalName/owa
 Get-ecpVirtualDirectory -Server $ExServer | Set-ecpVirtualDirectory -InternalURL https://$InternalName/ecp -ExternalURL https://$ExternalName/ecp
 Get-ActiveSyncVirtualDirectory -Server $ExServer | Set-ActiveSyncVirtualDirectory -InternalURL https://$InternalName/Microsoft-Server-ActiveSync -ExternalURL https://$ExternalName/Microsoft-Server-ActiveSync
 Get-OABVirtualDirectory -Server $ExServer | Set-OABVirtualDirectory -InternalUrl https://$InternalName/OAB -ExternalURL https://$ExternalName/OAB
 Set-ClientAccessServer $ExServer -AutodiscoverServiceInternalUri https://$internalName/Autodiscover/Autodiscover.xml
 Set-OutlookAnywhere -Identity “$ExServer\Rpc (Default Web Site)” -InternalHostname $internalName -ExternalHostName $ExternalName -InternalClientAuthenticationMethod ntlm -InternalClientsRequireSsl:$True -ExternalClientAuthenticationMethod Basic -ExternalClientsRequireSsl:$True

Write-Host “Vdirs have been set to the following..” -Foregroundcolor Green
 Write-Host “$ExServer EWS”
Get-WebservicesVirtualDirectory -Server $ExServer |Fl internalURL,ExternalURL
 Write-Host “$ExServer OWA”
Get-OWAVirtualDirectory -Server $ExServer | Fl internalUrl,ExternalURL
 Write-Host “$ExServer ECP”
Get-ECPVirtualDirectory -Server $ExServer | Fl InternalURL,ExternalURL
 Write-Host “$ExServer ActiveSync”
Get-ActiveSyncVirtualDirectory -Server $ExServer | Fl InternalURL,ExternalURL
 Write-Host “$ExServer OAB”
Get-OABVirtualDirectory -Server $ExServer | Fl InternalURL,ExternalURL
 Write-Host “$ExServer Internal Autodiscover URL”
Get-ClientAccessServer $ExServer | Fl AutodiscoverServiceInternalUri
 Write-Host “$Exserver Outlook Anywhere Settings”
Get-OutlookAnywhere -Identity “$ExServer\rpc (Default Web Site)” |fl internalhostname,internalclientauthenticationmethod,internalclientsrequiressl,externalhostname,externalclientauthenticationmethod,externalclientsrequiressl

Write-Host “The Powershell URL have not been set as part of this script. Set it if you choose” -ForegroundColor Yellow