![]() If you did not specify the user name and password, then the remote process starts on the remote computer under your current credentials, which are used to start the PsExec process on your computer. The syntax for PsExec is as follows: psexec \\RemotePCName ] command Netsh advfirewall firewall add rule name="NETBIOS" dir=in action=allow protocol=UDP localport=139 How to use PsExec? You can open these ports on a remote computer using the Windows Firewall Advanced Settings (GUI) or using the commands: netsh advfirewall firewall add rule name="SMB" dir=in action=allow protocol=TCP localport=445 The LanmanServer and LanmanWorkstation services must be running on a computer.You must have administrator credentials on the remote computer, or the user under which you are running PsExec must be added to the Administrators group on the remote computer.TCP/445 (SMB) and UDP/137 (NETBIOS) ports must be open on the remote computer.To connect to a remote computer via PsExec, the following conditions must be met: You can run PsExec from the command prompt or PowerShell console. In order to use the PsExec tool, simply download the PSTools.zip archive from Microsoft and extract the PsExec64.exe and PsExec.exe files to any folder on your computer (it is convenient to copy it to the default executable folder C:\Windows\System32). You can download it on this page (the actual version is the PsExec v2.40). The PsExec utility is one of the most popular programs of the PsTools package from Sysinternals. The main advantage of PsExec is the ability to invoke the interactive command-line interface on remote computers, remotely run programs, and execute any commands (in the background, or the interactive mode). The PsExec tool allows you to run programs and processes on remote computers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |