Skip to content
Permalink
Browse files

Added a script to enable sideloading apps for azure pipelines

  • Loading branch information...
COM8 committed Nov 18, 2018
1 parent 5b4500c commit ad0c8de42ed9ae7d78a283aa37adfe1d4ea7b5ff
Showing with 21 additions and 0 deletions.
  1. +21 −0 Build/Enable_Sideloading.ps1
@@ -0,0 +1,21 @@
#Powershell script to Enable Sideloading for Windows 10 v1.0
# Author - Vikram Bedi
# vikram.bedi.it@gmail.com
# Powershell scirpt to perform the follwing Registry entry:
# Win 10 - AllowAllTrustedApps
# start -Wait C:\Windows\System32\reg.exe -ArgumentList 'add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock /v AllowAllTrustedApps /t REG_DWORD /d 1 /f'

$registryPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"

$Name1 = "AllowAllTrustedApps"
$value1 = "1"
New-ItemProperty -Path $registryPath -Name $name1 -Value $value1 -PropertyType DWORD -Force

# Powershell scirpt to perform the follwing Registry entry:
# Win 10 - AllowDevelopmentWithoutDevLicense
# start -Wait C:\Windows\System32\reg.exe -ArgumentList 'add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock /v AllowDevelopmentWithoutDevLicense /t REG_DWORD /d 0 /f'

$Name2 = "AllowDevelopmentWithoutDevLicense"
$value2 = "0"

New-ItemProperty -Path $registryPath -Name $name2 -Value $value2 -PropertyType DWORD -Force

0 comments on commit ad0c8de

Please sign in to comment.
You can’t perform that action at this time.