Access to virtual machine on vmware - vmware

I have a virtual machine (VMware) running Windows 7 Ultimate, there is no firewall on the machine.
I can remote desktop to it,
I can successfully ping it from my development machine, and I can successfully ping my development machine from it.
The virtual machine appears in explorer under Network, but if I click on it, it says that windows cant communicate with the device or resource, same goes for trying to access it using UNC notation (\\servername) and even UNC using ip address (\\xxx-xxx-xxx)
Any ideas?

The Windows UNC syntax for a networked machine should be \\<name> or \\<ip>.
Edit:
You'll only be able to access shared folders over Microsoft Windows Network (aka SMB). You probably haven't set up shared folders. Read this: VMWare Workstation 4: Using Shared Folders

Related

how to dismount the USB which connected on remote machine using c++

I have tried:
deviceIoControl function but I think this cannot work for
remote machine (my sample code)
dismount function in WMI but it mount again as auto-mount is
true when I tried to false the automount that function return
mountpoint is available error,So How can I delete mount point in remote machine.
disabling the USB mass storage driver in device manager can dismount
the USB,but can not access the device manager in remote machine
that has windows 8 and after release version click here to see
i am going to try CM_Request_Device_EjectA function but to
connect with remote machine CM_Connect_MachineA function cannot
applied for windows 8 and after release version
I don't know what to do next.I want to do this without mostly setup or configure on remote machine.

Launching/connecting available virtual machine from a win10 home edition

Hi there I wl like to understand: How to do starting a virtual machine and launch it from my client (windows 10 Home Edition based Laptop) using the DNS and credentials provided ? I got the DNS and user credentials.
If you have the VM created and turned off, then you should go to the Azure portal and turn it on, then use Remote Desktop Protocol from your local machine to connect to that virtual machine.

Cross domain Remote debugging on Visual Studio 2008

I have 2 machines :
Developer machine(running the VS 2008): connected to network abc.lan & VPN xyz.lan
Remote machine(running the service): connected to VPN xyz.lan
On the developer machine, when I goto Debug->Attach to process->Browse(for Qualifier), only the machines which are on abc.lan are visible BUT NOT the remote machine which is connected only on VPN xyz.lan
Is there a way by which the remote machine could be visible across the domain ?
PS : In general, any guideline to do the same would be helpful.
Thanks
You cannot directly attach the remote machine process to debugger, if connected through VPN or Remote Desktop. Instead you can do the following if you have rights there
Install WinDbg with symbols
Use Reflector with Deblector
Install VS on the same machine, access it through RDP or VPN and debug
You can remote debug across domains, but you'll have to enter either the IP Address or the machine name in manually. There are some restrictions, such as needing to use a Local User account instead of a domain account. This MSDN article specifically details it out:
http://msdn.microsoft.com/en-us/library/9y5b4b4f(v=vs.90).aspx

Linux as a guest on MacOS X: VirtualBox or Parallels?

I'm going to develop mostly Django sites on a MacBook Pro and would like to use Ubuntu VMs for testing purposes.
Which product is better suited for this purpose?
Can I connect to the VM via TCP/IP (so I can have apache running on the VM and access it from Safari on my MBP)?
Thanks!
It should be possible using VMWARE FUSION. It has a good network management, and you should be able to access easily your vm via network.
I've successfully used both VirtualBox and VMWare Fusion for this. On both systems, you can set the guest up so that it has its own IP address, and connect to it via HTTP, SSH and even native file sharing, so you can mount the guest's drive as a network drive from the Mac, and vice versa. This makes it possible to do the editing on the Mac in eg Textmate, but run the server on the VM.
I can only tell you about my experiences with a Core2Quad Q6600 on VMWare Fusion 3.0. I have three boot partitions on this system (ahem yes it is a hackintosh running with the E-Fix USB).
So i can do performance measurements. I use it for sometimes very large compiler sessions. And the amazing fact was that Linux as a Guest runs without any measureable time difference on virtualised and native Linux. Windows7 on the other hand only runs with 40% on my machine and GUI is allmost non useable while the GNOME Desktop from latest Ubuntu still works fine.
Check this out. Virtual Box is free so there is nothing to loose.

VMWare - Virtual operating system static IP address

What is the best way to have a virtual operating system have a static IP address in VMWware. I would like to keep the IP address static since it is a virtual server.
You can configure VMware DHCP server [which runs on host OS] to assign a fix IP address to a VM each time.
According to vmware docs, configuration is stored at the following locations:
Windows XP
C:\Documents and Settings\All Users\Application Data\VMware\vmnetdhcp.conf
Windows Vista or Windows 7
C:\ProgramData\VMware\vmnetdhcp.conf
Linux (host-only)
/etc/vmware/vmnet1/dhcp/dhcp.conf
Linux (NAT)
/etc/vmware/vmnet8/dhcp/dhcp.conf
VMWare Fusion for Mac (host-only)
/Library/Preferences/VMware Fusion/vmnet1/dhcpd.conf
VMWare Fusion for Mac (NAT)
/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf
Static IP and DNS name by MAC example:
host ubuntu {
hardware ethernet 00:0c:29:c0:2c:58;
fixed-address 192.168.118.3;
}
For more details on this please see this blog post.
Assuming you're not using NAT-based VMWare networking, the answer isn't any different for a virtual (guest) server than for a real one. You can:
Assign a static IP via whatever mechanism the guest operating system supports.
Configure the guest operating system to get its IP address from a DHCP server, and configure the DHCP server to return a static IP address for the VMWare instance's MAC address.
If you want the VM slice / VM machine (guest) to have a static IP, assign it to the VM slice. Then on the VM Server select "Bridged" for the network adapter settings. This tells VMWare to use what ever IP settings you have established on the guest.
This works on my machine
Follow these simple steps. Takes just 5 minutes.
1. Note the MAC of the VM
2. On the host machine open C:\ProgramData\VMware\vmnetdhcp.conf
a. Or C:\Documents and Settings\All Users\Application Data\VMware\vmnetdhcp.conf
b. These 2 files are auto synced or mirrored.
c. Open the editor in Administrator mode. Eg notepad++. Otherwise you will get access denied message
3. Add a new entry at bottom of the configuration file, right before the "# End" marker. MyGuestVM is any unique name. Example below
host sunilW2008Server {
hardware ethernet 00-0C-29-05-2B-A0;
fixed-address 192.168.63.222;
}
3. Shutdown the VM and close the Workstation
4. Re-start the VMWare DHCP and NAT services for changes to take effect (From services.msc)
Notes:
the below folders are at sync automatically.. change at one place and the same will be reflected on the other folder
C:\ProgramData\VMware
C:\Documents and Settings\All Users\Application Data\VMware
A simple workaround, configure the vmware dhcp server to use longer leases.
In the vmware config folder (on windows 7 -- C:\ProgramData\vmware) edit the file
vmnetdhcp.conf and change the values of default-lease-time and max-lease-time to
something bigger say 4 months (4mo*30days*24hours*60min*60sec = 10368000).
Then restart the vmware dhcp server. Then release and renew the lease on the guest.
Now your guest IP is static for next four months.
If you prefer to leave the VM host configuration as default, it is also possible to configure the guest machine to request a fixed address for dhcp. This will work even for the NAT network. In the case of Ubuntu and dhclient, this is achieved by the following block in dhclient.conf:
interface "eth0" {
send dhcp-requested-address 192.168.1.222;
}
Source: https://serverfault.com/a/381137