How to check Virtualization is enable in windows 10? - kubernetes

I was learning Kubernetes, through freecodecamp youtube tutorial in windows10 but I got this VT-X/AMD-V not available error everytime, but I have virtualization enabled already and I have checked in Bios also it is enabled.
in my task manager Performance tab it shows virtualization is enabled
taskmanger performance tab but when I pass systeminfo command in Administrator command prompt i get
Administrator command prompt returns this
I am not getting very far with the Ubuntu Windows app as well(from Microsoft store)
what should I do here.

Related

How can I use a local TwinCat 3 runtime with Hyper-V enabled?

I'm trying to run TwinCat 3 XAR in a PC where I need to have hyper-V ON to run Azure IoT Edge (which uses hyper-V). Is there a way to run XAR with hyper-V turned on? Is there any way to isolate the cores from hyper-v or something else?
Edit 22 April 2022
For a complete tutorial on this see my blog post.
There is a way to accomplish this. You can do this by instead of having a local runtime, you can run the code on a runtime in a virtual machine. I got the idea from this reddit post.
To make it work I did the following:
Download and install VMware Player. Its free for non-commercial use. You can also use the paid Pro (Workstation) version. I'm not sure if this also works with Virtual Box.
Install TwinCAT BSD on the virtual machine as described in this excellent YouTube video by Jakob
If you're using VMware Player and need to enable UEFI you need to do the following as noted by YouTube user Eivind Hilde:
Follow the guide in the video, but skip the step where the firmware type is set.
Try to boot the VM. it will fail.
Open the .vmx file in the VM directory with notepad .
Find "firmware = "bios" and replace with "firmware ="efi"" and save. If this line doesn't exist, just add it somewhere.
It will now boot, and you can follow the guide in the video for the rest.
Run your TwinCAT project on the virtual machine, without the need to disable Hyper-V. 🎉
Previous answer
I don't think so. InfoSys mentions:
Hyper-V environment:
The runtime environment cannot be started inside a Hyper-V environment. This refers in particular to virtual Hyper-V machines, which are run in a privileged Hyper-V machine. As soon as a component of the computer uses Hyper-V, only the engineering environment (XAE) can be used on this computer, not the runtime environment (XAR).
But they also mention that:
TwinCAT attempts to detect these Hyper-V environments; however, it is in the nature of virtualization approaches that they do not wish to be detected and TwinCAT therefore cannot carry out any 100% detection.
So maybe there is some way you can prevent TwinCAT from detecting a Hyper-V environment. However, that is something I can't answer.

How to run eclipse on AWS

I have successfuly run rStudio on Amazon Web Services and it is extremely useful.
I want to run eclipse on AWS as well. When I type this in to google most tutorials are about the eclipse plugin. That's not what I want. I want to run eclipse on AWS.
I tried setting up an instance on EC2 which allowed me to run windows server 2012 but I couldn't install anything because of various internet explorer configuration issues and anyway I hat windows. I also tried a remote linux installation but its not really what I want. I want to run eclipse so that I can access it from a public DNS in the same way that I have managed to do with rStudio. Is this possible. Are there other (even non-AWS) ways?
I presume that by "AWS" you are actually referring to Amazon EC2 virtual machines.
Installing software on an Amazon EC2 instance is no different to installing on any other computer -- it's the same copy of Microsoft Windows you would use elsewhere.
The difficulties you mention of running Internet Explorer on Windows 2012 is entirely part of Microsoft's (rather strange) security settings that discourage using Internet Explorer as a system administrator, in order to combat security weaknesses that people try to exploit. Windows 2012 will no longer be supported by Microsoft in 2018.
I recommend using Windows 2016, which does not seem to impose such restrictions. It's also a newer, supported operating system that matches Windows 10.
Then, just install the software as normal and things will work a lot better for you.
Update:
You're right -- IE has problems on Windows 2016 but they are different to what is happening on Windows 2012 (last time I looked).
To get around the silly Microsoft IE security:
Run Server Manager
Go to Local Server
Click IE Enhanced Security Configuration ("On")
Turn both settings off
Internet Explorer then works and you can install Eclipse.

Dell iDRAC: the difference between "Embedded OS deployment tools" and "Remote OS deployment"

I'm considering getting a collection of Dell PowerEdge servers. Dell documentation is pretty poor (no surprise there) and I have trouble figuring out if I can go with iDRAC Basic or if I need iDRAC Express or Enterprise.
My need is to install Ubuntu Server (minimal install with SSH is enough). After install all I need is SSH and possibly a remote "reset" button. I can install the OS before taking the system to server room so I don't really need remote OS deployment tools. However, the server does not have a graphics adapter. Is it possible to install Ubuntu with just iDRAC Basic or do I need additional hardware?
#iwork4dell Remote OS deployment implies Virtual Console (like VNC) and Virtual Media (using a remote ISO like a local DVD). These are Enterprise license features. OS deployment tools are are the driver pack that is stored in flash on the server and made available during OS installation to support new hardware on older OSes.
The iDRAC is an integrated VGA adapter so all the Power Edge servers do have a video adapter in them unless you disable it in BIOS. If your willing to attach a keyboard and monitor to the server basic is all you need. You can also upgrade the iDRAC with a license key after purchase.
See http://en.community.dell.com/techcenter/extras/m/white_papers/20440743
and http://i.dell.com/sites/doccontent/shared-content/data-sheets/en/Documents/idrac-spec-sheet.pdf
IDRAC is possible, just you can open gui of idrac and then launch on the online server. You can add the iso file on virtual server.

How can I get an interactive login with Windows 10 IoT Core running on a Raspberry Pi?

I just installed Windows 10 onto a Raspberry Pi. It started up fine and I can connect (using PowerShell) from my laptop.
I can connect a keyboard and mouse to the Pi but I can't get a login window. All that I can do is change the timezone and reboot. Is there a way to login directly to the device?
I don't need fancy graphical windows. A command line session (à la Linux or PowerShell) would be fine.
If it isn't possible with the core install, does anyone know if Microsoft, or a third party provider, plans to add this feature?
No there is not a command line presented on the local display. The only way to run commands on Win10 IoT is to use PowerShell as described by Keith in this thread or you can use SSH or Telnet. You can interact with applications run on the device via the local display, keyboard and mouse.
Mark Radbourne [MSFT]
You can use PowerShell remoting from another Windows box to do stuff on Windows 10 IoT Core. I've tested this procedure on Windows 10 PowerShell, works fine. Be sure to follow the step to "Remove-Module PSReadline". I was trying to use setcomputername to rename my RPi2 and the command would fail with a command not found error. Once I removed the PSReadline module, the command started working. Hopefully Jason gets this fixed as PSReadline is just too valuable to remove for long. :-)

Hyper-V not allowing the mouse in Windows Vista

OK, I am having a problem setting up a virtual machine in Hyper-V, I’m not getting the use of the mouse. When I connect to the machine from Hyper-V and click somewhere I get:
Virtual Machine Connection
Mouse not captured in Remote Desktop session.
The mouse is available in a Remote Desktop session when integration services are installed in the guest operating system.
If I try the same from Virtual Machine Manager I get:
Virtual Machine Connection
The mouse is unavailable in a Remote Desktop session when virtual guest services are not installed in the guest operating system.
The operating system is Vista Ultimate x86 Service Pack 2.
I have installed the integration services disk (Action | Insert Integration Services Setup Disk). This runs through the installation, says it was successful and prompts for a restart. After the restart I log in, click on something and get the same error above.
I have been Googling and as a result I have tried:
Detecting the HAL
Adding a 2nd CPU
Installed all available Windows updates
Trying installing the integration services again by running as administrator
Building a new Vista machine
Importing a Vista .vhd file from VirtualBox
Nothing. No joy.
Does anyone know how I can allow my Vista machine to accept the mouse?
Thank you.
This might sound trivial, but have you tried enabling "Guest Services" on the Vista VM? Here is how you can do it:
* From Hyper-V manager, right click on the Vista VM and go to Settings
* Management > Integration Services > Check "Guest Services".
If that does not help, let me know the version of your Windows host and also the result of following Powershell cmdlet (You need to execute this when VM is running):
Get-VM -Name <Your VM Name> | Select IntegrationServicesVersion, IntegrationServicesState
Typically, attaching the ISO file from Host's "C:\Windows\System32\vmguest.iso" and running the Setup from inside the VM should enable Mouse on Vista VMs. This is automatically done when you do "Insert Integration Services Setup Disk" action.
Hopefully it is not too late. First of all, you need to turn off the VM, and change the OS type to Vista in VM summary. Then you are allowed to install Virtual Guest Services. After installation, issue disappeared.
Basically I think the issue is from the fact that Hyper-V was not to identify the OS correctly.
I added all the hyper-v system devices in manually. Check with another working VM to see what system devices are not shown. Re-started and it worked fine.