Created
March 9, 2018 21:17
-
-
Save brianvanderlugt/16fece057cfa4146e79991499342644e to your computer and use it in GitHub Desktop.
DisableFirstRunCustomize registry entry for IE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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