MALIKA KAROUM

MALIKA KAROUM
  • Home
  • Inleiding
  • Blog
  • video’s
  • Dubai UAE
  • Promotie
  • Marketing
    • Malika Karoum Strategie Modules
    • Malika Karoum Online Marketing
    • Malika Karoum Business Service
    • Malika Karoum Platform
    • Malika Karoum Marketing Platform
    • Online business marketing
  • Luxury
    • The Indulgence Business site
    • The Luxury Web site
    • The Ultimate Indulgence
    • The Indulgence Site
    • The Ultimate Luxury Information site
    • Online luxury
  • Malika Karoum
    • Malika Karoum LinkedIn
    • Malika Karoum Facebook
    • Malika Karoum Instagram
    • Malika Karoum Business News
    • Malika Karoum Promotion
      • Worth for free now
      • Work from Home 2020
      • Gadgets
      • All about Windows
      • about Whatsapp
      • Whats the
      • About websites
      • New Ways
      • New Way of Watching
      • Virtual
      • Website
      • All about Video
      • How to Use
      • YouTube Info
      • All about Twitter
      • The Best of
      • About Apps
      • Google News
      • For Free
      • About This
      • Need More
      • Why should you
      • Iphone news
      • Interesting News
      • About Amazone
      • Some tips
      • About Netflix
      • All about Music
      • About Facebook
    • Adverteren grote fraude
    • Menu POS
    • Malika Karoum Evenementen
  • Malika Security
  • Home
  • Malika Karoum Global News
  • What Is PsExec in Windows and What Does It Do?
September 23, 2023

What Is PsExec in Windows and What Does It Do?

What Is PsExec in Windows and What Does It Do?

by Malika Karoum / Sunday, 31 January 2021 / Published in Malika Karoum Global News

PsExec is a utility tool that allows system administrators to control a computer from a remote location. It’s a command-line interface that requires no software installation like some of the popular remote administrative tools.

You’re definitely wondering how this is possible, right? In this article, you’ll learn how to download and install PsExec, how to launch it, and some basic commands to get you started. Without much ado, let’s dive in!

What Is PsExec?

PsExec is a versatile system administrative tool from Microsoft that you can use to remotely access a target host. The utility tool is part of Sysinternals Suites created by Mark Russinovich. Its main purpose is to help system administrators perform remote maintenance tasks and execute commands on the target host. As a command-line interface, PsExec only requires you to provide the target address, user detail, and password to gain access to the targeted computer.

Unlike Telnet and Remote Desktop Protocol (RDP), PsExec won’t ask you to install a client program on your PC or another software on the remote host either. PsExec can redirect the input and output of console applications.

For example, if you remotely access a computer with IP address 192.168.79.32 and run an ipconfig command on PsExec, i.e.

Psexec 192.168.79.32 ipconfig

You’ll see the ipconfig output (i.e. the TCP/IP configuration of the remote system) on your personal computer as if you ran the command on the localhost. This capability makes PsExec different from many Windows administrative console tools.

How to Install and Set Up PsExec

PsExec doesn’t require the installation of any client software and no advanced set up on the remote host before connecting. So, if PsExec doesn’t require any settings like other traditional administrative tools, how does it work?

Downloading PsExec

PsExec is just a command line utility tool. All you need to do is to download the PsTools suites on the localhost. It’s a ZIP file available at Sysinternals.

After downloading, extract PsTool.zip. To do this, right click on the ZIP file and select Extract All from the menu.

Related: The Best Tools to Open RAR Files

Installing PsExec

Once you have PsExec downloaded and extracted on your computer, open the folder where the extracted file is located. Replace what’s in the navigation bar at the top of the extracted folder with CMD and press Enter. This process will open a command prompt window in the PsExec folder.

Running PsExec and Connecting to a Remote Computer

Once you have PsExec downloaded on your remote computer, the next step is to set it up for connection to a target host. For PsExec to run and connect to a remote host, there are three basic prerequisites you’d need to put in place. These are:

1. Turn on File and Printer Sharing

File and Printer Sharing must be enabled on both the local and remote host. To enable File and Printer Sharing, open Windows Settings > Network & Internet and scroll to Network and Sharing Center.

On the left side of the opened window, click the Change Advanced Sharing Settings. Select Turn on File and Printer Sharing and save changes.

2. Enable Administrative Share ($ Admin) on Remote Host

The remote computer must have its administrative share ($ admin) enabled and set up correctly to provide access to its windows folder.

Administrative share ($ admin) allows a system administrator to manage multiple computers on a company network or workgroup by accessing drives and folders within them.

To enable administrative share ($ admin) on the remote computer, press the Win+r key, type lusrmgr.msc, and press OK.

In the new window, open the Users folder. Right click on Administrator and select Properties.

In the Properties window, uncheck the Account is disabled checkbox and click OK. Right-click Administrators again and click Set Password to set your account password.

3. Get the Administrator’s Details

Have the correct user credential of the remote computer, i.e. the IP address, the administrative account username, and password.

How to Use PsExec?

For PsExec to work correctly, its syntax needs to be exact. Therefore, you need to understand the way it works and type commands as intended.

So, to access a remote host, you need to provide the target host credentials (the IP address, username, and password) with your preferred commands.

For example, to run ipconfig on a remote system with an IP address 192.168.89.323 and password ‘12345’, you can open a PsExec CMD console, and enter:

C: PsExec 192.168.89.323 –u Administrator –p 12345

If your inputted command successfully executes on the remote system, it will transfer the text output to your command window.

Basic PsExec Commands for New Users

We believed that so far you’ve understood what PsExec is and the correct way to connect a local system to a remote system. So, for new users, using the PsExec tool can be a bit confusing because you need to follow the syntax for it to work. Here are basic commands every PsExec users need to know.

To Launch Command Prompt Remotely

C: psexec windows cmd

Running the command above in PsExec will launch another command-line interface in the current window. This interface, however, will enable you to enter commands on the remote system as if you’re typing directly on the computer.

After successfully executing CMD command, you can easily run other commands like dir to list a folder’s contents, mkdir to create a new folder, or ipconfig to get the remote system network configuration.

To Install a Program on the Remote Host

C: psexec Desktop7743 -c “E:filedocumentCCleaner.exe” CMD /S

The above script is used to install CCleaner on the remote computer Desktop7743. The Syntax -c is a command used for copying the CCleaner program from the local host to the remote computer while the CMD is for launching command prompt, and /S is a command used for enabling a silent install for the CCleaner.

To Run a GUI Application on the Remote Computer

psexec -i emote computer calculator

As a default setting, PsExec does not launch GUI programs on the remote computer. However, with the help of the -i switch, you can launch a GUI application on the remote computer screen.

For example, if you need to open the calculator app on the remote computer, all you need to do is to execute the calculator.exe with the -i switch, and PsExec will bring it up.

Getting More Familiar With the PsExec Interface

PsExec can seem intimidating. But, the more you interact with the command-line interface, the more proficient you will be with it.

If you’re eager to go deeper and get familiar with the syntax and commands used for executing PsExec operations, you should learn more about the Windows command-line interface.

MakeUseOf – Feed

  • Tweet
Tagged under: PsExec, Windows

About Malika Karoum

What you can read next

Adobe’s New Photoshop Tutorial Series on YouTube for Beginners
7 Reasons Why You Should Stop Using Desktop Email Clients
How to Get Great Deals on eBooks Using Goodreads

Malika Karoum Blog 2023

  • Windows 11’s 22H2 Release Date Finally Appears Online

    Windows 11 has had the chance to prove itself t...
  • 8 Simple Photography Genres for Beginners to Try

    Even if you’ve just picked up photography...
  • How to Change the Name of Your Mac

    When you set up your Mac for the first time, Ap...
  • 3 Different Ways to Remotely Record a Podcast Interview

    At some point in your podcasting journey you wi...
  • What Size Should Your Instagram Photos and Videos Be?

    Being a completely visual platform, Instagram h...
  • The 10 Best Raspberry Pi IoT Projects

    Launched in 2012, the Raspberry Pi single-board...
  • 5 Rust WebAssembly Frameworks for Your Next Application

    WebAssembly (WASM) is a portable, low-level bin...
  • How to Switch Off Live Captions in Chrome

    Chrome's Live Caption feature automatically...
  • What to Do if You Drop Your Kindle in Water

    Everyone knows that paper books and water don&#...
  • The Differences Between Level 1, Level 2, and Level 3 EV Charging Explained

    EVs are now omnipresent, and you're probabl...
  • 6 Fixes for AirPods Not Switching Automatically Between Apple Devices

    Whenever you make a call, play some music, or w...
  • The Most Fun Workout Tutorials on YouTube

    Who says exercise has to be a serious endeavor?...
  • Remove the GarageBand Sound Library From Your Mac to Save Storage

    Every Mac comes with GarageBand pre-installed. ...
  • How to Control Your Mouse With the Keyboard in macOS

    Back in the day, before computer mice and track...
  • How to Turn Off Google Assistant on Android, Chromebook, and Smart Devices

    Virtual assistants such as Amazon’s Alexa...
  • Get a Lifetime Microsoft Windows 10 License for $14, Office for $26 

    When you have a Microsoft Windows license, you ...
  • Manage Passwords and Private Data With Keeper

    The many companies with which we all have accou...
  • How to Remove Items From the New Context Menu in Windows 10-11

    Streamlining Microsoft Windows to make it suit ...
  • Geekom’s IT8 Mini PC Is a Palm-Sized, Portable, Powerhouse ‘Puter

    Is your workspace crying out for some additiona...
  • A Beginner’s Guide to Reddit: 9 Tips for New Users

    Reddit can be a daunting place for new users. W...

MALIKA KAROUM ONLINE MARKETING PLATFORM

Office:
RME HOLDINGS SARL – DUBAI BRANCH

BUSINESS CENTER

Parcel ID: 345-835

Area: Bur Dubai

Sub Area: Burj Khalifa

UNITED ARAB EMIRATES

 

 

 

Malika Karoum Concept

Malika Karoum Projects

  • GET SOCIAL

© 2014 Malika Karoum -United Arab Emirate Dubai- All Rights Reserved

TOP