Windows 10: Windows Sandbox can't run PowerShell?!?

Discus and support Windows Sandbox can't run PowerShell?!? in Windows 10 Customization to solve the problem; When running in Windows Sandbox I can't run any PowerShell scripts at all. I get an error that states that, "Version v4.0.30319 of the .NET Framework... Discussion in 'Windows 10 Customization' started by sgartner, May 24, 2019.

  1. sgartner Win User

    Windows Sandbox can't run PowerShell?!?


    When running in Windows Sandbox I can't run any PowerShell scripts at all. I get an error that states that, "Version v4.0.30319 of the .NET Framework is not installed and it is required to run version 3 of Windows PowerShell." and I have .net version 4.8.03752 installed on the host machine (and then presumably on the sandbox machine). So far I've found it impossible to reinstall any version of .net 4.0 in the sandbox, I get "Same or higher version of .NET Framework 4 has already been installed on this computer."


    I assume PowerShell is supported in the sandbox? That would be a pretty annoying limitation to not be able to run PowerShell...


    Thanks,

    :)
     
    sgartner, May 24, 2019
    #1

  2. QUESTION: MS Word 2013 - Possible to run PORTABLE + SANDBOXED?


    Dear Members:

    FYI: I have annotated #Bo.Elam notes to improve visual acuity to facilitate my study and implementation.
    I hope these may proves helpful to anyone else interested in these excellent recommendations and instructions from Bo.

    Positively,~ Alan

    P.S. Please forgive excess vertical spacing between paragraphs... does NOT provide WYSWYG formatting control.



    QUESTION: MS Word 2013 - Possible to run PORTABLE + SANDBOXED?

    Post - » 27 Jun 2018 at 03:23 PM

    • Would it be possible to provide explicit instructions as a reference...
    • How to create a dedicated sandbox for Libre

    Post - bo.elam » 27 Jun 2018 at 09:59 PM [annotated by AB]

    • To create a new sandbox
    • go to Sandboxie control>Sandbox>Create new sandbox >
    • in the screen that opens... option to name the new sandbox as you wish.
    • Since this sandbox is going to be your dedicated Libre Office sandbox, name it Libre.
    • You also have the option to either copy settings from existing sandboxes or not to >
    • choose None.


    • The sandbox you created comes with default settings.
    • In a default settings sandbox, all programs that attempt to start and run in the sandbox can run... can have access to the internet... have access to all files and folders in your system.


    • Next step is to restrict what programs are allowed to do in the sandbox.
    • ... new sandbox restrict it as tight as possible without losing any usability... I try to achieve a balance between usability and security and always get it done.
    • So, in the end, I am always able to run programs in the sandbox same as if I was not using Sandboxie... If you set a sandbox correctly, the interaction between sandboxed programs and the non sandboxed environment should be flawless.

    Libre is:

    • very easy to setup to run properly in the sandboxed environment.
    • With a few changes to default settings you can set a very secure sandbox for Libre without losing usability.


    1. Make soffice.bin a Forced program.

    • ... any Office file that runs in the system, will run sandboxed automatically in the Libre Office.
    • It makes sandboxing automatic
    • No thinking required to sandbox files.


    • go to Sandbox settings in your Libre Office sandbox >
    • Sandbox settings>Program Start>Forced programs >
    • click Add program >
    • ... navigate to soffice.bin
    • ... select it and add it >
    • or you can write it in the block there for that purpose.


    2. In this step, you restrict programs that can run.

    • Once you add programs in this restriction tab, this will be the only programs allowed to run in the Libre sandbox.
    • Any other program that attempts to run, it will be blocked.

    For Calc, Writer, Impress, etc, to run in the sandbox, allow:

    • soffice.bin
    • soffice.exe
    • dllhost.exe


    • You really dont have to allow dllhost but for a more seamless interaction between SBIE and the non sandboxed system I recommend you allow it to run.

    So, go here to add the [3] exes I wrote above:

    • Sandbox settings>Restrictions>Start/Run access
    • click Add program
    • select [3] exes


    3. Internet access.
    Since you don't need Office files to have access to the internet and Libre doesnt require it to work properly, for security

    • disallow all programs from having access to the internet.

    • Sandbox settings>Restrictions>Internet access
    • click Block all programs
    • Once you do this, there is no phoning home.


    4. Drop rights. This setting is helpful if you run your system as an Administrator. I do, so I use it.

    • This setting strips Administrator rights from programs running in this sandbox.
    • So, if something malicious gets to run, it can't install anything in the sandboxed environment.
    • Sandbox settings>Restrictions>Drop rights
    • click this option.

    5. Another important setting you want to implement are the ones that help you protect your sensitive files and folders from being stolen.

    • Remember, by default, sandboxed programs can read all files and programs that are in the system.
    • So, you want to block sandboxed programs from accessing your sensitive files and folders.
    • We already disallowed all programs:
      • that run in the Libre sandbox from having internet access
      • restricted to a few the programs allowed to run
      • so even if your personal files and folders are accessed, the chances an infected Office file steals your files and phone home are close to none.
    • But even so, this is a great setting that keeps your files from getting stolen.
      • This setting is more important in sandboxes where you allow access to the internet, like your browsers sandboxes.

    To restrict access to files and folders, go here:


    Sandbox settings>Resource access>File access>Blocked access

    • click Add for navigating to select the files and folders you like to block sandboxed programs from having access/read.


    There are other setting related to access but you can start with the one above.


    6. Set the sandbox to delete on closing sandboxed programs.

    • Sandbox settings>Delete>Delete Invocation
    • tick Automatically delete contents of the sandbox


    7. Saving files you create or Edit in the sandbox.

    • For convenience, you want to be able to save files.
    • ... when you delete contents of the sandbox, the only changes that will survive deletion made by sandboxed programs of the sandbox are the ones you allow.
    • Like for example, an edit you do to an Excel file...
      • if you would like to save that change, you save it.
      • If you dont want to save the change, you dont save it when you get the SBIE prompt to do it after you close sandboxed programs.


    • In my case, I only save Office files to the desktop. So I add Desktop in the tab below.
      • Sandboxie will save files only to the folders you add in Quick recovery:
      • Sandbox settings>Recovery>Quick recovery



    Thank you again, #bo.elam !
     
    ab1kenobee, May 24, 2019
    #2
  3. Windows Sandbox

    Hello

    Today I installed windows 10 1903 feature update using slow insider channel and I enabled the windows sandbox for turn windows features on and off and reboot my system but is still not showing this in my app list is there update problem or hardware limitations?
     
    usmankha_923, May 24, 2019
    #3
  4. Mark Isi Win User

    Windows Sandbox can't run PowerShell?!?

    PowerShell randomly poping-up in tool bar

    Hello,

    Just to verify, do you have any scheduled tasks that uses Powershell? Scheduled tasks makes Powershell window appear periodically on your computer, therefore we suggest that you check the Task Scheduler. Here are the steps:

    • Click on Start.
    • In the search bar, type Task Scheduler and click on

      Task Scheduler
      in the results.
    • Under Active Tasks, check for any tasks that use Powershell and the scheduled time.

    If the issue still persist, we suggest that you run a Windows Defender scan to see if it will pick up any malware that the first scan missed.

    Let us know the outcome.
     
    Mark Isi, May 24, 2019
    #4
Thema:

Windows Sandbox can't run PowerShell?!?

Loading...
  1. Windows Sandbox can't run PowerShell?!? - Similar Threads - Sandbox can't run

  2. I can't run a .exe on the windows 11 sandbox

    in Windows 10 Gaming
    I can't run a .exe on the windows 11 sandbox: So I want to test an .exe to see if it's a virus or if the program really works. So I run Windows Sandbox on Windows 11 and download the .exe but when I run it I have this https://prnt.sc/a-3rMVDmYRAH and when I click yes nothing happens and after that, i found out that i...
  3. I can't run a .exe on the windows 11 sandbox

    in Windows 10 Software and Apps
    I can't run a .exe on the windows 11 sandbox: So I want to test an .exe to see if it's a virus or if the program really works. So I run Windows Sandbox on Windows 11 and download the .exe but when I run it I have this https://prnt.sc/a-3rMVDmYRAH and when I click yes nothing happens and after that, i found out that i...
  4. Windows 10 Enterprise 21H2 19044.1889 - Windows Sandbox can't launch PowerShell due to...

    in Windows 10 Customization
    Windows 10 Enterprise 21H2 19044.1889 - Windows Sandbox can't launch PowerShell due to...: As the title says, I can't launch PowerShell in Windows Sandbox. Window briefly opens and closes.If I run `powershell` in command prompt, I get the following error:"Version v4.0.30319 of the .NET Framework is not installed and it is required to run version 3 of Windows...
  5. Inside Windows Sandbox, how can I run PowerShell or Cmd as a non-administrator?

    in Windows 10 Ask Insider
    Inside Windows Sandbox, how can I run PowerShell or Cmd as a non-administrator?: submitted by /u/krk_computers [link] [comments] https://www.reddit.com/r/Windows10/comments/v0t3pn/inside_windows_sandbox_how_can_i_run_powershell/
  6. Powershell can't run appx commands

    in Windows 10 BSOD Crashes and Debugging
    Powershell can't run appx commands: So a few windows processes are hogging up all my memory and cpu such as the gaming services which I never use I do play Minecraft java But I doubt it uses gaming services. So I wanted to get rid of those. I tried running some appx commands which were given on the forum And...
  7. Powershell can't run appx commands

    in Windows 10 Gaming
    Powershell can't run appx commands: So a few windows processes are hogging up all my memory and cpu such as the gaming services which I never use I do play Minecraft java But I doubt it uses gaming services. So I wanted to get rid of those. I tried running some appx commands which were given on the forum And...
  8. Powershell can't run appx commands

    in Windows 10 Software and Apps
    Powershell can't run appx commands: So a few windows processes are hogging up all my memory and cpu such as the gaming services which I never use I do play Minecraft java But I doubt it uses gaming services. So I wanted to get rid of those. I tried running some appx commands which were given on the forum And...
  9. Run antivirus on Windows Sandbox

    in AntiVirus, Firewalls and System Security
    Run antivirus on Windows Sandbox: I'm trying to test a program with malware for some things, tho I would need to use Windows Defender to scan the whole pc. As the "virus and threat protection" tab doesn't show up I have no way of scanning the sandbox, how could I scan it and if possible, make it that...
  10. I can't run Windows PowerShell

    in Windows 10 Support
    I can't run Windows PowerShell: Hey guys, can you help me? I can't run WIndows Powershell (even as admin or not), it say "C:\Users\ASUS K84L\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk", [img] i try to run via directory and then windows say "This...

Users found this page by searching for:

  1. windows sandbox powershell

    ,
  2. windows sandbox cant run powershell ise

    ,
  3. windows sandbox cant run powershell

    ,
  4. windows sandbox dont show after restart,
  5. powershell in sandbox,
  6. windows sandbox persist,
  7. powershell wont work in sandbox,
  8. powershell doesnt work in sandbox,
  9. Windows Sandbox Version v4.0.30319 of the .NET Framework is not installed and it is required to run version 3 of Windows PowerShell.,
  10. powershell wont run in sandbox,
  11. ms sandbox run powershell