Expertester

October 6, 2009

How to add VirtualBox shared folder in Windows Server 2008 as guest OS

Filed under: Software — expertester @ 3:37 pm

I need to develop an ASP.net and ASP websites recently but I decided not to install IIS7 on my Win7 OS due to this is my gaming machine as well (since IIS7 will run a lot of other services in background even when I am gaming or doing nothing related to webserver task). Therefore, with the power of virtualization software (virtualbox, free of charge), AMD Hyper-V (from phenom 955 BE) and Windows Server 2008 free for 8 months (grace period), I think running Windows Server 2008 in Virtual Environment is not a bad idea. Furthermore, beside IIS7, I could use other stuff as well especially DNS. And the best thing is, virtual OS could be moved from one machine to other machine (read: from my PC to my laptop, for demonstration purpose) without much headache of redeployment.

 

Host OS : Windows 7 x64 (to fully utilize 4 GB ram)

Guess OS : Windows Server 2008 (x86 to minimize size of memory need to allocate to this guess OS)

Software used : VirtualBox (v3.08)

 

The Problem

Unlike Windows XP, adding shared folder in Windows Server 2008 as guess really pain in the arse. The networking (search) feature seem to be, errr… not working for my setup. I simply can’t find my shared folder.

 

Solution

@ VirtualBox software menu bar à Devices àShared Folders

Note : It is highly recommended that you install Guest Addition to improve your guess OS performance and capability

 

Click on button

 

Add the folder that you wanna share from your host OS (PC) @ ‘Folder Path’ à Chose Other

 

Choose your shared folder (this folder exist on your host OS)

The Click OK.

Note : VirtualBox Disks folder is created by me in my storage partition. Yours one might has different name.

 

Then name your shared folder name @ ‘Folder Name :”. Any name will do. In this example, I choose MyShare

Click Make Permanent Checkbox

 

‘MyShare’ shared folder now exists (actually, now I have 2 shared folders, one is the one we just created, and the other one is my actual shared folder that I use for work)

Click Ok

 

All screenshot below this text is taken from virtual os aka guess OS (in this case, my WinServer 08)

Now logon on your Windows Server 2008 (guess OS).

 

From Windows Server 2008 explorer (or run windows), type net use Z:\vboxsvr\MyShare

Z is your map drive (you can change to any letter as well, as long as it will not conflict with your current Windows Server 08 drive letter)

MyShare is my logical shared folder name.

 

And..tadaaa…

 

From now on, I can access my shared folder by using Z drive.

 

Done.

4 Comments »

  1. I highly recommend these guys! ,

    Comment by Kelvin51 — October 22, 2009 @ 2:05 pm | Reply

  2. Hi, I tried what you did but not working on mime machine… dont know why.

    Comment by Jing — October 27, 2009 @ 2:36 am | Reply

  3. There is a slight typo in this which I didn’t pick up at first.

    The article mentions “From Windows Server 2008 explorer (or run windows), type net use Z:\vboxsvr\MyShare”, but the screen shot shows what you really should be adding.

    You need to type “net use z: \\vboxsvr\MyShare” ……. note the space between the z: and the two \’s.

    Thanks for the tips though, I’ve now cranking Windows 2008 Server (although it’s against my wishes).

    Comment by Justin — November 10, 2009 @ 9:44 am | Reply

    • Wow…thanks for your sharp eye. Clearly it slip thru myself proof reading. Really appreciate it.

      Thanks :)

      Comment by expertester — November 10, 2009 @ 4:20 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.