psexec

PsExec and WindDirStat on a remote system - how to run

China☆狼群 提交于 2019-12-29 09:56:08
问题 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 the new prompt: psexec.exe \\host -u username winddirstate.exe I type in my PW and it does not launch Both running Windows 7 Enterprise. 回答1: Usage: psexec [\\computer[,computer2[,...] | @file]][-u user [-p psswd][-n s][-r servicename][-h][-l][-s|-e][-x][-i [session]][-c [-f|-v]][-w directory][-d][-

psexec run python script passed from host

风格不统一 提交于 2019-12-25 18:25:02
问题 I am trying to run a python script on a remote computer via psexec. I am able to connect and run python.exe with the following: C:\test>psexec \\192.168.X.X -u domain\administrator -p password -i C:\Anaconda\python.exe The path to python.exe is the path on the remote machine. This opens a python window on the remote machine - all good. I want to now pass a python script from the host machine to run on the remote. This script is on the host machine in C:\test\test.py. I tried psexec \\192.168

Problem executing psexec

喜欢而已 提交于 2019-12-25 03:44:13
问题 I am trying run below command psexec \\remotemachine -u username -p password notepad As per my understanding, above command should launch notepad on remotemachine, but it doesn't happen. Strangely notepad.exe process gets created(I saw the tskmgr of remotemachine) every time i execute above command but notepad doesn't show up. Am I missing anything in the command By the way I am using 64 bit machines and both machines are on same domain 回答1: Have you tried the -i switch?: psexec \\

Is there a way to psexec into my own virtual machine (windows xp mode)?

▼魔方 西西 提交于 2019-12-25 03:15:34
问题 I am trying to run commands on the cmd prompt of my windows xp mode virtual machine from my main computer which is in windows 7. I've tried to look at the name of the windows xp mode computer which is virtualXP-63912, so i tried : "psexec \\virtualXP-63912 cmd" but it doesn't work. Any ideas of how I can get this to work? 回答1: As seen here, you need to change your VM from 'NAT' mode, which allows for web access but no local network connectivity (which is what you need to be able to psexec or

Run a batch file on a remote computer to update a git branch

試著忘記壹切 提交于 2019-12-24 15:26:20
问题 I wrote this script: ECHO hi cd "C:\config_folder" "C:\Program Files (x86)\Git\bin\git" pull origin master ECHO bye I put this script on my remote server in this folder "C:\config_folder". Now when i run this script from my local PC using this tool: https://technet.microsoft.com/pl-PL/sysinternals/bb897553.aspx C:\Users\ME\Desktop\PSTools>psexec.exe -u Administrator -p 123456 \\x.x.x.x "C:\config_folder\test.bat" i get the following on my screen, the script is stuck on this git pull command

PSExec run remote batch file

戏子无情 提交于 2019-12-24 10:46:19
问题 I wanna run remote a batch file with PSExec, so my code looks like this: cd C:\PsTools PsExec.exe \\<computer> -u <user> -p <password> -s -i <"pathToBatchFile\batch.bat"> exit After I call the batch file on the remote computer, the application on the remote computer is starting under the SYSTEM account. I wanna start it under another account. How can I do this? 回答1: You should not use the -s switch. From the docs: -s Run remote process in the System account. 来源: https://stackoverflow.com

Can't receive asynchronous output from psexec when launching application remotely

我与影子孤独终老i 提交于 2019-12-24 07:51:06
问题 Problem Executing PSExec as a process from C# with Asynchronous redirection enabled My data received event handlers never gets called. Context I have a C# application meant to connect to and manage a slave application on multiple other computers on the same local network. Both the main application and the slave applications are windows forms apps. One function of my application is to be able to launch the slave application remotely. Since doing this takes some time I was hoping to use the

psexec - Make sure that the default admin$ share is enabled on

不问归期 提交于 2019-12-23 04:37:12
问题 I have a problem when using psexec. I want to remote control windows cmd, but I get this error "Make sure that the default admin$ share is enabled on". It connects successfully only when my computer and remote computer are under the same domain (router). But when my computer has a different IP, I will get this error even if the the command is totally the same. I have tried some solutions such as change register value, but still fails. Plz help me! 来源: https://stackoverflow.com/questions

psexec giving the system cannot find the file specified

可紊 提交于 2019-12-21 19:24:06
问题 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\trigger.xml but am getting a "the system cannot find the file specified" error. I've also tried it this way: psexec IpAddress -u domain\user -p pword c:\Autobatch\ClientJobSender.exe http://reportserver.net:8070/JobExecutor.asmx c:\AutoBatch\backup\trigger.xml but get a unknown user or bad password. What

How do you run jvisualvm.exe under the local system account under Windows Server 2008?

无人久伴 提交于 2019-12-21 05:16:24
问题 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 ... with error code -1073741819. I found that jvisualvm is using a configuration file: ...\jdk1.6.0_24\lib\visualvm\etc\visualvm.conf This configuration file contains a default_userdir property that points to ${HOME}/... . The system account seems to have issues with ${HOME} . Changing this parameter