olders"
	$regPath3 = 'registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders'
	
	if (Test-Path $regPath1)
	{
		$currentTIF = (Get-ItemProperty $regPath1 -Name Cache).Cache
	}
	elseif(Test-Path $regPath3)
	{
		$currentTIF = (Get-ItemProperty $regPath3 -Name Cache).Cache
	}

	# Temporary Internet Cache location: "%LocalAppData%\Microsoft\Windows\INetCache"
	$defaultINetCacheLocation = "$localProfilePath\AppData\Local\Microsoft\Windows\INetCache"

	if(!($currentTIF.Contains('Temporary Internet Files')))
	{
		$currentTIF = "$currentTIF\Temporary Internet Files"
	}

	if(Test-Path $regPath1)
	{
		Set-ItemProperty -Path $regPath1 -Name Cache -Value $defaultINetCacheLocation
	}
	
	if(Test-Path $regPath2)
	{
		Set-ItemProperty -Path $regPath2 -Name Cache -Value $defaultINetCacheLocation
	}
	
	if(Test-Path $regPath3)
	{
		Set-ItemProperty -Path $regPath3 -Name Cache -Value $defaultINetCacheLocation
	}
	
	if(!(Test-Path $defaultINetCacheLocation))
	{
		$temp = mkdir $defaultINetCacheLocation | out-null
	}

	# Move Files from current Temporary internet files to Default
	if ((Test-Path $currentTIF) -and (Test-Path $defaultINetCacheLocation))
	{
		Copy-Item $currentTIF -Destination $defaultINetCacheLocation -Recurse -Force -EA 0 
	}
}
else
{
	$false > $ENV:TEMP\TEMP.log
}