In Ant is there any way to do something like this:
<arguments id="arg-list">
<arg value="arg1" />
<arg value="arg2" />
</arguments>
<property name="prop1" refid="arg-list" />
I'm trying to write a macro for psexec and I'm looking for a nice way to pass in the argument list.
I know that you can do something similar with class...
Hello
First of all, sorry for my poor english. I would try to explain my problem.
I am using psexec within a script to restart a cluster as follows:
script1 in node1: perform a lot of tasks (shutdown services, check status, etc..) in the node1 and after completing all task launch with psexec the script2 in node2 (psexec-d \ \ node2...
I'm using PSEXEC within batch files to execute DTEXEC (SQL SSIS jobs) as part of a scheduling system. What I'm finding is when a bunch of jobs are triggered together (or even close to one another) I get multiple ERROR 128 messages and the DTEXEC jobs immediately abort. I'm guessing there is some sort of problem running multiple instances...
Hi there,
I've been trying to get psexec to run executables on remote machines from custom build tasks in visual studio. All of these commands work from the command line but running it from an application seems to be a problem. Some commands work, on other psexec hangs and consequently so do msbuild and visual studio 2005. I'm calling S...
Hi everyone,
I can't get PSExec to work. It keeps copying my installer into system32 (where it won't launch). Does anyone know how to copy from the local to the remote computer to a directory that isn't system32? My psexec command line is
psexec \000.00.00.000 -f -u DOMAIN\meuser -p testpwd -c ..\Installer\test.exe /S
Any help would ...
Hi all.
I need to start a document on a remote computer instead of an executable file, using PSExec.
I tried to provide the file name of a jpg file to psexec associated with the -c command to copy the file, but the message returned for documents (and not executables) is always "The system cannot find the file specified."
Anyone any id...
I'm going to try and break this down as simple as I can.
There are three computers involved. Local machine (LM), compute node (CN), and data node (DN) will be their names from here on out.
I have a psexec command which calls a batch file on the compute node.
psexec \\"compute node" -w WorkingDirectory BatchFileName
This BatchFi...
I am working with powershell 1.0 using PSEXEC to run scripts remotely (or on the same box in a batch mode). On my machine, the "remoted" powershell session correctly loads my profile.ps1 (from the MyDocuments folder), but on another machine, it doesn't. I'm not passing in the -noprofile switch to the powershell.exe, and I have verified...
I'm having a very strange problem where I run a managed .net console app on a remote server using psexec. I get this error "The process tried to write to a nonexistent pipe".
Now I wrote an unmanaged C++ program to output to std::cout, and it works just fine.
Interestingly, if I run cmd.exe remotely, and use the /u (unicode) option, I...
I'm having an issue connecting to some PC on the network via WMI, psexec, even Computer Management. I would like to know what is prevening prevent a remote connect. Say I have 10 pcs on a network, i can remote to 7 and not the other 3 on the same subnet. I have looked at Personal Firewalls, Windows Firewall, account on adminstrators gro...
I am trying to call a bash command through a user account with PsExec. Cygwin is being used, and I am trying to run a command from SQL:
exec master..xp_cmdshell 'psexec -u cyg_server -p <pwd> -accepteula "bash script.sh"';
However, I get the following error from psexec:
Access is denied.
PsExec could not start bash script.sh...
I'm trying to run a psexec command to a remote Windows Server 2003 machine. I run the following command:
psexec \machinename perfmon.msc -u machineadmin -p adminpassword -i -s
The -i and -s flags will allow me to run the GUI for perfmon.msc on the remote machine's desktop interactively.
I get the following error when I try to run the ...
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 results in:
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
ping exited wit...
(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 application the will use Psexec to kick off remote jobs. In the course of testing binding the stdin and stdout of a java program to psexec I came ac...
Hi,
Does Psexec - the remote client installation utility support 64-bit machines?
Thanks,
Swaroop
...
How to start and and stop a windows service remotely using PSEXEC
Preferable the syntax to write I tried the cmdlet given below
psexec \Server -u Administrator -p Somepassword ServiceName
Please can any body help me in this
Thank You in advance
...
Process process = new Process();
ProcessStartInfo psi = new ProcessStartInfo(@"C:/PsExec.exe");
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
psi.RedirectStandardError = true;
psi.RedirectStandardInput = true;
psi.WindowStyle = ProcessWindowStyle.Minimized;
psi.CreateNoWindow = true;
psi.Arguments = "PsExec \\\\Newton ...
I have searched all the custom tasks in Extension Pack and Community Tasks and finally found a task called Msi.Istall in SDC Tasks. But the documentation is bad and causes problems. I get errors regarding the properties passed to the installer. So I wrote a custom task that calls PsExec.exe from Msbuild but it hangs...
Below is my Inst...
I need the correct way to accomplish this via a vbscript.
This works fine from command prompt:
psexec \\99.99.99.99 -u username -p password cmd.exe /c ver > output.txt
From the vbscript:
sTempFile = objFSO.GetTempName
sCmd = "psexec \\" & sIP & " -u " & sDomain & "\" & sUser & " -p " & sPassword & " cmd /c ver > " & sTempFile
...
I'm implementing a continuous integration scenario for a SharePoint deployment. After all features have been build on the build server, I'm attempting to deploy the new features to the test server by running STSADM commands through PSEXEC.
When I run my script from any machine where I'm logged in, it runs fine. When I add an exec co...