1

So, I want to share a Windows folder on the host with a VMware virtual machine. To do this, I need to share this folder on the Windows side. But who do I share it with? The list includes:

  • Administrator
  • MyUsername
  • Homegroup
  • Guest
  • Everyone

No VMware around. Things work only if I allow one of the last two groups. But who is this "Guest"? Are there any security risks if I share the folder with "him"?

There gotta be a way to share with VM only...

12
  • Who you share it with entirely depends on who you WANT to share it with. Out of those choices I would assume, you want to share it, with the current Windows profile your logged into. Guest is the default Guest account built into Windows. Are you sure the choice is Admin and not Administrator?
    – Ramhound
    Dec 30, 2015 at 20:57
  • @Ramhound indeed, it is Administrator (edited). However the Guest account is turned off on my machine. I want to share the folder only with the OS running on a virtual machine (Ubuntu in my case). Dec 30, 2015 at 21:05
  • don't use guest
    – cybernard
    Dec 30, 2015 at 21:07
  • If your vm has linux you need samba to be installed and then you can mount it.
    – cybernard
    Dec 30, 2015 at 21:13
  • @Ramhound why cannot I? I open it to Guest, launch the machine and things work like a charm. All done from one and only admin account of mine on a single machine (Guest is closed on my computer). This should make it all safe to the outside network, right? Dec 30, 2015 at 21:28

1 Answer 1

0

You can create a new user, from the control panel and users. Inside the VM you will be prompted for a username and password, so as long as you enter valid credentials inside the VM it doesn't matter.

If you use everyone you will have a share without username or password limited to whatever permissions you assign.

Linux version: smbmount //servername/sharename /mountdirectory -o rw,username=mywindowsusername,password=mywindowspassword The mount equivelant is:

mount -t smbfs //servername/sharename /mountdirectory -o rw,username=mywindowsusername,password=mywindowspassword

5
  • Ok. so, I created a passworded user - called it "VMware". Then I shared the folder with it. But at what step am I "prompted for username and password"? Sorry, I don't quite understand. Dec 30, 2015 at 21:21
  • Sorry, linux will not prompt you as such, I added the mount commands above.
    – cybernard
    Dec 30, 2015 at 21:25
  • Thanks for the edit (cant upvote yet, < 15 rep). I see. So I installed samba and ran the command. Got a complain statement on "smbfs". Used "cifs" instead (provided by cifs-utils). Ran the command again (providing VMware credentials). I can read see the contents of the folder now, but it is Read-only. VMware on the host has read and write permission though. What should I do? Dec 30, 2015 at 21:58
  • before the username add rw, so -o rw,username<etc>. (note:there is a comma after the w. You will need to un-mount and mount again as specified.
    – cybernard
    Dec 31, 2015 at 1:16
  • also added "uid=1000," right before "rw" now I finally have write permission. thanks! Dec 31, 2015 at 1:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .