psexec Questions

5

Solved

I'm attempting to force a VM to log the current user out and send the session to the console via running a .bat script. I can get this working if I manually run a .bat file on the VM which contain...
Elsey asked 11/7, 2016 at 14:55

20

While I'm using PSEXEC.exe getting 'Access denied' error for remote systems. Any idea about how to solve this?
Quatrain asked 6/5, 2009 at 7:30

6

Solved

Does anyone know, how to disable "copyright header" from appearing when running PSExec? Everutime I run "./psexec ..." command I see this message: PsExec v2.11 - Execute processes remotely Copyrig...
Headstone asked 12/5, 2015 at 13:56

3

Solved

I have a Hudson build script which calls the SysInternals PsExec utility. Normally, when PsExec is run for the first time by a given user it pops up a dialog box asking the user to accept the licen...
Beggarweed asked 1/3, 2011 at 5:58

4

Solved

I am using Jenkins on a Windows7 system. I would like to use it to execute a batch script on a remote Windows system. The batch script will be used to flash a development board and run some tests. ...
Nicker asked 8/8, 2014 at 23:18

2

I'm working with a GitHub action step on a Windows runner. One of the requirements of the executable I'm trying to run is that it can't be run as an administrator. It's there any way I can create a...
Hectoliter asked 29/1, 2022 at 10:12

5

I'm trying to run this from my win7 CMD (as Admin): psexec IpAddress -u domain\user -p pword c:\Autobatch\ClientJobSender.exe http://reportserver.net:8070/JobExecutor.asmx c:\AutoBatch\backup\trig...
Airtight asked 9/4, 2013 at 15:47

2

Solved

I have a program written in vb.net. After I build, I want to launch an interactive batch file that executes a psexec command remotely. How can I do that? this is my post build event: call "$(Proje...
Esker asked 11/10, 2013 at 14:9

3

I have a program which uses psExec for retrieving environment variables on a remote host. I get the error: Could not start PSEXESVC service on xxhost Access denied. This command works for windows ...
Experimentalize asked 4/12, 2013 at 11:16

4

Solved

var p = Process.Start(@"c:\PsTools\PsExec.exe", @"C:\Windows\System32\notepad.exe"); var err = p.StandardError.ReadToEnd(); var msg = p.StandardOutput.ReadToEnd(); lblStatusResponse.Text = "Err: " ...
Moan asked 19/2, 2015 at 13:13

4

Solved

I am using psexec on my server to run an exe file on another server. How do I pass parameters to the other exe ? The exe that I am running on my server is psexec which in turn must run the exe nam...
Latecomer asked 19/4, 2015 at 10:56

5

Solved

How to start and and stop a Windows service remotely using PSEXEC? Preferably the syntax to write I tried the cmdlet given below psexec \\Server -u Administrator -p Somepassword ServiceName
Whelm asked 2/9, 2009 at 7:13

5

Solved

I'm working on creating a single command that will run mulitple things on the command line of another machine. Here is what I'm looking to do. Use psexec to access remote machine travel to proper...
Easternmost asked 4/1, 2012 at 19:33

6

Solved

This is the command that works fine if run from a user-spawned command prompt: PSEXEC \\xxx.xxx.xxx.xxx -u xxxx -p xxxx -accepteula cmd /c "TYPE C:\Pyxislog\PYXIS01.log|Find/i "%ID%"" >nul Ho...
Henpeck asked 1/12, 2012 at 19:59

1

I am using PsExec to defrag machines remotely on my network. This works fine in my c# code, but because it also does a bunch of other tasks and I want it to run continuously I have converted it int...
Ornithomancy asked 3/1, 2013 at 19:22

3

Solved

When running the psexec command to remotely install or execute something on a sever on the same network the following error was displayed. Couldn't access ServerName The network name cannot be fo...
Winery asked 22/8, 2013 at 18:39

2

There is an exe (D:\TestFile.exe) in remote pc(SYSDES208). When run, it just creates a text file with some text. It works fine when run manually. I'm trying to execute this from another PC this way...
Joslin asked 2/9, 2015 at 12:45

1

Solved

I am working with screen sharing project.But i was got into trouble to capture secure desktop. I have already ask related question here and got Answer too Pls go through above link as suggested ...
Communalize asked 1/11, 2018 at 13:0

2

Solved

I am using psexec to run an exe on a server. The command runs ok, but there is no output on my local console. This is the command I am using: psexec.exe \\my-machine ping localhost which result...
Poeticize asked 3/8, 2009 at 11:0

1

I'd like to be able to run WinDirStat on a remote machine that I have administrative rights over but it does not work. This is what I have done: Run CMD as admin: psexe.exe -i -s cmd.exe From th...
Tshirt asked 24/4, 2018 at 20:13

1

What I mean: If I... run runas /netonly /user:computername\username cmd enter the password for the local admin account "username" then type psexec \\computername cmd I now have a w...
Attest asked 3/4, 2018 at 20:28

2

Solved

I am running the following cmd on my MSBuild using PsEXEC. %systemroot%\system32\inetsrv\appcmd stop apppool /apppool.name:MyAppPool If the MyAppPool is already stopped, and try to stop again, I...
Efta asked 11/3, 2014 at 11:58

1

Solved

Consider the following scenario: Database server: DBServer R Server: RServer Orchestrator Server: Server1 We have following R Script (DB.r): lib.directory = "D:\\RTest" install.packages("ROD...
Vankirk asked 18/12, 2017 at 15:44

13

Solved

(This is a question my coworker posted elsewhere, but I thought I'd post it here to see if I could hit a different audience.) Hello all, I'm testing the possibility of writing a small java applica...
Archaeopteryx asked 14/8, 2009 at 19:41

2

Solved

I am trying to run a batch file (in the batch file I have just written 'notepad') on a remote PC through PSExec. The psexec command below runs in my laptop but fails to do anything on the remote PC...
Pentamerous asked 3/2, 2015 at 13:12

© 2022 - 2025 — McMap. All rights reserved.