Questions tagged [pstools]

PsTools is a suite of Windows command-line tools to manage and administer Windows Machine in respect to process management.

You can learn more about PsTools here and Download

102 questions
1
vote
1 answer

PSEXEC - PATH VARIABLE NOT FOUND

I use the PSEXEC to start the java process in local machine. When I run the PSEXEC without any user account it works fine. c:/>psexec java testclass But when I run with an user account c:>psexec -u user -p password java test It gives me the…
Magesh
1
vote
4 answers

PsExec Couldn't access Windows cannot find the network path

Using PsExec v1.96 and given the below command: psexec -u ADMIN_USER_NAME -p ADMIN_PWD I get the below error: Couldn't access Windows cannot find the network path. Verify that the network path is correct and the destination computer is not…
Navan
1
vote
1 answer

Problem using psexec to remotely GAC a file

As part of a deployment process I am trying to GAC a series of files. The actual build process occurs on a build server, and I am trying to use psexec to GAC the files on whichever machine has requested the build. The current line I am trying to…
1
vote
1 answer

How to run cmd.exe using the system account on Windows 11?

I want to run cmd.exe not as administrator, but as the local system account on Windows 11. Apparently it was possible on Windows 10 using psexec. On Windows 11 with psexec v2.40 I get this error from an admin elevated…
1
vote
3 answers

PSExec on Windows 2008 R2 Failing "Network name cannot be found"

We've got a bunch of remote admin scripts which rely on psexec and they do not appear to be working over the network on our new 2008 hosts. An error dump is below: C:\Users\\Desktop\PsTools> psexec \\ -u Administrator -p
Adam Frisby
  • 33
  • 1
  • 6
0
votes
0 answers

Initialize service on remote computer without LocalAccountTokenFilterPolicy

I'm trying to use PsTools to configure remote computers. When I tried to initialize a Ps service at the remote computer for the first time, I got an Access is denied. error, even when authenticated as an administrator account. Some websites…
D. Pardal
  • 101
  • 2
0
votes
3 answers

psExec doesn't have path

I have a brand new windows 2008 server (64 bit), and the remote deployment scripts using nant and psExec are not behaving like they do on the old servers. This works: psExec \\newserver.myco.com cmd This successfully runs Nant: psexec…
Anthony
  • 113
  • 1
  • 6
0
votes
2 answers

psexec hangs only when using username and password and calling from a PowerShell script

I am attempting to use psexec to start a process in an interactive session that has already been opened. Both my machine and the remote machine are Windows 7. Using the command from within command prompt works fine, the executable is started and is…
M Michal
  • 3
  • 1
  • 2
0
votes
1 answer

Pstools or Powershell or Both

I'm having a problem at the moment deploying and managing windows services and I'm looking for advice on the best course of action. Here's what I have working (below) - the problem is it's a bit flaky and doesn't always work from my build server and…
Neil
  • 101
  • 2
0
votes
1 answer

PsExec - Can't Find Specific Path

I'm trying to install a msi file using PsExec from a network path but I get an error saying The system can't find that path specified. I'm not sure why it's happening - if there's an error in my code or what the problem is. You can see that .bat…
apples
  • 41
  • 5
0
votes
0 answers

IIS start remote commands - PsServices | PsExec

I have developed a ASP.NET C# web page which connects to remote conmputer command prompt using PSSERVICES.exe and executes some commands against servers. The execution works fine until I deployed the application on IIS 7.5. The application is…
Hamdi Baligh
  • 101
  • 2
0
votes
1 answer

Redirect telnet "interactivity" from host 3 to host 1 through host 2 (proxy?)

My network configuration: host 1 [h1] - User machine connected via VPN to the main host (host 2). (Win 7) host 2 [h2] - The gate through other machines of my network. No firewall, no ip rules. (Win XP) host 3 [h3] - The target machine. (Win…
0
votes
2 answers

Chkdsk and PSEXEC

I run maintenance for a lot of offices and use chkdsk as a part of the maintenance. I've recently been using PSEXEC to start a batch file that simply runs chkdsk and then pauses to keep the command prompt window open so that I can check to see if…
Charles
  • 21
  • 1
  • 4
0
votes
1 answer

is there a way to get PSEXEC to output the results of python

The situation: I am running psexec.exe from one windows machine to another and would like to run a python script on the remote machine and look at the output of the script without having to pipe it to a file and then read out the file, because the…
Rusty Weber
  • 472
  • 8
  • 21
0
votes
4 answers

How do I run a batch file async using PSExec?

I have a batch file I run that, among other things, reset's the NICs in the machine. I have some watchdog software running on another machine that monitors the first one. I'd like to run this batch file using PSExec when it detects certain types of…
Paul Mrozowski
  • 415
  • 2
  • 6
  • 13