commit
48020b2107
|
@ -0,0 +1,21 @@
|
|||
# Change Windows User Name
|
||||
|
||||
This script can be used to change the windows user name.
|
||||
|
||||
**Category**: Execute
|
||||
|
||||
## Description
|
||||
|
||||
This script can be used to change the windows user name.
|
||||
|
||||
The script opens the research app and go to User Accounts settings using the default path `Control Panel\All Control Panel Items\User Accounts`, then go to "Change your account name" option and set the new name, save it and close the app.
|
||||
|
||||
It is absurd that you can do so many things on windows without asking for permissions.
|
||||
|
||||
### Dependencies
|
||||
|
||||
* Set the new name that you want to set
|
||||
|
||||
```DuckyScript
|
||||
DEFINE NEW_NAME example
|
||||
```
|
|
@ -0,0 +1,55 @@
|
|||
REM #############################################
|
||||
REM # |
|
||||
REM # Title : Change Windows User Name |
|
||||
REM # Author : Aleff |
|
||||
REM # Version : 1.0 |
|
||||
REM # Category : Execute |
|
||||
REM # Target : Windows 10/11 |
|
||||
REM # |
|
||||
REM #############################################
|
||||
|
||||
REM Requirements:
|
||||
REM - Nothing
|
||||
|
||||
REM Note:
|
||||
REM - Payload tested on Windows 11 Eng
|
||||
|
||||
REM Set the new name that you want to set
|
||||
DEFINE NEW_NAME example
|
||||
|
||||
REM Open Windows research
|
||||
DELAY 2000
|
||||
GUI
|
||||
DELAY 1000
|
||||
|
||||
REM Search and opern explorer app
|
||||
STRING explorer
|
||||
ENTER
|
||||
DELAY 1000
|
||||
|
||||
REM Goto search bar and open User Accounts settings
|
||||
TAB
|
||||
DELAY 500
|
||||
TAB
|
||||
DELAY 500
|
||||
TAB
|
||||
DELAY 500
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING Control Panel\All Control Panel Items\User Accounts
|
||||
ENTER
|
||||
DELAY 1500
|
||||
|
||||
REM Goto "Change you account name"
|
||||
TAB
|
||||
DELAY 500
|
||||
ENTER
|
||||
DELAY 500
|
||||
|
||||
STRING NEW_NAME
|
||||
DELAY 500
|
||||
TAB
|
||||
DELAY 500
|
||||
ENTER
|
||||
DELAY 1000
|
||||
ALT F4
|
Loading…
Reference in New Issue