Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
fail quietly when fPromptForPassword is unset
Browse files Browse the repository at this point in the history
  • Loading branch information
grenade committed Jul 13, 2016
1 parent f1b8f7e commit 19644a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/Ec2UserdataUtils.psm1
Expand Up @@ -1610,7 +1610,7 @@ function Install-RelOpsPrerequisites {
if ($env:ComputerName.Contains('-w732-')) {
Install-Package -id 'puppet' -version '3.4.3' -testPath ('{0}\Puppet Labs\Puppet\bin\puppet.bat' -f $env:ProgramFiles)
Disable-Service -serviceName 'puppet'
Remove-ItemProperty -Name 'fPromptForPassword' -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Name 'fPromptForPassword' -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services' -ErrorAction SilentlyContinue
}

#https://bugzilla.mozilla.org/show_bug.cgi?id=1261812
Expand Down

0 comments on commit 19644a8

Please sign in to comment.