Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

"Reg.exe Restore" inside guest VM

$
0
0

 

Hello,

 

 

I've got a batch file that saves registry keys via reg.exe to a hive file on the host, then I copy the hive and another batch file that "adds," the new registry key, changes the permissions on the key via "regini.exe," and then attempts to restore the hive file.  I keep getting "access denied," when I try to run the batch file via "runprograminguest," vix api.  However, if I manually double click or run from command line the same batch file, inside the guest VM everything works. 

 

 

Does anyone know why the "runprograminguest," api when it launches the batch file the "reg restore," doesn't work.

 

 

Thanks,

 

 

Rod

 

 


Viewing all articles
Browse latest Browse all 34639

Trending Articles



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