diff --git a/source/orchestrationLogic/HEAT/bootup.ps1 b/source/orchestrationLogic/HEAT/bootup.ps1 index 4e4065e3db8b5e10a469c95785626c6aff1ef345..49dd34866fa508f09ca191180b855a3261db8376 100644 --- a/source/orchestrationLogic/HEAT/bootup.ps1 +++ b/source/orchestrationLogic/HEAT/bootup.ps1 @@ -4,14 +4,14 @@ if( !(Test-Path -Path "C:\flag.txt")) { New-Item -Path "C:\flag.txt" echo "if" - get-executionpolicy - Set-ExecutionPolicy RemoteSigned -Force - Get-executionpolicy - New-ItemProperty -Path "REGISTRY::HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name AllowInsecureGuestAuth -PropertyType "DWORD" - New-ItemProperty -Path "REGISTRY::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLinkedConnections -PropertyType "DWORD" - Set-ItemProperty -path "REGISTRY::HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "AllowInsecureGuestAuth" -value "1" - Set-ItemProperty -Path "REGISTRY::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLinkedConnections" -Value "1" - Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Any + #get-executionpolicy + #Set-ExecutionPolicy RemoteSigned -Force + #Get-executionpolicy + #New-ItemProperty -Path "REGISTRY::HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name AllowInsecureGuestAuth -PropertyType "DWORD" + #New-ItemProperty -Path "REGISTRY::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLinkedConnections -PropertyType "DWORD" + #Set-ItemProperty -path "REGISTRY::HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "AllowInsecureGuestAuth" -value "1" + #Set-ItemProperty -Path "REGISTRY::HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLinkedConnections" -Value "1" + #Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Any