• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Use PowerRunAsAttached to Escalate Privileges on Windows

AnonyViet by AnonyViet
January 25, 2023
in Security
0

Are you using a computer running Windows operating system but have a lot of Users but you want to access CMD and Powershell of other Users but you don’t want to get out of your current User? You don’t want to close your applications but you need access to another User to work? Don’t worry, today I will show you how to access the Console of other Users using a script called PowerRunAsAttached

Join the channel Telegram of the AnonyViet 👉 Link 👈

PowerRunAsAttached – Script to support you in information technology

Personally, on my computer there are many different Users to serve different jobs. For example, I will normally have 3 Users including: 1 User for gaming, 1 User for coding and 1 User for others to use and they all have different purposes for more focus at work. But sometimes I also have things I will need to use the rest of the User but I don’t want to get out of the current User?

PowerShell on windows

Pretty lucky for me when I found a script on the github community. Your 1st PowerRunAsAttached Script has Username DarkCoderSc and this script is generated for the purpose of calling Console (CMD or Powershell) of other users.

Join me and set up now to be able to access the Console of other Users through PowerRunAsAttached!

Instructions for using PowerRunAsAttached to escalate privileges on Windows

Part 1: Setup Script

To do this part, your device requires:

  • Windows license has been activated
  • Fully updated
  • Have at least 2 Users or more

After you have completed the above requirements, let’s go into how to Setup this script!

Step 1: You download the script from github here. Then proceed to extract the file

Step 2: In the PowerRunAsAttached-main folder, that folder will have a file named PowerRunAsAttached. Do you remember the path to that file?

File PowerRunAsAttached

Step 3: Start Powershell as Administrator

Step 4: In Powershell, write the following commands:

# mẫu tham khảo
$p = [Environment]::GetEnvironmentVariable("PSModulePath")
$p += ";[đường dẫn tới file PowerRunAsAttached trong bước 2]"
[Environment]::SetEnvironmentVariable("PSModulePath",$p)
# Ví dụ
$p = [Environment]::GetEnvironmentVariable("PSModulePath")
$p += ";C:\Users\hoang\Desktop\PowerRunAsAttached-main\PowerRunAsAttached-main"
[Environment]::SetEnvironmentVariable("PSModulePath",$p)

Step 5: Please add the following command to import the script as a module

Import-Module PowerRunAsAttached

Note: If it shows an error as shown below, then run the following command:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Security policy

At this point, you have completed the setup. Now I will show you how to use the script!

Part 2: Instructions for using scripts

What you just need to enter on your Powershell is the command below:

Invoke-RunAsAttached -Username "[Tên username của user đó]" -Password "[password của user đó (để trống nếu không có)]"

Eg:

Invoke-RunAsAttached -Username "wdchocopie" -Password "anonyviet123@"

Run the script

You can use the whoami command to check which user you are in! Good luck

The article achieved: 5/5 – (100 votes)

Tags: EscalatePowerRunAsAttachedPrivilegesWindows
Previous Post

Lesson 251: Creating groups of data in Excel

Next Post

25 “secret” features hidden in the DuckDuckGo search engine

AnonyViet

AnonyViet

Related Posts

How to implement Shellcode Injection attack technique with Autoit
Security

How to implement Shellcode Injection attack technique with Autoit

March 14, 2025
How to exploit the holy hole of Hijacking on Windows
Security

How to exploit the holy hole of Hijacking on Windows

March 8, 2025
Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery
Security

Hamamal: Shellcode execution technique from afar to overcome Antivirus's discovery

February 10, 2025
Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile
Security

Snov.io Email Finder: Search emails with only company name/domain name/LinkedIn profile

December 14, 2024
Capsolver: Automatic solution solution for business
Security

Capsolver: Automatic solution solution for business

December 12, 2024
Seekr: Collect & manage OSINT data
Security

Seekr: Collect & manage OSINT data

November 22, 2024
Next Post
25 “secret” features hidden in the DuckDuckGo search engine

25 "secret" features hidden in the DuckDuckGo search engine

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Guide to comment on the constitution amendment on VNEID

Guide to comment on the constitution amendment on VNEID

May 21, 2025
Tips to fix the file is open in another program

Tips to fix the file is open in another program

May 21, 2025
7 ways to release RAM to accelerate your Windows computer

7 ways to release RAM to accelerate your Windows computer

May 21, 2025
Discover Supermix – Smart playlist on YouTube Music

Discover Supermix – Smart playlist on YouTube Music

May 20, 2025
Guide to comment on the constitution amendment on VNEID

Guide to comment on the constitution amendment on VNEID

May 21, 2025
Tips to fix the file is open in another program

Tips to fix the file is open in another program

May 21, 2025
7 ways to release RAM to accelerate your Windows computer

7 ways to release RAM to accelerate your Windows computer

May 21, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Guide to comment on the constitution amendment on VNEID

Guide to comment on the constitution amendment on VNEID

May 21, 2025
Tips to fix the file is open in another program

Tips to fix the file is open in another program

May 21, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET bongdaso

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET bongdaso