Skip to content

Commit

Permalink
remove env var (#1247) (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
myagley authored May 24, 2019
1 parent 8a0f5c0 commit 1ac1e94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/windows/setup/IotEdgeSecurityDaemon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1464,10 +1464,6 @@ function Set-ProvisioningMode {
$replacementContent = ''
$configurationYaml = ($configurationYaml -replace $selectionRegex, ($replacementContent -join "`n"))

New-Item "HKLM:\SYSTEM\CurrentControlSet\Services\$EdgeServiceName" -Force | Out-Null
New-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\$EdgeServiceName" `
-Name 'Environment' -Value 'IOTEDGE_USE_TPM_DEVICE=ON' -PropertyType 'MultiString' -Force | Out-Null

Write-HostGreen 'Configured device for DPS provisioning.'
return $configurationYaml
}
Expand Down

0 comments on commit 1ac1e94

Please sign in to comment.