Starting a PowerShell with administrator permissions in Windows 10/11

Starting a PowerShell with administrator permissions in Windows 10/11
Download Copy
Title: Starting a PowerShell with administrator permissions in Windows 10/11
Author: Aleff

This script can be considered by people who are new to the world of scripts written in DuckyScript so that they can understand how to start a PowerShell with administrator permissions on a Windows machine. Starting a PowerShell session with administrator privileges means the session has access to features and operations that require high permissions on the Windows operating system. Some PowerShell commands require administrator privileges to run properly. Starting PowerShell as an administrator allows you to execute commands that require elevated permissions, such as managing system services, changing security settings, creating or modifying user accounts, installing system-level software, and so on. It is important to note that running PowerShell with administrator privileges involves a higher level of responsibility and can cause significant changes to the system. Therefore, it is advisable to be careful and fully understand the effects of operations performed in a session with administrator privileges to avoid unwanted or harmful changes.

Execution is the method of either remotely or locally running code — malicious or otherwise — on a target computer. Execution is typically coupled with other techniques to carry out more complex tasks, like performing reconnaissance, exfiltration or credential harvesting. Execution may be ephemeral, or coupled with persistence techniques used to maintain remote access or continued code execution. See all execution payloads.

This payload is for the USB Rubber Ducky — a "flash drive" that types keystroke injection payloads into unsuspecting computers at incredible speeds. It's no wonder this little quacker has made appearances on Mr. Robot, FBI, Blacklist, National Geography and more!

Submit your own payload, or browse more featured USB Rubber Ducky Payloads.

 

 

Related Payloads

capture http credentials
capture http credentials
This payload uses inotifywait and DYNAMICPROXY to monitor the HTTP POST data streams generated by a client and extract s
Read More
WAR GAMES
WAR GAMES
A text adventure game inspired by the 1983 film WarGames. Set in December 2025, you play as James Lightman, son of the l
Read More
Strip Connected Clients
Strip Connected Clients
Pulls previously connected clients from the recon database and stores that list in a file located in /root/loot/info.
Read More