Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A VM that can get around Windows 11's hypervisor and VT security nonsense?

A VM that can get around Windows 11's hypervisor and VT security nonsense?

Scheduled Pinned Locked Moved The Lounge
helpvisual-studiolinuxsecurityquestion
27 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R RickZeeland

    Maybe you can find something here: desktop-virtualization-solutions[^]

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #5

    I was hoping to avoid installing and uninstalling each of these in turn until I found one that worked, which is why I was looking for a specific one that specifically solved this problem, specifically.

    To err is human. Fortune favors the monsters.

    1 Reply Last reply
    0
    • H honey the codewitch

      I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

      To err is human. Fortune favors the monsters.

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #6

      Quote:

      Alternatively I'd take a way to fix the line endings

      dos2unix/unix2dos[^].

      "In testa che avete, Signor di Ceprano?" -- Rigoletto

      H 1 Reply Last reply
      0
      • C CPallini

        Quote:

        Alternatively I'd take a way to fix the line endings

        dos2unix/unix2dos[^].

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #7

        Yeah, I should have clarified that I need to be very careful about using such a tool over the existing source tree, because I don't know everything it contains. (it's a monstrous labyrinth) I can use it with a single file, but I'm also concerned Git may be trying to "fix" it for me.

        To err is human. Fortune favors the monsters.

        1 Reply Last reply
        0
        • H honey the codewitch

          I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

          To err is human. Fortune favors the monsters.

          L Offline
          L Offline
          lmoelleb
          wrote on last edited by
          #8

          Did you try telling git how you want your line endings handled? Git - Git Configuration[^] Without the --global flag, you can specify it per repo. It is not WSL that is doing anything with newlines - it is VSCode and/or git itself, so this is where you should search for solutions. I would also clone on the Linux file system, not the mounted Windows drives to avoid issues with casing. If you have WSL2 on Win11 you can easily run Linux graphical git clients as well - just apt get one and fire of the command line - the UI will open without any configuration work needed. Running a VM in 2022 sounds like a very complicated solution to a simple problem.

          H N 2 Replies Last reply
          0
          • H honey the codewitch

            I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

            To err is human. Fortune favors the monsters.

            D Offline
            D Offline
            Delphi 7 Solutions
            wrote on last edited by
            #9

            I used VM Ware player and even the payed version for long time, until some years ago it became slower and slower. Then I tried Oracle VirtualBox and I never want to go back again to VMware. The performance difference is really big, the only downside I found in VirtualBox (when running on linux mint) is that copy/paste between the VM and the host often does not works, I made a shared folder to get around that.

            1 Reply Last reply
            0
            • L lmoelleb

              Did you try telling git how you want your line endings handled? Git - Git Configuration[^] Without the --global flag, you can specify it per repo. It is not WSL that is doing anything with newlines - it is VSCode and/or git itself, so this is where you should search for solutions. I would also clone on the Linux file system, not the mounted Windows drives to avoid issues with casing. If you have WSL2 on Win11 you can easily run Linux graphical git clients as well - just apt get one and fire of the command line - the UI will open without any configuration work needed. Running a VM in 2022 sounds like a very complicated solution to a simple problem.

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #10

              Hey thanks! I thought that might be where the source of my trouble was coming from, but I had no idea, and I wasn't sure how I would readily check without potentially causing issues checking in to my current pull request on this project. I have had issues running scripts as well, but maybe that's because it's the terminal inside VS Code.

              To err is human. Fortune favors the monsters.

              L 1 Reply Last reply
              0
              • H honey the codewitch

                I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

                To err is human. Fortune favors the monsters.

                P Offline
                P Offline
                Paul Sanders the other one
                wrote on last edited by
                #11

                Just shut down the VM and then add the following line to your .vmx file: `ulm.disableMitigations = "TRUE"` That should fix it.

                Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.

                H B 2 Replies Last reply
                0
                • H honey the codewitch

                  I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

                  To err is human. Fortune favors the monsters.

                  K Offline
                  K Offline
                  Kate X257
                  wrote on last edited by
                  #12

                  It's not security nonsense, it's having 2 active hypervisors competing for the same resource. It simply can't be done. The Windows hypervisor can now be considered part of the OS. So you have 2 options: - disable the Windows Hypervisor (it's a Windows Feature) and use a different one. - use the Windows Hypervisor I recommend using the hypervisor. It's a good implementation, don't be so fussy. Take a look here if you want the first option: Disable Hyper-V to run virtualization software - Windows Client | Microsoft Learn[^]

                  H 1 Reply Last reply
                  0
                  • L lmoelleb

                    Did you try telling git how you want your line endings handled? Git - Git Configuration[^] Without the --global flag, you can specify it per repo. It is not WSL that is doing anything with newlines - it is VSCode and/or git itself, so this is where you should search for solutions. I would also clone on the Linux file system, not the mounted Windows drives to avoid issues with casing. If you have WSL2 on Win11 you can easily run Linux graphical git clients as well - just apt get one and fire of the command line - the UI will open without any configuration work needed. Running a VM in 2022 sounds like a very complicated solution to a simple problem.

                    N Offline
                    N Offline
                    Nelek
                    wrote on last edited by
                    #13

                    lmoelleb wrote:

                    Running a VM in 2022 sounds like a very complicated solution to a simple problem.

                    Looks like you haven't had to use several different versions of software that are incompatible to each other just because each customer has bought something some time ago and don't want to update to "something simple"... Or have to run old software that Versions above windows 8 don't accept because "it is too old and / or too inefficient or just not compatible / supported anymore" Using VMs is actually one of the simplest solutions to solve a lot of problems.

                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                    L 1 Reply Last reply
                    0
                    • H honey the codewitch

                      I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

                      To err is human. Fortune favors the monsters.

                      M Offline
                      M Offline
                      megaadam
                      wrote on last edited by
                      #14

                      Even if the git trick above solves your CRLF, I too, recommend using the built-in Hyper-V :cool:

                      "If we don't change direction, we'll end up where we're going"

                      1 Reply Last reply
                      0
                      • N Nelek

                        lmoelleb wrote:

                        Running a VM in 2022 sounds like a very complicated solution to a simple problem.

                        Looks like you haven't had to use several different versions of software that are incompatible to each other just because each customer has bought something some time ago and don't want to update to "something simple"... Or have to run old software that Versions above windows 8 don't accept because "it is too old and / or too inefficient or just not compatible / supported anymore" Using VMs is actually one of the simplest solutions to solve a lot of problems.

                        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                        L Offline
                        L Offline
                        lmoelleb
                        wrote on last edited by
                        #15

                        When I wrote "a simple problem" I was referring to the problem in the post I responded to, not every problem under the sun. And I also added the 2022 qualifier as running a VM for Linux development was a very reasonable thing to do before WSL2 (and to some degree WSL1 but that is a detail level there is no need to get into).

                        1 Reply Last reply
                        0
                        • H honey the codewitch

                          Hey thanks! I thought that might be where the source of my trouble was coming from, but I had no idea, and I wasn't sure how I would readily check without potentially causing issues checking in to my current pull request on this project. I have had issues running scripts as well, but maybe that's because it's the terminal inside VS Code.

                          To err is human. Fortune favors the monsters.

                          L Offline
                          L Offline
                          lmoelleb
                          wrote on last edited by
                          #16

                          You can always experiment with a local branch. Git can't perform any transformation to the files between local branches and remotes (as identity is based on SHA1 - or is it already SHA256?), so any unwanted change will be done as part of the commit into your local repo. Looking at file stamps you can easily find your new files in the .git folder and inspect them binary to see the newlines are as you want. Notice there will also be files for the folder structure and the commit, so experiment with a file at the top level to make it easy to find it.

                          1 Reply Last reply
                          0
                          • P Paul Sanders the other one

                            Just shut down the VM and then add the following line to your .vmx file: `ulm.disableMitigations = "TRUE"` That should fix it.

                            Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.

                            H Offline
                            H Offline
                            honey the codewitch
                            wrote on last edited by
                            #17

                            Thank you! I'm trying it now. :)

                            To err is human. Fortune favors the monsters.

                            1 Reply Last reply
                            0
                            • K Kate X257

                              It's not security nonsense, it's having 2 active hypervisors competing for the same resource. It simply can't be done. The Windows hypervisor can now be considered part of the OS. So you have 2 options: - disable the Windows Hypervisor (it's a Windows Feature) and use a different one. - use the Windows Hypervisor I recommend using the hypervisor. It's a good implementation, don't be so fussy. Take a look here if you want the first option: Disable Hyper-V to run virtualization software - Windows Client | Microsoft Learn[^]

                              H Offline
                              H Offline
                              honey the codewitch
                              wrote on last edited by
                              #18

                              Frankly, anything that gets between me and what I need to do is nonsense as far as I'm concerned, even if it means a "new feature" of Windows I don't intend to use. We all have our standards. That one is mine. Adding: I don't have time to just install operating systems. I have things I need to do. I'm not switching VMs and setting up a new dev environment just to use yet another VM :~ X| . I've had this VM through several windows installs now. Anyway, another commenter showed me how to make VMWare Player go properly under Win11

                              To err is human. Fortune favors the monsters.

                              K 1 Reply Last reply
                              0
                              • H honey the codewitch

                                Frankly, anything that gets between me and what I need to do is nonsense as far as I'm concerned, even if it means a "new feature" of Windows I don't intend to use. We all have our standards. That one is mine. Adding: I don't have time to just install operating systems. I have things I need to do. I'm not switching VMs and setting up a new dev environment just to use yet another VM :~ X| . I've had this VM through several windows installs now. Anyway, another commenter showed me how to make VMWare Player go properly under Win11

                                To err is human. Fortune favors the monsters.

                                K Offline
                                K Offline
                                Kate X257
                                wrote on last edited by
                                #19

                                You do you. I know you know the work to migrate will get bigger the longer you wait.

                                1 Reply Last reply
                                0
                                • H honey the codewitch

                                  I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

                                  To err is human. Fortune favors the monsters.

                                  B Offline
                                  B Offline
                                  Bryan Schuler
                                  wrote on last edited by
                                  #20

                                  Are you sure it's not telling you that you need to go into your computer's BIOS settings and enable the virtualization settings? It'll either be called "Intel Virtualization Technology" or VTT or VT-x or whatever AMD's equivalent is (AMD-V). Also enable VT-d and IOMMU is those are in there as well. Without those, things move a lot slower.

                                  H 1 Reply Last reply
                                  0
                                  • P Paul Sanders the other one

                                    Just shut down the VM and then add the following line to your .vmx file: `ulm.disableMitigations = "TRUE"` That should fix it.

                                    Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.

                                    B Offline
                                    B Offline
                                    Bill S
                                    wrote on last edited by
                                    #21

                                    Just tried that config change and it was amazing the difference it made in startup and performance. Thanks for sharing that!

                                    P 1 Reply Last reply
                                    0
                                    • B Bryan Schuler

                                      Are you sure it's not telling you that you need to go into your computer's BIOS settings and enable the virtualization settings? It'll either be called "Intel Virtualization Technology" or VTT or VT-x or whatever AMD's equivalent is (AMD-V). Also enable VT-d and IOMMU is those are in there as well. Without those, things move a lot slower.

                                      H Offline
                                      H Offline
                                      honey the codewitch
                                      wrote on last edited by
                                      #22

                                      It's enabled.

                                      To err is human. Fortune favors the monsters.

                                      1 Reply Last reply
                                      0
                                      • H honey the codewitch

                                        I've been using linux within VMWare Player because WSL is still using Windows line endings when I try to check in my source (using VS Code w/ Github) The trouble is it's so slow I want to get out and push. It says something about Windows preventing it from using the virtualization acceleration stuff, and that I need to go to advanced settings and enable some feature but VMWare Player doesn't have an Advanced tab - I think the message is for the paid version and they just didn't change it for the free one. Before I go and try any and all VMs out there, has anyone run into this issue and found a VM they can use that doesn't suffer this problem? Thanks in advance. Alternatively I'd take a way to fix the line endings and use WSL but I'm afraid anything I do will impact everything with VS Code, which I also use for local Windows coding.

                                        To err is human. Fortune favors the monsters.

                                        M Offline
                                        M Offline
                                        Member_15503269
                                        wrote on last edited by
                                        #23

                                        I think the problem is that Win 11 has a version of Hyper-V running under the hood, which conflicts with VMWare. Take a look at this link for how to select the virtualization system that Windows will use - Enable virtualization on Windows 11 PCs[^]

                                        1 Reply Last reply
                                        0
                                        • B Bill S

                                          Just tried that config change and it was amazing the difference it made in startup and performance. Thanks for sharing that!

                                          P Offline
                                          P Offline
                                          Paul Sanders the other one
                                          wrote on last edited by
                                          #24

                                          Yes, so was I when I first discovered it.

                                          Paul Sanders. If I had more time, I would have written a shorter letter - Blaise Pascal. Some of my best work is in the undo buffer.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups