Psexec.exe: A Powerful tool for IT Admins

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 มิ.ย. 2024
  • Psexec.exe is a powerful command-line local and remote shell that can offer powerful solutions facing IT admins running an enterprise network. It is a remote shell that works with most CLI programs and utilities, PowerShell, can be executed in a batch file or PS1 file. Allows applications and utilities to be executed under the SYSTEM account. Does not require installation and removes all processes, threads, and functions upon termination both locally and on the remote host. Psexec allows you to control what session the program/utility runs. Learn a tool that you will find so many uses for in your work environment.
    Please consider becoming a channel member:
    • you get an early viewing of all our video content
    • access to the complete series of videos for each subject
    • links to video notes and PowerPoint slide deck both in MS-Word and PDF format
    • Our eBook and resources folder
    • Join our channel membership, it’s $2.99/month); see the “Join” button on our channel homepage. / @techsavvyproductions
    "Everybody can be great... because anybody can serve. You don't have to have a college degree to serve. You don't have to make your subject and verb agree to serve. You only need a heart full of grace. A soul generated by love." Martin Luther King Jr.
    Check out our TH-cam channel for more content!
    TH-cam: / vanderl2796
    Check out our Website: www.techsavvyproductions.com
    Follow us on Twitter: @_TechSavvyTeam
    Like us on Facebook: / tech-savvy-productions...
    Mr.V Linkedin: / lowell-vanderpool-5797...
    Links to Documentation
    PowerPoints in *.pptx format:
    docs.google.com/presentation/...
    Slide Deck in PDF:
    drive.google.com/file/d/1cOgQ...
    Video Notes in *.docx:
    docs.google.com/document/d/1s...
    Video Notes in PDF:
    drive.google.com/file/d/16XDJ...
    Email: mrvanderpool@techsavvyproductions.com
    More TechSavvyProductions Videos that you might enjoy:
    We translate subtitles on our videos into the following languages: عربى, българскиB, 简体中文), 中國傳統的), Nederlands, Suomalainen, Pilipino, français, Deutsche, हिंदी , Magyar, bahasa Indonesia, 日本語, 한국어, norsk, Polskie, português, Română, русский, Española, Kiswahili, Svenska, and Tiếng Việt
    #techsavvyproductions #vanderl2796 #LowellVanderpool
    1. Introduction to building SMB Firewall rules using open-source security appliances.
    • Open-Source Pfsense Fi...
    2. Solving Electrical Problems in your Data Network
    • Electrical Mysteries U...
    3. What is Software Defined Networking: SDN?
    • SDN 101: A Comprehensi...
    4. What is a ToR network switch?
    • ToR Switch Demystified...
    5. Removing the Mystery of Hyper-V Checkpoints
    • Removing the Mystery o...
    6. Day 1: Troubleshooting Windows Applications. What is a process and What are threads?
    • Mastering Windows Appl...
    7. Day 2: Troubleshooting Windows Applications. Types of Applications and Processes.
    • Troubleshooting Essent...
    8. TPM 2.0 Trusted Platform Module Introduction
    • TPM 2.0 Unveiled: Empo...
    9. Advanced Troubleshooting for Frozen/Lockup Computers/Servers and Applications
    • Resolving Windows Appl...
    10. Windows Docker Containers: Explained
    • Unlocking the Power of...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 136

  • @salvadorrobledo9419
    @salvadorrobledo9419 2 ปีที่แล้ว +5

    Been watching your videos for years. Thank you for going in depth with this tool as I use it but now have a better understanding of it and learned so many new things it can do. I Appreciate all the great content 👌

  • @SlothMcLazy
    @SlothMcLazy 5 หลายเดือนก่อน +1

    One of the best tutorials I have seen on TH-cam. Thank you!

  • @frymc5351
    @frymc5351 2 ปีที่แล้ว

    One of my new favorite lessons on this channel. Thank you for this video.

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Awesome, I enjoyed doing the video. Always glad to hear a good feedback.

  • @freestyleTommy
    @freestyleTommy ปีที่แล้ว +1

    Love it!! I love how you leave the errors… and explain how you corrected them…
    Thank you.

  • @TheAlexkidx
    @TheAlexkidx 2 ปีที่แล้ว +2

    Essa foi uma das aulas mais úteis que já assistí aqui, parabéns pelo seu conteúdo.

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Obrigado por seus comentários e por acompanhar o canal!

  • @JohnJohn-sf1df
    @JohnJohn-sf1df 2 ปีที่แล้ว +1

    Fantastic. Just found your channel. Subbed!

  • @ahirnimesh09
    @ahirnimesh09 2 ปีที่แล้ว

    thank you making such curical topic video, your videos are useful for us who is working as sysadmin.

  • @rory_rox
    @rory_rox 8 หลายเดือนก่อน

    Was a sysadmin for years before I became familiar with PSExec.exe and boy it is such a game changer. Everyone in IT should be familiar with how to use it. Be careful however, always remember the more powerful the tool, the more respect you need to give it. Think carefully before you hit that big enter key.

  • @yagneshmalaviya5169
    @yagneshmalaviya5169 2 ปีที่แล้ว +1

    Hats off. Great content great editing
    Thank you for investing time in creating this video.. bless you 🙌 🙌

  • @henrytongunclement2098
    @henrytongunclement2098 2 ปีที่แล้ว

    Great tool I like it plus your presentation is super straight forward. Thanks

  • @MsErmess
    @MsErmess 2 ปีที่แล้ว +1

    Thanks a lot, brilliantly explained. Very educative.

  • @aristotelesfernando
    @aristotelesfernando 2 ปีที่แล้ว

    I never hear about that channel! awesome!

  • @AshraRai
    @AshraRai 2 ปีที่แล้ว

    This is very useful lesson on brilliant tool. Thank you sir.

  • @jasonoldy69
    @jasonoldy69 2 ปีที่แล้ว

    Excellent. Glad I subscribed

  • @pawansmy1844
    @pawansmy1844 2 ปีที่แล้ว

    Much thanks for beautiful explanation

  • @johnnymh1111
    @johnnymh1111 2 ปีที่แล้ว

    Excellent. Thank you.

  • @ajaidx
    @ajaidx ปีที่แล้ว

    Thanks a lot MR.V

  • @ahmedsalaheldin6275
    @ahmedsalaheldin6275 2 ปีที่แล้ว

    My favorite Channel 💪💪💪💪

  • @samiyanes1598
    @samiyanes1598 ปีที่แล้ว

    THANK YOU SO MUCH!

  • @certisfoster9716
    @certisfoster9716 2 ปีที่แล้ว

    The biblical verses is just icing on the cake Mr. V 🍻. All your content is superb.

  • @r3tr0n17
    @r3tr0n17 ปีที่แล้ว

    Excellent tutorial.. Thanks !

  • @jonathansantiago8438
    @jonathansantiago8438 3 หลายเดือนก่อน

    Great Tutorial, Thank you.

  • @andytheunico
    @andytheunico ปีที่แล้ว

    Desde Perú, excelente guía.
    From Peru, useful guide!!

  • @SilentSolution
    @SilentSolution 2 ปีที่แล้ว

    Thanks for your information Sir 👍

  • @hadibq
    @hadibq 2 ปีที่แล้ว

    nice discovery! new sub indeed! TY!

  • @user-yi4ef2gk1o
    @user-yi4ef2gk1o 2 หลายเดือนก่อน

    Great video, this is very weaponizable!!!

    • @TechsavvyProductions
      @TechsavvyProductions  2 หลายเดือนก่อน +1

      Keep in mind if basic security is compromised all tools can be weaponized. It is a fantastic tool for admins as is PowerShell.

  • @a.useronly2266
    @a.useronly2266 2 ปีที่แล้ว

    Thanks, so amazing 👌🏻

  • @default19in
    @default19in 2 ปีที่แล้ว

    There is one tool called batchpatch which uses this same psexec service and help to install everything in network.
    TX for depth knowledge sirjee.

  • @nicoladellino8124
    @nicoladellino8124 2 ปีที่แล้ว

    Nice video, TNX.

  • @info.pankaj24
    @info.pankaj24 2 ปีที่แล้ว

    Thankyou Sir for your effort

  • @mikemurray2875
    @mikemurray2875 2 ปีที่แล้ว +1

    Thanks for filling us in on how hackers do things :-)

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว +1

      Mike just keep your admin credentials secure and I promise they will not use them.

  • @luismarrero9293
    @luismarrero9293 ปีที่แล้ว

    great tutorial thank you so much. one question do we need to do a configuration on the remote computer in order to work? like installing psexec or something else. in addition to probably have the print sharing port enable

  • @johnsenchak1428
    @johnsenchak1428 2 ปีที่แล้ว

    AMAZING VIDEO !

  • @AdmV0rl0n
    @AdmV0rl0n 2 ปีที่แล้ว

    Splendid stuff sir, really splendid!

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Glad you enjoyed it

    • @AdmV0rl0n
      @AdmV0rl0n 2 ปีที่แล้ว

      @@TechsavvyProductions I've been in IT since the 90's. So many people fail to grasp how for many people the help file just showing switches doesn't actually translate into use. The smart folks will just 'get it' but many ordinary folk are left head scratching. In this video, you covered usage, but went quite deep into the actual examples of usage.
      If I could change one thing over the last 30 years, I'd have got people making the man pages and the destructions, and their /help and their command outlines have the switches, but also show some example usage lines of the switches.
      This is what you did here. You created a tour de force video on PSEXEC.
      Thank you :)

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      What you just shared is very true. Developers cut their teeth on command-line principles and early in their career get a good dose of syntax, but the IT professional is dropped off at the pool and left to swim or die. Syntax varies by who writes the code and often leaves everyone pulling hair. The video is addressing people like you and I who often need help in really understanding how it works and how to use parameters correctly. Thanks for the comment.

  • @malcolmmoore9938
    @malcolmmoore9938 2 ปีที่แล้ว

    Mark Russinovich recommended your video 😉

  • @Silvermist78
    @Silvermist78 9 หลายเดือนก่อน

    Sir you are awesome! 🙏🙏🙏🙏👏

  • @KristenWieland
    @KristenWieland 9 หลายเดือนก่อน

    You, sir, are amazing

  • @GooogleGoglee
    @GooogleGoglee 2 ปีที่แล้ว

    Beautiful video and insight of psexec thank you
    Does the concept of the sessions apply also to Linux/Unix systems? Do they have 3 session total too in the same way?
    Thank you

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Great question: I am not as sure of the GUI architecture in Linux as I am in Windows. I will look and see if anyone does a comparison.

    • @NotThatEpic7492
      @NotThatEpic7492 ปีที่แล้ว

      it isnt necessarily 3 sessions, esch user who logs in will have another session created for them.
      for example: session 0 is created on boot and when the normal user logs in, session 1 is created for thet user. when someone connects with RDC, session 2 is created for it. lets say a second user logs into the computer (e.g. a family member), they would get session 3

    • @NotThatEpic7492
      @NotThatEpic7492 ปีที่แล้ว

      and so on…

  • @andreigiubleanu
    @andreigiubleanu ปีที่แล้ว

    LV is the man!

  • @suzettegarcianomonsanto5648
    @suzettegarcianomonsanto5648 2 ปีที่แล้ว

    Nice video very informative

  • @vtreanor
    @vtreanor 2 ปีที่แล้ว

    Great delivery but I've got no use for the flash bang intro stuff. Content was impressive.

  • @psycl0ptic
    @psycl0ptic 2 ปีที่แล้ว

    SSH! been doing this for years on linux; unix; macOS.

  • @RossCanpolat
    @RossCanpolat 2 ปีที่แล้ว

    So for example with the VLC install if you did not specify a silent install would you have seen the VLC installer appear on your local machine where you scroll through the licence agreement and hit next several times to install it on the remote machine? Or is that type of remote install only capable over a GUI like remote desktop, teamviewer etc?

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว +1

      Ross, this a console tool so no GUI that is why we want a silent install. If you using RDC or Teamviewer then you are thinking correctly but then must select the proper "session" if you want to interact with the install. Great questions!

    • @RossCanpolat
      @RossCanpolat 2 ปีที่แล้ว

      @@TechsavvyProductions so what would have happened if you didn't select "silent" and just ran the installer while still being within the "session 0" mode? Would the user have seen a GUI installer pop up & would you would have been presented with installation options like agreeing to the EULA, choosing the installation directory etc via your shell prompt?

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Keep in mind Session 0 is where protected processes and services are run and the logged on user can not interact with them. You must select a session that the user can view {logged on with keyboard Session 1} {RDC or virtual machine Session 2}

  • @MKamois
    @MKamois 2 ปีที่แล้ว

    спасибо, было познавательно

  • @luismarrero9293
    @luismarrero9293 ปีที่แล้ว

    hello there great video very interesting theme . I wonder if we must use always Admnistrator system user or we can work with a local admin account too.????

    • @TechsavvyProductions
      @TechsavvyProductions  ปีที่แล้ว

      Luis, yes you can use local admin also.

    • @luismarrero9293
      @luismarrero9293 ปีที่แล้ว

      @@TechsavvyProductions i tried but it didn't work for me . I have error you need to enable admin$ share on this computer

  • @efmece
    @efmece 2 ปีที่แล้ว +1

    why would you use Psexec rather than Powershell?
    AFAIK powershell is more secured and uses really well windows API (powershell was created by microsoft). Its also native in all kind of windows.
    And if you want to connect to a remote machine (Enter-PSsesion can do it) and Invoke-command can run scripts to many systems parallely
    I just want to understand why psexec?

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Efrain, you are correct PowerShell is the tool for Enterprise! The video was simply explaining how to use it and how it works. It still can be a useful tool for many. Cheers!

  • @GuNdEiGuRkE
    @GuNdEiGuRkE 11 หลายเดือนก่อน

    Hey somehow I have a weird error: When running 'psexec \\IP-Address -siu Administrator cmd' I get the cmd on my machine, but when I want the cmd to pop up on the remote machine, I run the same command you did in the video so 'psexec \\IP-Address -s -i 2 -u Administrator cmd' i get 'access denied - psexec could not start cmd on 'IP-Address'' do you have an idea what this is about and how to solve this?

    • @TechsavvyProductions
      @TechsavvyProductions  11 หลายเดือนก่อน

      Make sure your Administrator account is not disabled

  • @Bigjunk9999
    @Bigjunk9999 7 หลายเดือนก่อน

    IS there any workaround to getting PSEXEC to be able to speak with workstations that have had their Admin$ share disabled? I'm hitting in impasse with this at work.

    • @TechsavvyProductions
      @TechsavvyProductions  7 หลายเดือนก่อน

      It is rare to find Enterprises disabling Admin$, no it is a requirement for PSEXEC.

    • @Bigjunk9999
      @Bigjunk9999 7 หลายเดือนก่อน

      Thanks for confirming. And great video!

  • @L3gion3r
    @L3gion3r ปีที่แล้ว

    How do you get the system information on your desktop?

    • @TechsavvyProductions
      @TechsavvyProductions  ปีที่แล้ว

      systeminfo.exe is a great CLI tool that will pull system information back to your workstation via psexec.exe docs.microsoft.com/en-us/windows-server/administration/windows-commands/systeminfo

  • @user-wj5bq7xu4y
    @user-wj5bq7xu4y ปีที่แล้ว

    Psexec pode ser usado em rede sem domínio, apenas rede doméstica?

  • @luismarrero9293
    @luismarrero9293 ปีที่แล้ว

    nevermind i just checked we only need port 445 running , thanks

  • @petruciucur
    @petruciucur 11 หลายเดือนก่อน

    What about internet route?

  • @monKeman495
    @monKeman495 2 ปีที่แล้ว

    how to bind DLL with psexec

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว +1

      not sure exactly what you mean by "bind DLL" but generally what you can do locally can be done remotely with psexec if console based.

  • @M0M3NTUM33
    @M0M3NTUM33 5 หลายเดือนก่อน

    It is also great in spreading Ransomware

    • @TechsavvyProductions
      @TechsavvyProductions  5 หลายเดือนก่อน

      Any admin tool can be dangerous in the wrong hands.

    • @M0M3NTUM33
      @M0M3NTUM33 5 หลายเดือนก่อน

      @@TechsavvyProductions especially Microsoft admin tools

  • @williamheckman4597
    @williamheckman4597 2 ปีที่แล้ว

    Or just use an remote terminal? Not sure of the advantage of this.

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      William, you are correct there are many tools for remote administration, psexec.exe is just one more in your tool box. Thanks for watching!

  • @chinesepopsongs00
    @chinesepopsongs00 2 ปีที่แล้ว

    This tool will loose its power fast in serious IT as the whole remote part and how it works is more seen as a security problem than a usefull tool. So the way it connects to remote machines is blocked in business environments more and more. For me it is a little bit of a guess if i can use this at customer sites or not. Most of the time the bigger the customer the less chance that it still works.

  • @alialis6417
    @alialis6417 2 ปีที่แล้ว

    nice tool can be more helpful

  • @KaiDzialas
    @KaiDzialas 2 ปีที่แล้ว +4

    Oh c“mon. Arrive in 21st century and use Remote PowerShell. The first thing you do, when dealing with it security, is to get ridd of psexec - fast!

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว +3

      Great comment, Remote PowerShell is awesome and is the go to automation CLI for admins. Psexec.exe is just another great tool and once understood can really be a quick solution to many problems. Psexec.exe though is not a security risk, without compromised credentials it is useless. Thanks for taking the time to comment.

  • @waiskhan6770
    @waiskhan6770 ปีที่แล้ว

    Tn

  • @mass-any_key-lite
    @mass-any_key-lite 2 ปีที่แล้ว

    PsExec - это облегченная замена Telnet, так что автор ролика ламер.

  • @knight024
    @knight024 2 ปีที่แล้ว

    Windows should have useful tools built-in and not require people to download them. It's dumb

    • @TechsavvyProductions
      @TechsavvyProductions  2 ปีที่แล้ว

      Good point, there are a ton of tools built in but Mark shares in this video done recently why he opted to keep this group of tools outside the Windows build cadence. th-cam.com/video/tR22u6H8E5w/w-d-xo.html

  • @ch1701a
    @ch1701a 2 ปีที่แล้ว +1

    Can you play more annoying music in your introduction video? Because it really puts me off

  • @NotThatEpic7492
    @NotThatEpic7492 ปีที่แล้ว

    lets be honest, 99% of ppl just play around with psexec instead of actually using it for administration.
    on my school pc i accidentally elevated my privileges to NT AUTHORITY\SYSTEM and i had created a fake error with VBS.
    so i ran psexec64.exe \\* -i -s -d C:\users\1849245\desktop\error.vbs (that command executed my fake error on every school computer in the school)
    the teacher ended up calling IT 💀

    • @TechsavvyProductions
      @TechsavvyProductions  ปีที่แล้ว

      If you decide to work in IT admin you will find it very handy to do useful work!

    • @NotThatEpic7492
      @NotThatEpic7492 ปีที่แล้ว

      yeah. this is an essential tool in the IT business, but also there are ppl who want to have fun with it as well.
      it just depends on what type of person you are and what sort of job you have. you have to be careful with the tool tho because if it falls into the wrong hands, (e.g. a hacker) that could be a serious issue