psexec error code -1073740771

℡╲_俬逩灬. 提交于 2019-12-11 19:14:18

问题


I'm trying to open up a Unity3D game.exe that is on a remote computer through my main desktop. I had tried to do this through a batch file, but was advised to try PsExec in its place.

So far, I've brought the Psexec program into my game.exe folder. I run the command line required to open the program and the window opens up for a fraction of a second before closing down due to an error. The error code it gives is: -1073740771.

I tried googling what this error actually is but I can't find anything. Does anyone know what this error relates to?

The command line I type is as follows:

psexec \\OtherComputer -i C:\Administrator\Users\Desktop\TargetFolder\Target.exe

I even tried the above line with -d after the -i, quotes around the C:... but it all results in the same thing.


回答1:


PSExec wont know about other game resources that live without side the EXE. It will simply copy game.exe to the remote machine and execute it.

Try deleting or renaming the resource folder and running it on your local machine - it should do the same thing as its doing on the remote machine.

You cant do what you want with psexec unless the entire application is self contained within one single .exe file.

You may be able to manually copy the resource folders if you have admin access to the other machines and administrative shares are enabled, then execute with psexec using the -w option:

  • Copy the files to \\OtherComputer\C$\MyGame
  • Run psexec \\OtherComputer -w C:\MyGame -i C:\Administrator\Users\Desktop\TargetFolder\Target.exe

Might work ;o)




回答2:


Use the -h parameter to elevate the permissions.



来源:https://stackoverflow.com/questions/12861232/psexec-error-code-1073740771

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!