PSEXEC.EXE not recognized

avatar

Hi all. I'm still fairly new to RDM, and I've run into an issue with PSEXEC scripts. I grabbed a couple of the PSEXEC scripts online and have loaded them into my workspace, but every time I run one, I get an error "'C:\Windows\System32\psexec.exe' is not recognized as an internal or external command,operable program or batch file.". I can open a command window and run PSEXEC commands directly (even the same ones in the RDM scripts). I have already placed the EXEs in the C:\Windows\System32 folder, and they run from any directory just fine. However, from RDM, I always get this error, regardless of which directory I run the command from.

I've tried to find any setting in RDM that points to additional config that needs to be done in order to run a PSEXEC script, but I find nothing. Any ideas?

Thanks

All Comments (3)

avatar

Hi,
Is suspect that you have installed PSExec in the System32 for the Windows 64 bit edition. RDM is 32 bit by default. This could explain why RDM can't find it.

David Hervieux

avatar

Thanks for the info David. What perplexes me is that it states that it cannot find it in the folder that it is sitting in.

I didn't realize that there are 32 and 64 bit versions, I'll have to look into that. If this is the case, maybe it would be worth including the 32-bit version with the RDM install so it sits in the same folder as RDM. If it supports PSEXEC commands, then this should be called out or included. Would make life easier for those that are using it, or at least trying to use it. :)

avatar

RDM 32 and 64 bit are both included. Windows is doing some virtualization of System32 in 32bit. We still recommend to use RDM 32 bit. It's faster and support more technologies.

David Hervieux