Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

Post power on step - Execute command on recovered Windows vm fails

$
0
0

Hi,

 

For a Windows Server 2012 recovery plan, I was attempting to run a command on a recovered vm in the post power on step however even though it succeeds in VMware, nothing is run inside the virtual machine.

 

Scripts on Windows Server to recover:

- C:\srm\srm.bat (it basically echo's some text out to a log file)

- C:\srm\srm.cmd (it basically echo's some text out to a log file)

 

Post Power On Step I call the following scripts on the recovered vm:

1. C:\windows\system32\cmd.exe /c c:\srm\srm.bat

2. C:\windows\system32\cmd.exe /c c:\srm\srm.cmd

 

When I perform a test recovery no text is echo'd into the log files. It's like neither script is executed, ... is there any gotcha's or prerequisites with calling scripts on Windows via SRM?


Viewing all articles
Browse latest Browse all 3691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>