unable to vagrant ssh to windows box - ssh

I downloaded windows 2012 box using vagrant. While doing a vagrant up, though the box was successfully installed on the virtual box,
It gave me the following error
Is there any config change, that needs to be done for windows box ?

Related

Raw-mode is unavailable courtesy of Hyper-V

Today I was opening a Virtual Machine on VirtualBox and I can't start it. I had to enable Hyper-V in order to use Android Manager on Android Studio.
Is there any way to run both or do I need to disable Hyper-V?
Thank you all
Open "Control Panel\All Control Panel Items\Programs and Features" -> open "Turn Windows feature on or off" -> disable HyperV -> reboot host system
Possible error: "The VM session was aborted". This can be fixed by restarting the virtual machine.

apt-get not working on xampp

I have a Windows 10 64-bit PC that runs a XAMPP instance, with a simple website and local MySQL server.
I need to install a few things on this Apache server via command line, so I'm going to the "shell" option from the Xampp control panel. But when I run the "apt-get" command, it says that there is no such thing.
Why don't I have it and how do I get it on this local server?

creating virtual machine from ISO inside hyper-v manager

I am trying to create a virtual machine based on Windows Server 2012 R2 ISO file inside Hyper-V.
I create the VM and chose add "Connect a virtual harddisk later". I started the VM and went to Media and clicked on sett in a disk and chose Win 2012 ISO file. It started installing Windows 2012, I enered product key and chose server with GUI. when it comes to choose wich type of installation do you want, I chose Custom and clicked next. Now I cannot find any device to install the windows server 2012. I click on load driver and "select the driver to install" but it is empty. I click on Browse what ever I choose it says "No signed device drivers were found. Make sure that the installation media contains the correct drivers, and then click ok". I can assure that the iso file is not curropt.
You do need to create a virtual hard drive to install Windows. Here are instructions for creating a Windows VM with Hyper-V complete with installing from an ISO.

How to license XP Mode on Hyper-V

Like many others I have upgraded from Win7 to Win10 and have run into problems trying to activate the license for the XP Mode VM in Hyper-V. The XP Mode VM starts up just fine but I get prompted for activation during logon.
I don't need to use it in 'XP Mode', just a regular XP VM will do just fine.
I understand that XP Mode used some special licensing that was tied to the Win7 host which is fine & I realise to use it elsewhere I would need an XP license - I actually have a valid (separate) XP Pro license but this doesn't work on the XP VM in Hyper-V!
(If only I had never used XP Mode under Win 7, and just used a normal XP VM in virtual PC I would never have had this problem!)
So I was wondering whether there is any way to change the XP Mode VM in Virtual PC to not be 'XP Mode' ie. just a regular XP VM? I am sure that this would work just fine then when moving to Hyper-V.
After much time reading other info around the web I managed to sort this out, this is what I did:
Copied an IE8 installation package on to the hard drive of the xp VM in virtual pc (NB see further down)
Uninstalled the virtual pc extensions from the XP VM in VP
Created a new machine in Hyper-v and attached the VHD from VP
I inserted a retail xp pro cd and started the xp vm
I chose the option to repair the windows installation and went through that wizard. I entered the new retail key when prompted.
When rebooting the xp vm I was prompted to activate windows but this resulted in a blank desktop screen, this is where the IE8 installation comes in!
Restart the xp vm, hit F8 and choose safe-mode.
type 'explorer' & hit enter
Navigate to the IE8 installation and install it
Reboot the XP VM normally
When the machine starts, I was prompted to activate windows but this time the activation window showed up just fine.
I activated windows and it was good to go.
My windows 7 XP Mode vm is now running as a regular vm under Hyper-V on windows 10.

Windows Environment variable passing through OpenSSH

I am using OpenSSH for Windows in order to be able to connect a Linux machine to a Windows machine.
To do that I have installed a SSH server for Windows v5.6p1-2.
I also have declared the allowed users.
From my Linux machine, I connect to the Windows machine with "ssh user#machine" command.
My problem is that once connected, I get only some Windows environment variables but not all system and user defined variables.
Is it possible to get all the Windows environment variables ?
Thanks,
"This is to limit security holes."
Check this out it has a few solutions.
http://cygwin.com/ml/cygwin/2006-11/msg00394.html