psexec Questions

1

I'm running the following through a remote PHP script that connects to SSH: cmd /C start "" /MAX /b "C:\Windows\System32\notepad.exe" The process does start however it remains in the background ...
Deodar asked 7/10, 2016 at 17:10

3

So we are using PsExec a lot in our automations to install virtual machines, as we can't use ps remote sessions with our windows 2003 machines. Everything works great and there are no Problems, but...
Indefinable asked 22/8, 2013 at 12:19

1

Solved

I've got two Remote Desktops hosted by a Hyper-V. On Remote Desktop "A", I've got a .bat file, which I want to execute. On Remote Desktop "B", I've got a cmd open with psexec cmd ready to invoke...
Dyeing asked 24/6, 2016 at 3:1

4

Solved

First post so please don't hurt me. I've searched around but can't seem to find a way to do what I want. I've made a script that copies a folder I have to numerous computers at \$computer\c$. In th...
Spoliation asked 16/4, 2014 at 20:28

2

Solved

I only have this issue on a single Windows 8.1 machine in my domain when running PSEXEC locally. Before my domain password expired and was changed, running PSEXEC locally with this command worked. ...
Phreno asked 28/7, 2015 at 17:33

5

I have a problem, and the Internet doesn't seem to have a solution, so maybe someone here can help. I'm trying to start a command-line prompt on a remote machine using PsExec, but I keep getting a...
Jaguarundi asked 13/9, 2013 at 16:55

1

I'm currently working on automatic installation of GUI application using library UIAutomation PS Extensions (https://uiautomation.codeplex.com/). It works pretty well in cases, when I run it agains...

4

Solved

Running a remote batch file using psexec through Jenkins fails. Running the same batch file using psexec from the slave directly works without a charm. Let me provide some more information. Jenkin...

4

Solved

I'm trying to execute a cmd file on a list of 48 computers. I don't want to execute and wait for completion sequentially because each cmd takes about 10 minutes to complete. WinRM isn't an option. ...
Hyetal asked 1/7, 2010 at 0:51

1

Solved

(Note, this question is also posted on technet) How can I remotely edit a text file in Windows? I am running and administering a number of Windows 7 workstations and Windows Server 2012 machines....
Icarus asked 14/11, 2014 at 14:23

2

Solved

I tried command like below. But can't see server time. psexec \\SERVER_NAME -i -u USERNAME -p PWD "C:\WINDOWS\system32\cmd.exe /c time /t" Or is there any alternative? Thanks.
Brause asked 14/3, 2010 at 10:37

4

Solved

I used PsExec to copy and run an exe file in a remote machine. I also want to copy a xml file to remote machine. I am able to do this way PsExec.exe -d -c \\someserver c:\somefile.xml The above...
Intinction asked 12/4, 2012 at 6:16

0

We ran into a problem with integrating MSBuild with PsExec. In our scenario, we run PsExec within a msbuild build file. The PsExec command runs another MSBuild file on a remote server to perform a ...
Retch asked 3/9, 2014 at 10:54

1

Solved

Why does the psexec-executed command below fail when I add double quotes to the parameter? It works fine without psexec with double quotes It works fine with psexec without double quotes! Th...

3

Solved

I am trying to use a windows batch script that uses PsExec to execute commands on a remote machine. Periodically it has "invalid handle" and the script then fails. The script has not altered or i...
Fossa asked 20/3, 2014 at 15:58

2

Solved

When making calls to any one of System.Console.BufferWidth, System.Console.CurserLeft or System.Console.WindowWidth I am greeted with a System.IO.IOException when executing my [console] app f...
Clang asked 10/12, 2013 at 10:55

1

I'm running TeamCity version 7.1.4 with a step that uses PSEXEC in order to run batch file on a remote machine. The batch file should extract files and deploy them. Running the PSEXEC from command ...
Hexad asked 2/7, 2013 at 9:27

1

Solved

I've been looking for a comparable approach as posted here for Windows Server 2003 for starting jvisualvm under system account. But I got the error: ...\jdk1.6.0_24\bin\jvisualvm.exe exited on ....
Armoire asked 18/1, 2012 at 15:32

1

I am trying to execute PSExec from my Asp.Net Web application to connect to a remote server. Somehow it gives "Access Denied Error -5" with no credentials set, and by setting the credentials in the...
Zakarias asked 30/4, 2013 at 15:35

2

Solved

I wrote some c# code that uses PSexe. I want it to run a remote exe on a machine connected to my LAN. That exe creates a new local user. When I run that exe locally on the remote machine (after ri...
Greywacke asked 12/5, 2010 at 7:14

2

I've 8 computers running Windows 8 (the basic edition) and I'm trying to run some application on each of them with a batch script. I tried: PsExec.exe -i -d -u USER -p PASSWD \\PCNAME explorer.ex...
Kraut asked 17/12, 2012 at 14:6

6

I am experiencing PsExec hang while being executed from a very simple c# or c++ gui program compiled as "windows application" (not as "console application"). Under section C) below I have pasted t...
Toowoomba asked 13/4, 2011 at 18:31

1

Solved

I have created a Windows Service using C# which performs variance network maintenance tasks for me. One of the tasks is defraging machines remotely and for some of my older boxes I found the only w...
Balm asked 3/1, 2013 at 14:27

2

Solved

If I run a successful PSEXEC command, it says this... "cmd exited on workstation.domain with error code 0." Is there any way I can prevent this and do something like psexec \\workstation.domain -...
Donatelli asked 12/12, 2012 at 16:30

1

Solved

I have the following in a CMDExec type SQL Job step (details changed): D:\path\PSExec.exe \\servername -accepteula -u "domain\username" -p password D:\path\executable.exe This works fine. Howeve...
Malignity asked 19/11, 2012 at 13:2

© 2022 - 2025 — McMap. All rights reserved.