diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index cf4ca43..f0fdef7 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -5,7 +5,7 @@ # alt+y # Run: # In admin powershell Terminal: -# iwr -UseBasicParsing -Uri "https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1?nocache=$(Get-Random)" -OutFile "$env:TEMP\windows-repair-temp.ps1"; powershell -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\windows-repair-temp.ps1" +# iwr -UseBasicParsing -Uri https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1?nocache=$(Get-Random) > $env:TEMP\windows-repair-temp.ps1"; powershell -NoProfile -ep Bypass -File $env:TEMP\windows-repair-temp.ps1 # check if hasadmin rights, if notm run script in new terminal, clopsing old ## if not, carry on @@ -14,7 +14,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S Start-Process -FilePath 'powershell' -Verb RunAs -ArgumentList "-ExecutionPolicy Bypass -File $PSCommandPath" # CLOSE previous terminal - exit 0 + # exit 0 } else { clear # clear window