RMA external program test problem
Please tell me you are kidding
Please tell me you are kidding
Hello,
I had exectly same problem: I was unable to run my own .cmd file through RMA agent (rma: 301 - The directory name is invalid). RMA agent is running under domain account and application mode doesn't help too.
I resolved this issue by using filemon. I had to copy cmd.exe into RMA folder (c:\Program Files\HostMonitor4\RMA-Win\) and had to create directory c:\hostmon. Don't ask me why, but it works now.
I had exectly same problem: I was unable to run my own .cmd file through RMA agent (rma: 301 - The directory name is invalid). RMA agent is running under domain account and application mode doesn't help too.
I resolved this issue by using filemon. I had to copy cmd.exe into RMA folder (c:\Program Files\HostMonitor4\RMA-Win\) and had to create directory c:\hostmon. Don't ask me why, but it works now.
I tested it a bit more. cmd.exe doesn't have to be in agent folder. I have got file not found result in filemon but after that %path comes into play and everythink works:
But when I remove empty folder c:\hostmon test stop working and error 301 (The directory name is invalid) is back.
Code: Select all
9:05:32 rma.exe:3432 QUERY INFORMATION C:\Program Files\HostMonitor4\RMA-Win\cmd.exe FILE NOT FOUND Attributes: Error
9:05:32 rma.exe:3432 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe SUCCESS Attributes: A
9:05:32 rma.exe:3432 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe SUCCESS Attributes: A
9:05:32 rma.exe:3432 OPEN C:\WINDOWS\system32\cmd.exe SUCCESS Options: Open Access: All
But when I remove empty folder c:\hostmon test stop working and error 301 (The directory name is invalid) is back.
Code: Select all
9:02:13 rma.exe:3432 QUERY INFORMATION C:\bat\logparser.cmd SUCCESS Attributes: A
9:02:13 rma.exe:3432 QUERY INFORMATION C:\bat\logparser.cmd SUCCESS Attributes: A
9:02:13 rma.exe:3432 OPEN C:\bat\logparser.cmd SUCCESS Options: Open Access: All
9:02:13 rma.exe:3432 QUERY INFORMATION C:\bat\logparser.cmd SUCCESS Length: 281
9:02:13 rma.exe:3432 QUERY INFORMATION C:\bat\logparser.cmd SUCCESS Attributes: A
9:02:13 rma.exe:3432 QUERY INFORMATION C:\bat\logparser.cmd SUCCESS Length: 281
9:02:13 rma.exe:3432 CLOSE C:\bat\logparser.cmd SUCCESS
9:02:13 rma.exe:3432 QUERY INFORMATION C:\Program Files\HostMonitor4\RMA-Win\cmd.exe FILE NOT FOUND Attributes: Error
9:02:13 rma.exe:3432 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe SUCCESS Attributes: A
9:02:13 rma.exe:3432 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe SUCCESS Attributes: A
9:02:13 rma.exe:3432 OPEN C:\WINDOWS\system32\cmd.exe SUCCESS Options: Open Access: All
9:02:13 cmd.exe:3432 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe BUFFER OVERFLOW FileNameInformation
9:02:13 cmd.exe:3432 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe SUCCESS FileNameInformation
9:02:13 rma.exe:3432 OPEN C:\WINDOWS\system32\cmd.exe.Manifest FILE NOT FOUND Options: Open Access: All
9:02:13 rma.exe:3432 QUERY INFORMATION C:\hostmonitor\ FILE NOT FOUND Attributes: Error
9:02:13 rma.exe:3432 CLOSE C:\WINDOWS\system32\cmd.exe SUCCESS
Thanks to your help, I found where problem is. Update available at www.ks-soft.net/download/rma121.zip
Regards
Alex
Regards
Alex