Remote command prompt software


















Perhaps some context will help understand what you want to do, and you might be better using PowerShell not cmd. I want to be able to run basic commands inside my network. I also need to be able to delete files and move folders around. All in the same domain. I've never known anyone to want to use cmd to delete files or folders remotely, RDP or shares as Grammar pointed out is usually the go to method. I fully agree with Rod-IT.

Why would you ever want to make this 10 times more complicated then it is?????? Use the Admin share and take care of what you need in the background.

Whelton Network Solutions is an IT service provider. Just remember, if you can remotely move and delete files on computers on your network, so can an attacker If you wanted to run check disk I'd probably do it at the client, especially if this was on the boot drive as it usually requires a reboot, but it's also not something I've needed much, if at all. While we're at it PSLoggedOn can also be useful for this sort of thing. Open the folder where the extracted files are located, and from the navigation bar at the top of the folder, erase what's there and enter cmd.

This will open Command Prompt in that folder so that you can run commands through PsExec. With Command Prompt now open to the folder that contains PsExec. Much like any command-line tool, PsExec works only when its syntax is followed exactly. Once you understand how to type commands in the way the tool understands them, you can control the program from any Command Prompt. This is how PsExec commands must be entered:.

This may look complex and confusing but don't worry! There are some examples at the bottom of this page that you can use to practice. The above syntax is used to execute any of the following PsExec command arguments:. Here are a few examples of how to use PsExec to do things like run remote Command Prompt commands, manage Windows Services , and launch or install programs. Doing this will launch a regular Command Prompt window within the existing one, and let you enter every command as if you were sitting in front of the remote computer.

Another way to use PsExec is to enter individual commands but without starting a full Command Prompt. In this example, we're executing the tracert command against lifewire. Here, we're using PsExec to launch Registry Editor on the remote machine, mikelaptopw10 , in the System account.

Because -i is used, the program will open in interactive mode, meaning that it will actually launch on the remote machine's screen. If -i were omitted from the above command, it would execute in hidden mode to avoid showing any dialog boxes or other windows. Adding an argument like that requires cmd.

It's very important to understand how powerful PsExec is and how it could be used to compromise your computer when used in an otherwise unsecure environment. For example, combining -c , -u , and -p , specifically will let anyone with a network connection to your computer, and knowledge of the admin credentials, execute secret malware with anyone's credentials.

Even that last, perfectly acceptable example in the previous section takes on a whole new purpose when you consider that instead of CCleaner, someone could install anything else they desired, in the background, and no windows pop up to show that anything is happening.

All that said, considering the firewall changes required and administrator credentials knowledge someone would have to have, there's little reason to worry so long as the admin password on the remote computer is complex and other basic security measures have been taken. Some antivirus programs falsely identify PsExec as a dangerous file, but those warnings can be ignored if you know for sure that the program you're using is from the Microsoft source above.

The next Step to Uninstall Software Remotely Using Command Line Enter the following command in the console: product get name this will display a list of software installed on the computer.

Consider Using Action1 to Uninstall Software Remotely if: You need to perform an action on multiple computers simultaneously. You have remote employees with computers not connected to your corporate network. Related Articles. How To Delete User Profiles Remotely with PowerShell Dec 1, How-to Articles When a user logs onto the computer for the first time not via the network to access shared folders or printers , Windows creates a user profile.

Submit a Comment Cancel reply Your email address will not be published. Comment Name Email Website Save my name, email, and website in this browser for the next time I comment. Patch Management Identify and deploy missing OS and third-party software updates. Software Deployment Distribute software and updates across managed endpoints. IT Asset Inventory Keep a detailed inventory and manage hardware and software assets.

Remote Desktop Support users via seamless remote desktop connection. Last Updated: May 18, 2 Minute Read. Reply Facebook Twitter Reddit LinkedIn. Ben Bolton This person is a verified professional. Main Areas of Contribution:. Track Progress. Earn Credits. Step 3: Call the installation for a single machine. If your WMI compliant MSI package was successfully installed, you should see something like the following: Method execution successful. Step 4: Call the installation for a list of machines.

Mike Mar 18, at pm. Tom Apr 2, at pm. Hodge Apr 29, at am. Shane Wood May 25, at am. Worked really well for me and saved me heaps oftime.



0コメント

  • 1000 / 1000