Open PowerShell–>run as administrator
Run below script
Run below script
cls
[system.reflection.assembly]::loadwithpartialname(“microsoft.sharepoint”)
$web = Get-SPWeb http://SP2010
$web.CustomMasterUrl = “/_catalogs/masterpage/v4.master”
$web.MasterUrl = “/_catalogs/masterpage/v4.master”
$web.Update()
[system.reflection.assembly]::loadwithpartialname(“microsoft.sharepoint”)
$web = Get-SPWeb http://SP2010
$web.CustomMasterUrl = “/_catalogs/masterpage/v4.master”
$web.MasterUrl = “/_catalogs/masterpage/v4.master”
$web.Update()