Question

In: Computer Science

VMWARE - NETWORK Research and find out how you can start a notepad application on the...

VMWARE - NETWORK

Research and find out how you can start a notepad application on the VM by running the VMRUN script on your host machine.

Solutions

Expert Solution

The vmrun tool is installed by default with the VMware Server and VMware Workstation products. Assuming that a standard installation is performed, the vmrun executable is located in \Program Files\VMware\VMware Server on Windows hosts and /usr/bin on Linux.

The basic command line syntax for using vmrun varies between host platforms and VMware product, but may be generally summarized as follows:

vmrun <host authentication flags> <guest authentication flags> <command> <parameters>

The host authentication flags are required to provide host information and the login and password for the host system to perform management tasks on the virtual machines. These are essentially the same credentials that would be used when accessing the VI Web Access management interface. These flags are required only on VMware Server hosts, and are not needed for VMware Workstation:

VMRUN in notepad

db_tool = os.path.join(r'C:\Program Files\VMware\VMware VIX\vmrun.exe')
db_name=r"-T esx -h https://10.10.10.10/sdk -u user -p password -gu user -gp password runProgramInGuest '[datastore1] datastore1/datastore1.vmx' -interactive notepad.exe"
p = subprocess.Popen([db_tool, '-T' ,'server', '-h', 'https://10.10.10.10/sdk', '-u', 'user', '-p', 'password', '-gu', 'user', '-gp', 'password', 'runProgramInGuest', '"[datastore1]"', 'datastore1/datastore1.vmx','-interactive' ,'notepad.exe']
p.communicate()


Related Solutions

In a few sentences explain how you can perform and experiment to find out if a...
In a few sentences explain how you can perform and experiment to find out if a circuit element is ohmic or nonohmic. What measurements do you make and how do you decide, based on the results of your measurements.
2- In a research laboratory you are doing an experiment on mice bone to find out...
2- In a research laboratory you are doing an experiment on mice bone to find out enzymatic activity. What would be the best way to prepare your biopsy for this purpose.
Do some research on a specific application of chemical atalysts that you find particularly interesting. Present...
Do some research on a specific application of chemical atalysts that you find particularly interesting. Present a summary in your own words to the class (150 or more words), making sure your posting contains the following: How did you learn about this application? Why did you choose it? What did you learn from your research?
Can you draw this network diagram out? There are two available rooms, named RH401 and RH402,...
Can you draw this network diagram out? There are two available rooms, named RH401 and RH402, in the RH building. You are asked to set up RH401 as a new server room and RH402 as a new computer lab. Design a Local area network which satisfies the following conditions. 1) Three server machines and a client PC in RH401 Computer Names: DNS-DHCPsrv (Server with DNS/DHCP services), WEBsrv (Web server), GWsrv (Gateway server), WIN10-1 (Client machine) 2) Five client PCs in...
While carring out a research project you find that you need a 0.15 M solution of...
While carring out a research project you find that you need a 0.15 M solution of sodium phosphate buffer, at pH of 8.4. Unfortunately your technician has left already and you must make the solution yourself. On the shelf you find bottles labeled: NaH2PO4.2H2O Wt. 156.01, and Na2HPO4 Wt. 141.96. What weights of A and B in grams would you dissolve to make 1 liter of the required buffer?( The pKs for phosphoric acid are 2.0, 7.2 and 12.0).
Research and find an application of either a shift register or a counter. Counter systems are...
Research and find an application of either a shift register or a counter. Counter systems are all around you everyday. For purposes of this discussion, you can include mechanical counters. These types of counters still exist. Although they are being replaced by digital electronic counters. Please don't use traffic lights as an example. Minimum word count: 100
Find an example of application of Hypothesis testing that you can relate to (any example would...
Find an example of application of Hypothesis testing that you can relate to (any example would be OK using Z test you can consult HW Batch No. 4 or textbook). Show all five steps of Hypothesis testing with numerical example (you can use fictitious numbers if you have to). And find the P-Value and re-affirm Step 4 with P-Value.
You would like to start saving for your retirement and are trying to figure out how...
You would like to start saving for your retirement and are trying to figure out how much to save.   You estimate that you will need $350,000 per year for the 30 years you’ll be retired. In addition, you’d like to have an additional $85,000 in your fifth year of retirement to buy a boat (This money should be in addition to the $300k you are withdrawing). Assume that you plan to save an equal amount of money every year, starting...
How can we write an application that calculates connascence of an application?
How can we write an application that calculates connascence of an application?
How can I find out the tangency portfolio base on the info state.
How can I find out the tangency portfolio base on the info state.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT