Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brianvanderlugt/16fece057cfa4146e79991499342644e to your computer and use it in GitHub Desktop.
Save brianvanderlugt/16fece057cfa4146e79991499342644e to your computer and use it in GitHub Desktop.
DisableFirstRunCustomize registry entry for IE
# If you receive the following error message in PowerShell or VSTS agent this script fixes it:
# ErrorMessage: The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
$registryPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Internet Explorer\Main'
$name = 'DisableFirstRunCustomize'
$value = 1
New-Item -Path $registryPath.Substring(0,$registryPath.LastIndexOf('\'))
New-Item -Path $registryPath
New-ItemProperty -Path $registryPath -Name $name -PropertyType DWORD -Value $value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment