Psexec Examples Domain User
Below is example syntax on how psexec will attempt to connect to every computer on the domain the executing computer is a part of and run the hostname command.
Psexec examples domain user. 1 can you successfully execute the psexec exe computername u domain my user p mypass cmd from another machine against your server. Open cmd and type. Server name is the actual server to which you try to access can be ip address netbios name or fqdn name username is the user with admin rights which you will use to access the server remotely.
Premium content you need a subscription to comment. Password is the pass of the user. Being logged on as a domain admin w2003 i run blat exe from any computers on a remote computer using psexec.
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. I m attempting to open a wep page with a batch file on multiple computers on a domain. For example the following command will copy your run bat file to all computers listed in the text file c ps computer list txt and execute this batch the h argument is used to run batch elevated.
This means it is an exploit run on an already established session. For example to execute commands or run executables on remote systems. Thanks for your help rene comment.
Jesse feb 13 15 at 13 55. I am currently trying to figure out if psexec has the ability to launch a batch file on the currently logged on user s account. I would like to know if it is possible to launch the file with the logged on users account so they see the opened weppage.
I need that a domain user can run my script without putting him her local admin of the remote computer. Psexec exe server name u username p password cmd. If instead of the computer name you will put an asterisk psexec then the command will be executed on all computers in your domain you can use this trick only on a domain joined computer.