Win 10 sharing with XP running under VirtualBox on another Win 10 computer

Discussion in 'Windows 10' started by lostpassword, Oct 17, 2016.

  1. lostpassword

    lostpassword MDL Member

    Nov 21, 2009
    198
    14
    10
    If this has already been covered, and there are clear instructions please point me in the right direction.

    I have 2 Win 10 computers linked by Ethernet cable, and sharing files and a printer without any problems. I wanted to add an XP computer to one of the Win 10 computers using VirtualBox.

    Everthing works fine, except that I cannot print whilst using XP in the VirtualBox. I can see shared files on the other Win 10 computer, and the virtual WIN XP runs very well. I only wanted to use an old program that is not very keen on Win 10, even in compatibility mode. Working for a bit, then kept stopping.

    I do not want to change one of the 1O computers to WINXP permanently.

    Doing a Google search it seems that there are numerous problems with printing from XP to 10, although they do not mention VirtualBox, so it seems that VirtualBox may not be the problem.

    May I ask if anyone here can print from XP to 10 using virtualBox.

    If you can make this work, please give me instructions as to port settings, workgroup, password etc, and network settings.

    Many thanks
     
  2. rpo

    rpo MDL Addicted

    Jan 3, 2010
    545
    303
    30
    You could print to a XPS printer or a file and print the file from a W10 pc.
     
  3. lostpassword

    lostpassword MDL Member

    Nov 21, 2009
    198
    14
    10
    Thanks very much. Never used XPS before. Worked perfectly first time. Just had to copy over via pendrive, as I have lost access to shared folders.
    I did have that working, so will be able to crack that problem. Would be nice to know if anyone can print direct from Virtual XP to printer on WIN 10, but this solves the problem. Interesting to see how quick XP runs on virtual machine. I was expecting it to be very slow.
     
  4. rpo

    rpo MDL Addicted

    Jan 3, 2010
    545
    303
    30
    I achieved printing from virtuakbox to a win10 printer.
    My printer is a Samsung ML-1865 laser printer connected on a USB port of the PC running virtualbox.
    You have to install the virtualbox extension pack to support USB (documentation 1.5 and 3.10).
    I installed the printer driver on virtual XP and rignt clicked on the USB icon in virtual box. I clicked on the printer device ... and lost my USB mouse Alt + F4 + stop virtual box). After restarting, unplug and plug in the printer : it was present in the control pannel. Just click to install, and voilĂ , the printer is available.
     
  5. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,316
    120

    That's an obvious way, but sharing the printer over the LAN like if it was on a phisical machine is even more obvious because will make the printer alwways available to both the real and one or more VMs, w/o any manual USB redirection.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. rpo

    rpo MDL Addicted

    Jan 3, 2010
    545
    303
    30
    Before USB redirection I tried sharing the printer over the lan, but when i wanted to install the printer, i was asked to supply a userid/password and since i use no password on W10, i couldn't install the printer.
     
  7. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,316
    120

    Obviously you need a password set to do anything over the SMB network, to use the remote desktop and so on.

    Just set it, then (if you want) set the autologon using netplwiz.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. rpo

    rpo MDL Addicted

    Jan 3, 2010
    545
    303
    30
    Finally i can print using the following steps :
    1. My laser printer is connected to the Windows 10 host via a USB port and its name is : Samsung ML-1860 Series (USB001); the shared name is \\Rpascolo\Samsung ML-1860 Series (USB001) (Rpascolo is the host name of my Windows 10).
    2. Make sure to see this printer from virtual Windows XP with file explorer (i.e you have access to the Windows 10 host). Of course File/printer sharing must be configured on the Windows 10 host.
    3. Go into control panel and Add Printer, then LOCAL Printer, the new Local Port (in my case \\Rpascolo\Samsung ML-1860 Series (USB001).
    4. Specify the driver to use; if you have the installation disk indicate the .inf installation file (in case Windows XP and Windows Update can't find the appropriate printer).
    5. After a reboot, make sure you can login from virtual XP to Windows 10.
    That's all folks.
     
  9. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,316
    120
    3 = just double click on the shared printer from XP, then choose the drivers if they aren't available from W10.

    If they are available on W10 the double click is enough, everything is done automagically
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. rpo

    rpo MDL Addicted

    Jan 3, 2010
    545
    303
    30
    This is ok for W7 and above, but not for XP.
    Hower that may be, the OP has choice between different solutions.