Windows 10: Is there a way to configure VBS in Windows 11 through wsl2?

Discus and support Is there a way to configure VBS in Windows 11 through wsl2? in Windows 10 Gaming to solve the problem; I'm looking for a way to configure virtualization-based security on windows 11. I'm running a laptop with 16 GB of memory, and I see through msinfo32... Discussion in 'Windows 10 Gaming' started by CRO34, Aug 27, 2022.

  1. CRO34 Win User

    Is there a way to configure VBS in Windows 11 through wsl2?


    I'm looking for a way to configure virtualization-based security on windows 11. I'm running a laptop with 16 GB of memory, and I see through msinfo32 that I only have 6.59 GB of physical memory available, and I suspect that VBS is the culprit since it is running, and I know that it uses a portion of a system's memory to run. From my reading I've gathered that you're supposed to configure it through a virtual machine, which is what wsl2 is, but I can't find a way to actually do so. My ideal configuration would be to dedicate 4 GB for VBS, leaving 12 available for the host system. Is this possib

    :)
     
    CRO34, Aug 27, 2022
    #1
  2. Flaviu2 Win User

    WSL2 for windows

    I have failed into installing WSL for Windows. I have read here: https://docs.microsoft.com/en-us/win.../install-win10 how to do it, and at step 4:


    1. Download the latest package:
      [COLOR=var(--text)][COLOR=var(--info-dark)] Note[/COLOR]
      If you're using an ARM64 machine, please download the ARM64 package instead. If you're not sure what kind of machine you have, open Command Prompt or PowerShell and enter: systeminfo | find "System Type".
      [/COLOR]
    2. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

    I encountered:


    Is there a way to configure VBS in Windows 11 through wsl2? [​IMG]


    and


    Is there a way to configure VBS in Windows 11 through wsl2? [​IMG]


    What I did wrong ? I have the following W10 version:

    Is there a way to configure VBS in Windows 11 through wsl2? [​IMG]


    Another question: am I in the the right forum ?
     
    Flaviu2, Aug 27, 2022
    #2
  3. VBS Msgbox

    Denis,

    • I was too lazy to compute the size programmatically. And, it the 2005 version the message box always came up hidden, so I always used 0 for the top. It's also part of my OCD to be able to control everything.
    • I personally don't need it to timeout. I used this in vbs files to ask to continue to the next step, skip the next step or cancel the vbs. BTW, I added the code back in but keep it assign it to 0.
    • Sound was calling Windows Media Player: WshShell.Run "C:\Users\donast\desktop\sndrec32.lnk",7,false the lnk is a shortcut on my old desktop that had: "C:\Program Files (x86)\Windows Media Player\wmplayer.exe"
      "C:\Users\Public\Music\Wavefiles\Twilight.wav"
    • Yes. The value is the number of the button in the order specified when calling it.
    • Never really thought about it as all my VBS/VBA code is relatively simple and I add comments in the file as necessary to remind me what is going on. I don't usually have anyone to share my code.
    FYI I use a VBS to call it. Here's a line from a test vbs I use to run your version:

    choice=Wshshell.run("custommsgbox.vbs " & wscript.scriptname & " ""CopyFiles.vbs done. Continue with UnArchVista.vbs?"" ""White"" ""Black"" 40 ""Yes"" ""No"" ""Cancel""",1,true)

    Copy it to a text editor to see all the spaces, etc. Took me a while back the to figure it out.

    Don
     
    DRARetired, Aug 27, 2022
    #3
  4. Solaris17 Win User

    Is there a way to configure VBS in Windows 11 through wsl2?

    is there any demand for a system configurator?

    Processor(V) <--drop down arrow
    -AMD(V)
    --Socket(V)
    ---AM2(V)
    ----List of cpu's
    ---939(V)
    ----List of CPU's
    -Intel(V)
    --Socket(V)
    ---775(V)
    ----List of cpu's
    ---771(V)
    ----List of CPU's


    etc etc.
     
    Solaris17, Aug 27, 2022
    #4
Thema:

Is there a way to configure VBS in Windows 11 through wsl2?

Loading...
  1. Is there a way to configure VBS in Windows 11 through wsl2? - Similar Threads - configure VBS through

  2. Credential Guard and/or VBS Key Isolation are configured but the secure kernel is not...

    in Windows 10 Gaming
    Credential Guard and/or VBS Key Isolation are configured but the secure kernel is not...: My Windows Version22H2OS Build 22621.2213, and this system i install newer update .Hello, thanks to read my Question.To be clearly, i didn't change any settings and it just popup in my event viewer every time. And the next message are bunch of LSA Warning with diffrent...
  3. Credential Guard and/or VBS Key Isolation are configured but the secure kernel is not...

    in Windows 10 Software and Apps
    Credential Guard and/or VBS Key Isolation are configured but the secure kernel is not...: My Windows Version22H2OS Build 22621.2213, and this system i install newer update .Hello, thanks to read my Question.To be clearly, i didn't change any settings and it just popup in my event viewer every time. And the next message are bunch of LSA Warning with diffrent...
  4. Windows 11 EVENT 15 Credential Guard and/or VBS Key Isolation are configured but the...

    in Windows 10 Gaming
    Windows 11 EVENT 15 Credential Guard and/or VBS Key Isolation are configured but the...: Hello.This error has occurred even on a fresh install of Windows 11, I cannot seem to fix this. Seems there is no solution online apart from disabling the log from Event Viewer.Now this is what's strange here, this is on Windows 11 Pro and apparently only the Enterprise...
  5. Windows 11 EVENT 15 Credential Guard and/or VBS Key Isolation are configured but the...

    in Windows 10 Software and Apps
    Windows 11 EVENT 15 Credential Guard and/or VBS Key Isolation are configured but the...: Hello.This error has occurred even on a fresh install of Windows 11, I cannot seem to fix this. Seems there is no solution online apart from disabling the log from Event Viewer.Now this is what's strange here, this is on Windows 11 Pro and apparently only the Enterprise...
  6. Is there a way to configure VBS in Windows 11 through wsl2?

    in Windows 10 Software and Apps
    Is there a way to configure VBS in Windows 11 through wsl2?: I'm looking for a way to configure virtualization-based security on windows 11. I'm running a laptop with 16 GB of memory, and I see through msinfo32 that I only have 6.59 GB of physical memory available, and I suspect that VBS is the culprit since it is running, and I know...
  7. Is there a way to activate WSL2 on 2019

    in Windows 10 Customization
    Is there a way to activate WSL2 on 2019: I'm trying to enable Wsl2 on my Home Server to load my containers onto instead of relying on Hyper-V containers. Is there a workaround to upgrading to Wsl2 on the following build without resorting to re-imaging to a Windows Insider Preview channel. Microsoft Windows Server...
  8. Is there any way to mount a WSL2 folder in windows?

    in Windows 10 Ask Insider
    Is there any way to mount a WSL2 folder in windows?: Currently our developers are using Docker with Hyper-V and they have a folder with the code where its shared to hyper-v, so they can navigate to that folder and do whatever they want with explorer but on WSL2 the only way to interact to that folder is to either rely on VSCode...
  9. How to install Zorin OS through WSL2?

    in Windows 10 Software and Apps
    How to install Zorin OS through WSL2?: I'm using Windows 10 Home ver 1909 with Windows Insider Program and WSL 2 enabled. Currently I'm running the latest Unubtu from the Microsoft store through WSL2. I'd like to get Zorin OS with a graphical desktop environment installed but it's not in the Microsoft store. I did...
  10. How to install Zorin OS through WSL2?

    in Windows 10 Support
    How to install Zorin OS through WSL2?: I'm using Windows 10 Home ver 1909 with Windows Insider Program and WSL 2 enabled. Currently I'm running the latest Unubtu from the Microsoft store through WSL2. I'd like to get Zorin OS with a graphical desktop environment installed but it's not in the Microsoft store. I did...