Commit ebbdde08 by César Galvis

feat: disabled useless uac rule

parent 6ab53c8f
...@@ -37,11 +37,6 @@ Vagrant.configure("2") do |config| ...@@ -37,11 +37,6 @@ Vagrant.configure("2") do |config|
## Set up PAC ## Set up PAC
config.vm.provision "file", source: "./src/scripts/ps/PacServer.ps1", destination: "C:/files/PacServer.ps1" config.vm.provision "file", source: "./src/scripts/ps/PacServer.ps1", destination: "C:/files/PacServer.ps1"
config.vm.provision "shell", path: "src/scripts/ps/PacInstall.ps1" config.vm.provision "shell", path: "src/scripts/ps/PacInstall.ps1"
## Enable UAC
config.vm.provision "shell", inline: <<-'SHELL'
Write-Output "=== Enable UAC ==="
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 2
SHELL
## Restart machine ## Restart machine
config.vm.provision :shell do |shell| config.vm.provision :shell do |shell|
shell.privileged = true shell.privileged = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment