vmrun shared folders and

I tried almost all of the combinations that I can get and the web search (and especially these forums) for a response, so I apologize if that's the answer somewhere.

I'm trying to use virtual machines to run my compilations automated nightly and other compilations. of course, I have to use vmrun. What I can't seem to make it work using a shared folder to access the source files. I know that is the problem and not the mechanic that I use to start the compilations because I can copy the source to the virtual computer and use the same procedure and it works.

Here is the proposed process:

vmrun start < vmx > nogui

Sleep.bat 240 (batch file for ping n %1, etc., to expect that the VM comes well enough)

echo net use Y: '\\vmware-host\Shared Folders\job_share' /p:no > C:\run\run_net.bat

vmrun t ws - gu < user > gp - < pass > copyFileFromHostToGuest < vmx > C:\run\run_net.bat C:\run\run_net.bat

vmrun t ws - gu < user > gp - < pass > runProgramInGuest < vmx > C:\run\run_net.bat

echo of Ant-f Y:\build.xml > C:\run\run_ant.bat

vmrun t ws - gu < user > gp - < pass > copyFileFromHostToGuest < vmx > C:\run\run_ant.bat C:\run\run_ant.bat

vmrun t ws - gu < user > gp - < pass > runProgramInGuest < vmx > C:\run\run_ant.bat

vmrun stop < vmx > soft

I tried to use enableSharedFolders and addSharedFolder. I read somewhere that you need to map the folder "net use". I tried to run with - interactive and - activeWindow, once again read somewhere that - interactive uses different processes to enable shared folders that are already enabled in the VMX, but when I use - interactive to run Ant batch file, it the error that the user must be connected in interactive mode.

Technically, I could copy the sources on the virtual computer files before compiling and it works. but there are many, many source files it is not practical. I don't know there is something I'm missing, but I am at a loss as to what. Help, please.

There is no need to map the shared folder. the UNC path is available after you have enabled the shared folder for the customer.

-interactive and - activewindow requires a user connects. You use Autologon to have a connection to the virtual machine? Oterwise, leave the settings

Tags: VMware

Similar Questions

  • Sharing folders and files

    Dear all:

    I have a question about Windows 8 OS with files and sharing folders. I shared a "folder on the drive C" and my "D" drive, the permision hand tap setting are "" everyone: reading, my user account: full control, administrators group: full control ' , and on the Security tab permission are the same thing. " But when I access my file and the D drive, it displays the error message 'you are not allowed to use this network resource, the Server service is not started'. but I can access to the my files and folders after a few minutes later. Please help me...

    Lak you

    Dear all:

    I just did the job now by:

    • Set up automatic Server Service starts at Start UP
    • Change the setting of early sharing

    • Turn off sharing profile user, then share a specific foler choose in advance the sharing

    Please try your if you have the same situation.

  • Shared folders and Windows November 10 update

    Since "redevelopment" of the update of Windows 10 November, my shared folders do not work.  I had hoped that upgrading 8.1 Fusion is going to fix it but it didn't.

    Basically I enable shared folders, such as Documents and downloads, I can access it from the link on the desktop.  However, I don't get my y and Z: drives I was doing.  In addition, at the opening of the Explorer there suddenly from 30 to 60 seconds while he was apparently trying to find these discs.

    If I turn off sharing, the Explorer is fast and never crashes.

    I tried unisntalling/reinstalling VMWare tools, but it makes no difference.  I have to leave shared folders disabled to have a usable virtual machine.

    Any thoughts on how to fix this so that it works as it did before the November update?

    Hello

    Strange uninstall - reboot - install VMware Tools has been working flawlessly down here to solve a similar problem.

    There are a few things you can try.

    First check the registry that you do not:

    All you have to do is to change the registry

    HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
    
    Name: ProviderOrder
    
    Type: REG_SZ
    
    Data: "RDPNP, LanmanWorkstation,webclient"
    

    He should have "vmhgfs" for the first option:

    Data: "vmhgfs,RDPNP, LanmanWorkstation,webclient"
    

    Second, try to re-create the shares.

    Remove them, turn off sharing, close the dialog box for sharing and then re - open the dialog box and try sharing once more and add the old shares in return.

    Yet another thing you can do is to disable the folder change event notification.

    The side effect of this is you will need to click Refresh in Windows Explorer to see a change, he could stop the slowness of your Explorer.

    While I use it myself I do not recommend for most users.

    isolation.tools.hgfs.notify.enable = "FALSE"
    

    See also: http://kb.vmware.com/kb/2011360

    Finally, I also see the hosts host file sharing slow down when there was a ton of files and anti-virus analysis actively sharing files.

    At least disable the scan compressed files.

    --

    Wil

  • Shared folders and drive Z

    I just upgraded from Vista to Windows 7 on my Macbook, the latest version of Fusion 3.  A close I would say file sharing does not work.  When I look at the computer ads I see "(shared folders).
    (VMware-hôte) (z) "and it is X - ed out with a big red X.  Save one of my applications in a shared folder and now it won't work.  It is said that he cannot access the shared folder.  Also, when I ask to install VMware Tools, it fails at some point again due to the inability to access shared folders.

    Anyone know why this is happening and how to fix it?

    Glenn Gabanski

    1. turn off the shared folders

    2 uninstall, not fix, VMware Tools

    3. open shared folders

    4. install VMware Tools

  • Working in a virtual machine of shared folders and not another...

    Hi, I'm new to the community but have worked with VMWare Workstation for about 9 months now. I have a set of 5 VM that I run on a regular basis, and I had successfully implemented the shared folders in each VM to a central folder on my C: drive host. I now have new versions of several of the virtual machine and I am trying to configure access to the same shared folder, but it will not be displayed.

    After you set up the information in shared folders in the virtual machine settings, I go into the virtual machine on my computer and expect to see under readers network, "Shared Folders on .host '. Who does not appear and when I try to map a network drive to //.host/Shared files /, it can't find the network.

    I compared the parameters between a virtual machine that has the Shared folder working and one who does not work, and I can't seem to find any differences.

    Here are some of my system details, if it helps:

    VMWare Workstation Version 6.5.2 build 156735

    Host of OS = Windows Server 2008 (64-bit)

    VM OS = Windows Server 2003 (32-bit)

    I've updated the VMWare tools in the virtual machine

    I have ideas of what I can try to get this working. Thank you!

    Try to upgrade the virtual hardware version 7 - maybe it does.

    Why don't you use the entries for the disks in cluster? -of course, you know that they are not stable in WS 6.5

    ___________________________________

    VMX-settings- VMware-liveCD - VM-infirmary

  • Sharing folders windows 7 with a windows xp computer

    I have a window xp computer I am sharing folders with a Windows 7.  How can I do for doiing that?

  • Home network not working not not because of 'ComputerName' not in the list of shared folders.

    My simple home network of 2 PCs with XP, SP3 and a Netgear WNDR3700 router was working fine. I changed ISP and now cannot get the home network to the top. Run the home networking on every PC wizard implements the internal IP of 192.168.1.1 for the router and 192.168.1.2 and 192.168.1.3 for 2 PCs. Shared folders and files appear to be configured correctly and successfully, I can ping the router and the other PC from each PC. After the Microsoft troubleshooting procedure, everything is good until I get to the stage where the "ComputerName" must appear in the list of shared folders in computer management, System Tools, shared folders, shares. All other devices and shared folders appear correctly on each PC. It is about the last step in troubleshooting, but I can't in front of her. What can I do? Or is the wrong thing? I'm almost to the point of thinking there is something in the registry (added with my ISP change process) that stop working. Help!

    In general, it is due to a firewall, in which case advice Jack will help.  In addition, there are a condition [rare] where the Type of a computer node becomes defined 'Counterparts' or 'P Pei' that will stop the communications between computers.  Bring up a command prompt (start-> Run-> "cmd") and enter the command:
    ipconfig/all
    If the 'Type of node' line presents itself as "Peer-Peer" or "Pp" or type "P", ("Broadcasting", "Mixed" and "Hybrids" are OK) then check out the following article:

    "You can't see the other computers in the workgroup on the network on a Windows XP computer"
      <>http://support.Microsoft.com/kb/903267 >

    HTH,
    JW

  • 0X803C0107 error: you cannot access shared files and printers and the MSE does not start at startup

    Original title: mainly MSE does not start at startup. have you tried re-loading and other elements on the card, still no luck. Here is the error code I have and the information complete.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • Error 0X803C0107

      Details of the editor for Windows Firewall troubleshooting

      Verified issues

      You cannot access shared files and PrintersYou cannot access shared files and printers

      You can't access shared folders or printers on a computer on which Windows Firewall is enabled. This happens when the Windows Firewall blocks traffic entering via the UDP ports 137 and 138 and the ports TCP 139 and 445. Checked

      No workingRemote Assistance remote assistance does not

      When you use Windows Help and Support, remote support available to offer assistance to a computer, you receive the error message "the remote server computer does not exist or is unavailable", even if Remote Assistance and file sharing and printing are activated. Windows Firewall may be blocking Remote Assistance. Checked

      Windows Vista may not start Windows Vista FirewallWindows could not start the Windows Firewall

      On a computer that is running Windows Vista, you find that the Windows Firewall service is not running. When you try to manually start the service, you get "Windows didn't start the Windows Firewall on the Local computer." For more information, see the system event log. If it is a non-Microsoft service, contact the service vendor and refer to service particular 5 error code. "error message. This can occur if the 'MpsSvc' account does not have the necessary permissions for the registry keys concerned. Checked

      Windows Firewall service is not his firewall service is not started

      Windows Firewall service is not running or is not started. Checked

      Issues checked the details of the detection

      6 you cannot access shared files and printers checked

      You can't access shared folders or printers on a computer on which Windows Firewall is enabled. This happens when the Windows Firewall blocks traffic entering via the UDP ports 137 and 138 and the ports TCP 139 and 445.

      Unlock the file and printer sharing in Windows Firewall works not

      To allow access to shared folders and printers, except for the file sharing and printers in the Windows Firewall must be enabled.

      6 remote assistance works not verified

      When you use Windows Help and Support, remote support available to offer assistance to a computer, you receive the error message "the remote server computer does not exist or is unavailable", even if Remote Assistance and file sharing and printing are activated. Windows Firewall may be blocking Remote Assistance.

      Allow Remote Assistance in Windows not running Firewall

      Which allows Assistance remotely as an exception in Windows Firewall it unlocks and corrects this problem.

      6 Windows Vista could not start Windows Firewall check

      On a computer that is running Windows Vista, you find that the Windows Firewall service is not running. When you try to manually start the service, you get "Windows didn't start the Windows Firewall on the Local computer." For more information, see the system event log. If it is a non-Microsoft service, contact the service vendor and refer to service particular 5 error code. "error message. This can occur if the 'MpsSvc' account does not have the necessary permissions for the registry keys concerned.

      Set permissions for the registry keys concerned not run

      Setting permissions for the registry keys concerned will solve this problem. Applies only to computers by using Group Policy to manage the firewall.

    6 Windows Firewall service did not start Checked

    Windows Firewall service is not running or is not started.

    Start the Windows Firewall service is not running

    Start the Windows Firewall service solves this problem.

    Details of detection

    Collection information

    Computer name: NORMBRESINSKI

    Windows Version: 5.1

    Architecture: x 86

    Time: 09-20-2010 07:51:49

    Publisher details

    Troubleshooting Windows Firewall

    Automatically fix problems of Windows Firewall, such as Windows cannot start the firewall service (0x5) Windows or Windows remote assistance does not work

    Package Version: 1.0

    Publisher: Microsoft Corporation

    You have problems with programs

  • Error messages
  • Recent changes to your computer
  • What you have already tried to solve the problem
  • Hi Rickbsk,

    You can check out the link and check the suggestions provided by scotty1294.

    http://social.answers.Microsoft.com/forums/en-us/msestart/thread/05a63b12-1be9-4BD3-898e-64674c1e9afd

    If you have not tried all the suggestions above, try and see if it helps.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Cannot remove three shared folders from previous installations of the operating system

    I discovered three files named ICS$ ADMIN$ and C$ in the management of the computer that displays three folders. I wonder if you have a solution to this problem or any useful comments, you will have on the problem.

    NOTE: I tried to delete the folder via an elevated command prompt.

    I already deleted the folder three via the command prompt the command delete, but when I rebooted the computer, shared three record were still there.

    You can see these three files here http://i1282.photobucket.com/albums/a523/Dannysbiz/untitled2.png

    It works the same way with $recycle.bin if the folder and the file does not exist it creates it and sets their default no matter if it comes from your old operating system or not his record as a value by default, you could run cmd system permissions and delete them throughout the day and it just regenerate.

    system of the mark as shared because the system of sharing folders and files with you

  • Shared folders - upgrade Windows 10 of 15.11.

    Hello

    yesterday has been saved by Microsoft Windows Update 10.

    as I can no longer change le shard records as network drive.
    it is the host vmware "'' is no longer found () net use z:" ","\ vmware host\Shared Folders'). ""

    Anyone has a solution for this?

    my computer:
    Apple Mac mini with el captiain, VMware Fusion 08:02 with windos 10 pro 64-bit


    Eckhard

    Hello

    I'm the developer for the VMware Shared Folders feature.

    The problem is caused by the Microsoft updates, destroying the registry settings.

    After the upgrade, you just need to check and restore the registry setting below and everything should start working (for folders).

    (No need to uninstall and install again, as this will also restore the registry, but takes significantly more time.)

    All you have to do is to change the registry

    HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\NetworkProvider\Order

    Name: ProviderOrder

    Type: REG_SZ

    Data: "RDPNP, LanmanWorkstation, webclient.

    Change it to:

    Data: "vmhgfs, RDPNP, LanmanWorkstation, webclient.

    Exit the registry application

    Then you'll then readers of shared folders and the UNC paths accessible once more. No need to reboot or log off. No need to uninstall and reinstall the tools.

    It has also been noted in wire Re: support Windows 10

    Hope this saves time to users.

    Also when I was at Microsoft earlier this year test Win 10 and shared folders, I and others (for redirectors) says the guys from the migration of this question and they promised it would be fixed.

    Steve

  • Fusion 5 / win 8 - shared folders

    I upgraded from Fusion 2 to 5 on a MacBook Pro which has Win XP SP3. Downloaded and installed the Win 8 upgrade package. Changed the Windows 8 operating system, but could not access the Internet. Thanks to a post of WoodyZ I had that solved this morning by adding a line in the .vmx file.

    Another problem I have to solve is that with this combination of VM/Win8, I do not see the shared folders on my Mac that I used to be able to do with the old configuration. Suggestions as to what is needed to make these records appear when I bring to the top of the file Windows Explorer?

    TNX, Jim

    Take a look at: .host alias of folder shared in My Network Places inaccessible or unavailable (1014036) & troubleshooting access to shared folders and mirrored in Fusion and workstation (1027646)

  • Shared folders not available

    I have VMware workstation on a Windows 2008 host operating system 8.

    I have some linux guests for whom I allowed to shared folders and it worked fine.

    However, when the guests, I shared folders are not available.

    The option is not present under VMware settings

    Shared folders work for shared virtual computers?

    I guess that you did not read the documentation!

    From page 52 in Using VMware Workstation:

    Allow a shared folder for a virtual machine

    You can enable file sharing to a specific virtual machine. To set up a folder for sharing between virtual machines, you must configure each virtual machine to use the same directory on the network or host system share.

    NOTE You cannot enable a shared folder to a shared virtual machine or remotely.

  • Sharing folders hidden in VMware Fusion

    Hello

    A that someone managed to share a hidden folder (ie. a directory starting with a '. ') in VMware Fusion? For example, I want to share my directory ~/.ssh with my vm linux client.

    When I try to add a folder in the GUI, it appears a search dialog box but does not display hidden folders. I can't find any option to display these files. If this is not the case, is there a command line tool that I have will allow me to do?

    See you soon,.

    Dave

    Even if you expose files hidden in Finder that will allow you to see them in Virtual Machine > settings... > sharing or you will be able to see displayed by default in the operating system invited via '\\vmware-host\Shared' files , unless you change the settings to view the folders hidden with the hosts control however operating systems here is a workaround.

    Using your need to see the hidden file ~/.ssh here, that's what I did.

    The following has been done with the Virtual Machine to stop target of in the guest operating system, not suspended by VMware Fusion.

    In my case, I made a folder named temporarily: dotssh

    In my Virtual Machine under sharing settings I added a folder by selecting the dotssh file and then closed VMware Fusion and then deleted the folder ~/dotssh .

    Then I edited the configuration of the Virtual Machine's .vmx file.

    When I added the dotssh shared folder it added several lines of parameters to the configuration of the Virtual Machine's .vmx file, and two in particular that I edited then manually.

    sharedFolder0.hostPath = "~/dotssh"
    sharedFolder0.guestName = "dotssh"
    

    I then changed to:

    sharedFolder0.hostPath = "~/.ssh"
    sharedFolder0.guestName = ".ssh"
    

    Next I opened VMware Fusion and started Virtual Machine and once at the level of the Windows desktop, I double-clicked the shortcut "VMware shared folders" and he opened the Windows Explorer "\\vmware-host\Shared records" and of course this folder appears empty as I had no other normal folders shared nor was the guest operating system configured to display hidden however folders add "\.ssh" to the "\\vmware-host\Shared records" in the address bar has allowed me to see the content of the .ssh my Home on Mac folder.

    Then I made a new desktop shortcut pointing to "\\vmware-host\Shared.ssh" to use instead of the shortcut to "VMware Shared Folders" by default, but I could also see hidden folders of the guest operating system and then would the .ssh folder without having to type in the address bar or create a new shortcut It's your choice.

  • Urgent-renamed the folder in the folders and now error for all users?

    Hello
    Well I asked me to shorten a name in the shared folders and so I changed it. Now, I get an error if I click on tables of edge or shared folders (which is empty now btw?) or a catalog management, its display:

    Target path not found (operations customer/Shared /) error Code: GZ8VXQ96.

    Are we not supposed to create a folder in the folders and then change the name?

    Help, please. The server administrator BI tells me that everything the world reports are currently not available.

    Years

    Are we not supposed to create a folder in the folders and then change the name?

    You can, but as we are engineers, you can also expect impact of this...

    fix your problem is:

    1 rename the current folder in older...
    2. now, try to perform the operation and everything by doing this, you might have seen as option: preserve references to the old name of this item. below the field to rename...
    3. give the new name and use the name option preserve...

  • Shared folders is disconnected and impossible to reconnect to the drive already in use error letter

    I have a XP Pro SP3 with all the recommended updates installed as of 10/02/2011 that sporadically will lose connections to all shared folders on the domain controller Server 2003 SP2.  The actions will connect and be accessible on initial login/start, but after an indeterminate amount of time all drives mapped on the 2 k 3 server disconnects themselves.  Actions that are located on a Samba server are always accessible and only this one workstation is having issues.  I also made sure that there is no other disk, physical or mapped, which have the same letters assigned on this workstation.   Another thing I noticed is that it seems that to do so for a particular user who is an administrator.  All users of all types seem to be able to work without any problems.

    Hello

    The question you have posted will be well suited in the TechNet community. Click on the link below.

    http://social.technet.Microsoft.com/forums/en-us/categories/

Maybe you are looking for