This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a script to enable sideloading apps for azure pipelines
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |