windows 7 - Vista VM cannot connect to printer shared from Win 7 VM - Error code 0x00000102

07
2014-07
  • Spiritfyre

    I'm running two OS's using Oracle VM Virtual Machine. One has Windows 7 Pro x64, the other Windows Vista Business x86. I have to try and connect a printer installed via USB and shared inside of the Windows 7 VM using Vista, and so far, I can get Vista to see the printer, see it's queue, but the moment I try and connect, it appears with the following error:

    Windows cannot connect to the printer. Operation could not be completed (0x00000102).

    Both VM's are connected via an Internal Network, and the IP settings are as follows:

    Windows 7
    IPv6 - Disabled (this is required)
    IPv4:
    - IP Address: 194.168.10.4
    - Subnet mask: 255.255.255.0
    - Gateway: blank
    Workgroup name: WORKGROUP
    Computer name: WIN7VM-CD

    and

    Windows Vista
    IPv6 - Disabled (this is required)
    IPv4:
    - IP Address: 194.168.10.5
    - Subnet mask: 255.255.255.0
    - Gateway: blank
    Workgroup name: WORKGROUP
    Computer name: WINVISTAVM-CD

    The printers details are:

    Model name: Canon PIXMA iP1000
    Share name: Canonprinter

    I have entirely disabled the firewall on both VM's, to ensure it's not a conflict there. I have also locally installed the USB printer onto the Vista machine, to ensure that the driver existed and was installed. I have also ensured that both machines are using the same user account name and password, and that both machines have File and Printer sharing enabled, as well as Network Discovery, and that Password-protected sharing is disabled.

    I have also tried connecting to it via "New Printer -> Local Printer -> New Port [Local Port] -> \WIN7VM-CD\Canonprinter", however it doesn't even have time (it seems) to check before it comes back as "Access Denied.", with no further message or error.

  • Answers
  • Seasoned Advice (cooking)

    Answer found.

    Follow this link and share the permissions and access to this directory. THIS IS IMPORTANT!

    Once that's been done, try connecting by creating a new "Local" port (through the process listed in the question), and it should work! The "Access Denied." error should no longer appear.


  • Related Question

    windows xp - ICS from XP (Wireless & LAN) to Vista (LAN)
  • Questioner

    I'm trying to get my new Vista Ultimate computer to share the wireless connection my XP Pro computer has via a LAN using an old Linksys router I have. After 2 days I finally got my XP computer to be able to access the internet and share files via the LAN, and the Vista computer can share files but cannot access the internet using the XP's wireless connection.

    XP Computer:
    - Has wireless USB connection. Wired to router.
    - Can access both internet and share files on LAN
    - Internet connection sharing (ICS) is setup for the wireless connection.
    - Wireless Info: IP - 192.168.1.81, Subnet Mask: 255.255.255.0, Gateway: 192.168.1.254
    - Wired LAN Info: IP - 192.168.110.3, Subnet Mask: 255.255.255.0, Gateway: (blank)

    Vista Computer:
    - Has LAN (connected to router) and can share files
    - No Internet Access
    - Wired LAN Info: IP - 192.168.110.2, Subnet Mask: 255.255.255.0, Gateway: (blank) - IPv6 Disabled - I see "Residential Gateway Device" in my network, in properties it says "Model: Internet Connection Sharing" but I can't do anything with it

    Linksys Router:
    - IP Address set to 192.168.110.1
    - DHCP Disabled

    How can I get my Vista computer to have internet access too? (I don't have wireless for it to connect to the wireless network directly, nor can I access that router directly). I feel I am so close after messing with it for 2 days... any help is much appreciated!!


  • Related Answers
  • Seasoned Advice (cooking)

    you're connecting to the internet via the wireless USB connection on the XP computer and this connection is shared?

    manually configure the LAN connection TCP/IP settings on the XP computer:

    IP 192.168.0.1 subnet mask: 255.255.255.0 no gateway, no DNS

    now configure your router (use the Vista computer, the XP machine cannot connect to the router now) for static WAN

    IP 192.168.0.2 Gateway: 192.168.0.1

    the trick is: not the Vista computer, the router has to get the internet connection from the XP computer, then you can access the internet through the router from the Vista computer. thus you have to make sure that your XP computer is connected to the WAN port of your router.

    however, if you want to share files between the 2 computers, you'll need a second NIC for the XP computer to connect to a LAN port in the router.

    alternatively, do away with the router and get a crossover network cable (Vista computer either to automatic IP or 192.168.0.2, subnet 255.255.255.0, gateway and DNS 192.168.0.1). now can have both, internet connection AND file/printer sharing.