Quantcast
Viewing all articles
Browse latest Browse all 12061

VMRUN tool to import a registry key to Windows 7 image

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!


Viewing all articles
Browse latest Browse all 12061

Trending Articles



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