virtual machine
358 TopicsStep-By-Step: Enabling Hyper-V for Use on Windows 11
Want to use Hyper-V on Windows 11? Hyper-V is a virtualization technology that is valuable not only for developers and IT Professionals, but also for college and university students. This step-by-step guide will show you how to enable Hyper-V on your Windows 11 machine.1.1MViews8likes35CommentsStep-By-Step: How to Create a Windows 11 VM on Hyper-V via PowerShell
This step-by-step guide outlines how to create a Windows 11 virtual machine (VM) on Hyper-V using PowerShell commands. By following these instructions, IT professionals can save time and effort by automating the process and ensuring that each VM is configured correctly. This method is particularly useful for organizations that need to deploy multiple VMs quickly and efficiently.222KViews3likes21CommentsGuest credentials for Windows trial VM
Hello, I have set up a virtual machine using the Windows 10 trial VM for Hyper-V (https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/, preview 15.15). I would like to use Powershell Direct to run Powershell scripts on my VM. I believe I've successfully enabled PSRemoting. I enter the command "Enter-PSSession -VMName $VMname" on my host. I am then asked to enter the credentials of the guest machine. I tried searching in the installation instructions and learned that one can sign in as IEUser/Passw0rd! by default. However this doesn't seem to be a valid credential. I can't tell if there is a default credential, a credential is stored somewhere on the computer, or I need to make a credential. I would greatly appreciate your advice on the matter. Thank you.136KViews0likes2CommentsAudio device not available on MS Azure VM
Hello, Please forgive for asking basic question. I'm a newbie w.r.t. MS Azure. I'm accessing a media rich website on my Azure VM and want to record the screen + system audio as played by the website. I can record the screen as well as the audio when I'm connected to VM via a RDP (with RDP configuration to playback on local computer). I can hear the audio on my local machine (when I connect to VM using a RDP connection). However, I want the audio to be played on VM itself so the recorders can capture/record it. (recording on VM <very critial/important> + local playback <not as important>) I'm using Camtasia or SnagIT to record the screen video + audio. Camtasia cannot start as it doesn't find an audio/sound card/device installed on VM and so it fails to start capture. I'm running a Windows Server 2016 Data Center edition without the audio hardware installed on the VM (took the image from Azure market place, not sure how to use other VMs with an audio device installed). Please let me know: 1. If I can install a virtual audio hardware to solve my issue or 2. If you know of any VM image with audio card(s) installed in the VM image or 3. Do you know of any screen+audio recorder which decodes the incoming stream and identifies audio and thus records audio (even though there is no hardware installed - as SnagIT can record without local hardware but Camtasia cannot record without a local hardware) 3. Please suggest a workaround to this issue. Could you please help me? Cheers, rKabra42KViews0likes2CommentsLogin to Windows virtual machine in Azure using Azure AD authentication (and the pitfalls)!
Dear Microsoft Azure Friends, This article is about the login to Windows virtual machine in Azure using Azure Active Directory authentication and what needs to be considered in the process. This article describes the procedure. So far, everything is actually in perfect order. https://docs.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows So I have worked through the steps and now I want to log on to the virtual machine with an Azure Active Directory account. Why does this error message appear now? Have I done something wrong? I am going through all the steps again. No fits. So I take another close look at the article and discover the following: But that's exactly not the case with me. I want to connect from my local system which is not registered or joined in Azure. Let's take it one step at a time. First of all, I create a group in Azure Active Directory. This will contain the account I will use later for the login. ATTENTION: Use the appropriate Windows OS => Windows Server 2019 Datacenter edition and later or Windows 10 1809 and later Next I create a new virtual machine with the default settings (including a public IP address and yes this is not good, but this demo absolutely OK). Except for Management I set the following settings. If you want to work with an existing virtual machine you need to install the extension. You can do this with the Azure Cloud Shell, in a Bash terminal. az vm extension set \ --publisher Microsoft.Azure.ActiveDirectory \ --name AADLoginForWindows \ --resource-group YourResourceGroup \ --vm-name YourVM After the virtual machine is created we need to work with Role based Access Control RBAC. There are two roles that can be used. Virtual Machine Administrator Login or Virtual Machine User Login If you need local admin rights you need the first role. If you want to log in as a standard user, you can work with the second role. Now we connect to the virtual machine using RDP, but ATTENTION, I use the account I created when I created the virtual machine (not an Azure AD account). In the virtual machine I start the command prompt and use dsregcmd /status. The machine is Azure AD Joined. In the virtual machine, navigate to Start and invoke "run". Type sysdm.cpl and navigate to the Remote tab. Remove the "Allow connections..." option and click "Select Users". When you click on "Locations" you will immediately see that you cannot select an account from Azure AD. We need the command prompt for this. Start the command prompt with elevated privileges and enter the following (customized with your information, of course). net localgroup "remote desktop users" /add "AzureAD\Email address removed" Go back to the Azure Portal to your virtual machine. Download the RDP connection file. Open this RDP file with an editor and add the following lines. enablecredsspsupport:i:0 authentication level:i:2 Now double click on the RDP connection file and now use the Azure account for login. AND BINGO, we can now log in to our virtual machine using the Azure Active Directory account! Cool! I hope this article was useful. Thank you for taking the time to read the article. Best regards, Tom Wechsler P.S. All scripts (#PowerShell, Azure CLI, #Terraform, #ARM) that I use can be found on github! https://github.com/tomwechsler31KViews7likes18Comments