I am using VMWare Fusion 7 to run a Windows 7 image and I would like to use the vmrun tool to import a setting into the registry. Within Windows 7, in the command application I can successfully run "REGEDIT.EXE /S /My Documents/preference.reg". However, I seem unable to do that using runScriptInGuest. Here's my template setup:
vmrun runScriptInGuest -gu <user> -gp <password> win7-64-aleph.vmwarevm/win7-64-base.vmx "c:\Windows\System32\cmd.exe" "REGEDIT.EXE \s \My Documents\preference.reg".
Any ideas on what I should be doing instead would be greatly appreciated. Thanks!