Command to create or convert shared VM

I use Workstation 10.0.5 and I am doing what seems like a simple task, but I couldn't find any documentation or discussions on how to do it.

I have a script that uses the ovftool to import an OVF, and then it uses ws t vmrun to start the virtual machine.  However, I would like to change this either to create or convert the virtual machine to be a shared virtual machine, allowing it to auto-start without user.  It's very simple to do through the user interface: manage-> share, but I want it to be without user intervention.

Any suggestions?

Thank you.

Welcome to the community of VMware Workstation!

The command "vmrun" cannot create/convert the shared local VM to the virtual machine.

But there is another method to achieve to convert the shared virtual machine and auto-start it. The procedure is detailed as follows:

1. copy your local VM shared the path to a virtual computer, such that copy "c:\VMware\vm1\" to "c:\Users\Public\Documents\Shared virtual Machines\.

2. open the virtual machine configuration file share 'vmInventory.xml' in 'c:\ProgramData\VMware\hostd' and add lines subsequently shared by the virtual machine (the red lines include your VM and VM ID):

3

C:\Users\Public\Documents\Shared virtual Machines\VM1\VM1.vmx

"3 open the shared VM config file"vmAutoStart.xml"in the same way and add/edit the following lines of auto-start the shared virtual machine, the ID of the object '3' must be the same.

<_length>1

<_type>[vim.host.AutoStartManager.AutoPowerInfo]

<_type>vim.host.AutoStartManager.AutoPowerInfo

<_type>Vim VirtualMachine.

3

PowerOn

-1

-1

GuestShutdown

120

systemDefault

4 restart the host, and then lanch WS, the virtual machine will be shared and auto-start.

Tags: VMware

Similar Questions

  • How to prevent any user to create any folder sharing, even if the user has admin rights?

    I'm managing a domain controller with Windows Server 2008 R2. My requirement is to restrict any user in the domain to create any file sharing, although they have administrator rights. I want to achieve this through Group Policy. Help, please. Only the delegate user can have access to create the shared folder.

    Please suggest.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN
  • When I try to create or convert a PDF file in Acrobat DC I get the error "your request could not be performed. Adobe Acrobat DC license has expired or not been activated. "This will happen even if Acrobat is installed via a Customization Wizard

    When I try to create or convert a PDF file in Acrobat DC I get the error "your request could not be performed. Adobe Acrobat DC license has expired or not been activated. "This happens even if Acrobat is installed via a package of the Customization Wizard of the product which takes care of activation and the license is not expired. What could be the cause of the issue?

    Uninstall your creative cloud application that basically allows you to download apps and redownload it. This should do the job. Your system just lost you license update.

  • create folders in sharing or SD card

    Hey people,

    I'm having a problem of creation of folders under or SD card.

    bool ok;

    QString hand = QDir::currentPath() + "shared/db";

    QDir tmp (share);

    {if(!tmp.) Exists())}

    OK = tmp.mkpath (action);

    }

    OK will always be false.  I tried on the currentPath and use just share a db but does not work.

    NOTE: I have set shared_access permissions.

    With respect to the SD card, I tried:

    QString sdcard = QDir::currentPath() + '... /.. '. ("/ removable/sdcard/db";)

    as my way and it never works.

    Any idea?  All I see in the docs is that I need permission from shared_access but that's all, therefore, it should work for me.  There is also nothing on how to access the SD card, I just noticed it was... /... / Return from the working folder...

    Thank you

    Matt M

    Figured it out.

    The link above says:

    "Applications cannot create new directories in the working directory; they cannot access the folders listed below. »

    I'll go this way...

    QDir tmp;
    OK = tmp.mkpath ("/ accounts/1000/removable/sdcard/misc");  Use mkpath where there was like mkdir will return false
    {if (!) OK)}
    int b = 999;
    }

    OK = tmp.mkpath ("/ accounts/1000/removable/sdcard/misc/db");  Use mkpath where there was like mkdir will return false
    {if (!) OK)}
    int b = 999;
    }

    QDir tmp2;
    OK = tmp2.mkpath("/accounts/1000/shared/misc/db");  Use mkpath where there was like mkdir will return false
    {if (!) OK)}
    int b = 999;
    }

    Who creates misc/db on the SD card and the db in the misc folder in the town and that's what I was looking for.  Although shared below work, SD card is not...

    Hope this helps someone else.

  • Creating Application planning – Shared Services project edition

    Hello

    I use the Hyperion 11.1.2.3 version and try to create the new application from planning through the workspace.  I am not able to see the 'Planning' group in the shared services project.

    Please could you help me to create planning applications.

    Untitled.png

    Thank you

    Michel K

    You will need to create a new application group in Shared Services, it is simple to do - Create Application groups

    Once you have created the group, you should see it in the list of projects of Shared Services when you create a planning application.

    See you soon

    John

  • E10 - create new filter shared Shared library

    How do we create the new filter shared under the module "shared library"?

    I can see only option to remove the filters, but not to create a new.

    Please suggest

    HI Marlene,.

    You can create a filter that is shared in the "Segment" in E10 option.

    Go to Contact > Segments.

    Create a new Segment it with the filter criteria. Then just share this filter. After that, you can see the filter in Shared Library. She's.

    See the image below.

    Let me know if you need more clarification.

  • Cannot run the computer virtual created using converter on Windows Server 2003

    Thus, in preparing to begin to make the trip fully virtualized server infrastructure that we take the step of baby from the conversion of a print server must be on the virtual world.

    I made use of VMWare Converter (5.0.1 or whatever the latest version is) on the box. This is a Windows 2003 Server R2, Standard Edition. Again, all made of this box is for a work of print server. I just wanted to see if using the converter on the machine would work.

    The conversion process took place without a hitch and the files created from it have been moved to the server in question. Thus, in Fusion, I try to open the said. VMX associted with the new converted file server and I have hit with:

    VMware Fusion cannot connect to the virtual machine. Make sure that you have the rights to run the program, access to all directories of the program uses and access all directories for temporary files.

    So, I assumed that it was strictly a permissions problem. I used and checked the 'Info' to the parent directory section and apply permissions to the included items. All permissions wise, seems to be as it should and yet it is the same error each time.

    So, I guess I'm just not sure why it did not work. My only experience with converter has so far been on desktop computers, and they have always worked without problem in Fusion.

    BTW have you tried to uninstall/reinstall VMware Fusion and reboot after each even if not invited?  Note that VMware Fusion of uninstalling/reinstalling does not remove Virtual Machines.

  • Impossible to create RDM on sharing NFS - unimplemented function

    Hi all

    I have a problem, creating a map of CRUDE device on a NFS share. Get an error "failed to create ramdisk: function not implemented (2490377)' when you use vmkfstools:

    / usr/sbin/vmkfstools z - /vmfs/devices/disks/naa.60a9800050336d755a5a5a3473355659 /vmfs/volumes/VMDATANFS/eea-cl1-rdm/eeacl1-sbd1.vmdk - a free

    Tried several suggestion in forums, such as from the creation of inside the right way, but it just doesn't work.

    The environment is a vShere 4.1 new installation that has storage NFS was assigned a 2040 of NetApp FAS. For a virtualized Linux cluster we want or need to create a bundel of RDM disks. When I add a disk in the CR of the host (or the customer vSpere directly connected to the ESX host) and select Raw Device Mappings, and then select the LUN exposed, then I need to specify the data store but only can select 'local' and not the NFS share my VM runs on. The store just does not appear here in the list, or I can select 'Save with Virtual Machine' it (the virtual machine is sitting on the store NFS of course).

    To test, I created the NFS name lowercase. does not work

    Also created a VMFS on the NetApp volume and attached to the host iSCSI hollow. This volume appears in the list to store ROW on the use of VC to add a RDM disk for a virtual machine, also I can use the vmkfstools command line successfully this way.

    I think a RDM link must be supported on an NFS share, right?

    Thanks in advance!

    Welcome to the forums!

    You need a number of logic unit or soemthing which are accessible through SCSI (such as iSCSI). NFS is not supported for this feature.

    http://pubs.VMware.com/vsp40u1/wwhelp/wwhimpl/js/html/wwhelp.htm#href=server_config/c_limitations_of_raw_device_mapping.html#1_12_9_7_8_1

    AWo

    VCP 3 & 4

    \[:o]===\[o:]

    = You want to have this ad as a ringtone on your mobile phone? =

    = Send 'Assignment' to 911 for only $999999,99! =

  • Creating groups on Shared Services.  Any restriction on naming?

    Hello

    Is there a limitation on the length of the group names are created in the Native of Shared Services Directory? Only limitation I know is 80 characters, but I think it applies to Essbase outline dimension members only. If anyone can confirm?

    Thank you
    A

    It is available in the docs - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hss_admin/crtgrp.htm

    "In name, enter a unique group name (maximum 256 characters)."

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Read new files only created in the shared folder

    Have an iMac with 2 Configuration of users. admin created a directory/folder (/ data) and in the Get Info gave users read and write access to the folder with 'apply to enclosed... items. ».

    New documents created by one of the users can not be written to the other user. If I don't ' sudo chmod-r 777 data / then everything works on existing documents, but a new created have the same problem until I have run chmod.»

    How can I get the files and subfolders for the folder rights parent?

    sudo chmod -R +a "staff allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit" /Data
  • How to convert shared modules to installed status?

    Hi all

    EBS R12.2.4

    RHEL6.5

    How do I change status to 'shared' modules "installed"? and "none" to "shared"?

    Capture.PNG

    Thank you very much

    JC

    When I go to review under License Manager, I see this page:

    E-Business Suite license

    Component permit application

    View more options

    If you open the show more options, he reveals:

    Product licence applications

    It is here that you can review specific applications.

  • Is there a way to stop "Package files" command to create a copy?

    I fear that too many external files is created - with the same names for the collected files - and could cause confusion later. Is there a way to prevent the creation of a COP document Illustrator "package", or a way he could remove the original file when it makes the package?

    No, this is not possible. Creating a package copy the document into a new folder. If you do not want two copies, you must manually delete the one you want.

    The following options are available:

    If you wish, select help > submit Bug/Feature Request... and submit a feature request for future versions.

  • Creating cloud of sharing

    Is there a way to keep the people you're sharing files with to be able to download the material?

    Go to the Forum

  • Change the color of compoundPathItems created by converting text to paths using createOutline()

    I used createOutline() to convert the text to paths. However, the return is a GroupItem and I struggled to change its stroke and fill colors.

    Here is my script:

    var docActive = app.documents.add ();

    textFrame var = docActive.pathItems.rectangle (0, 0, 200, 20);

    var areaText = docActive.textFrames.areaText (textFrame);

    areaText.contents = "Hello My Friend";

    areaText.textRange.characterAttributes.size = Math.round(20*0.85);

    var textOutline = areaText.createOutline ();

    Try to change the stroke and fill of textOutline colors but I got stuck here...

    Try this, I added comments next to each line

    var docActive = app.documents.add();
    var textFrame = docActive.pathItems.rectangle( 0, 0, 200, 20);
    var areaText = docActive.textFrames.areaText(textFrame);
    areaText.contents = "Hello My Friend";
    areaText.textRange.characterAttributes.size = Math.round(20*0.85);
    
    var textOutline = areaText.createOutline(); // this is a group
    
    var compoundPaths = textOutline.compoundPathItems; // each letter is a compound path
    for (i=0; i		   
  • Create an Admin shared services group

    It is a small problem that I can't solve.

    I can create a Group Admin in SS that will be synchronized in environmental assessments. The issue is users of synchronization of group as the type of user no admin as expected.

    Is this normal, I'm trying just to make a provision of the admins by a group instead of each user

    I tried to create an aboriginal group and add users in this way with the same results. I see Admin groups, but users are still.

    Thanks in advance

    Hello

    If you look at the EAS group then it should appear as an administrator, then all users assigned to this group will have administrator privileges.
    It displays not each user as administrator just as a user that is the way it works.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • HP 15 AF006AX: Bluetooth discover not able...

    I can't connect my bluetooth to any other device... tried every fix available in internet, but no help...

  • Offset current SMU 4140

    I use the SMU 4140 to measure the curves of voltage/current for the transistors - it sets a voltage & I read (not necessarily on the same channel).  But I noticed a peculiarity in the data according to the current limit. First of all, I get different

  • Pavilion dv9005: hp pavilion dv9000

    I have a HP Pavilion DV9005us.  I worked with this laptop for weeks.  I tried wiping and install win xp, 7, vista and nothing points: If left for more than an hour or so, it will freeze.  I would go online and download anything or play a movie, just

  • Call the target for multiple selection

    Hello I want my app to be able to be that a 'SHARING' call target if one or several photos are selected. I saw WhatsApp is able to do this, how can I add this feature to my own app? It works like a charm for a photo, but it does not show my applicati

  • Presario F700 turn on problem

    I have a compaq presario f700. There edition vista family. the problem is that when I press the button that the laptop does not power on lights and flashing hard drive but nothing happens, I swapped ram from check the connections of the battery for t