I have run into what I think is a bug, I am starting to use VirtualBox to test Windows XP deployments and the software we use is written in perl and it makes a call to Win32::NetResource::GetUNCName() which should return the UNC name when it is given a network drive letter. Unfortunately it fails within the VirtualBox hosted guest OS.
I tried with ActivePerl? 5.8.9.826 and 5.10.0.1005 and I get the same results.
Here are the results.
Real Windows XP SP3
C:\>Z:\testunc2.pl
Calling GetUNCName z:
success $ret = \\pcserver\homes
VirutalBox? Windows XP SP3
C:\>Z:\testunc2.pl
Calling GetUNCName z:
$ret =
Unable to GetUNCName for z:: The network name cannot be found at y:\testunc2.pl
line 21.
I have attached a test perl script.
Products Involved
VirtualBox 3.0.4
Host OS: OpenSolaris? 2009.06
Guest OS: Windows XP SP3
Perl: ActiveState? 5.8.9.826 and 5.10.0.1005
Deployment software: Unattended (http://unattended.sourceforge.net/)