diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index b64ab65..3016ba6 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -4,10 +4,9 @@ # alt+a # alt+y # Run: -# powershell.exe -Command "iwr" -ArgumentList "-Uri https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1 -OutFile $env:TEMP\windows-repair.ps1" && powershell.exe -ExecutionPolicy Bypass -Verb RunAS -NoProfile -File "$env:TEMP\windows-repair.ps1" - +# powershell -c "iwr -Uri `"https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1`" > `"$env:TEMP\windows-repair.ps1`""; powershell.exe -ExecutionPolicy Bypass -File "$env:TEMP\windows-repair.ps1" if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S-1-5-32-544')) { - Start-Process -FilePath 'powershell' -Verb RunAs -ArgumentList "-ExecutionPolicy Bypass -File `"$PSCommandPath`" $args" + Start-Process -FilePath 'powershell' -Verb RunAs -ArgumentList " -ExecutionPolicy Bypass -File $PSCommandPath" } Write-Host "`nFIXING WINDOWS FULL STYLE`n"