Home  >  Article  >  System Tutorial  >  How to open Windows Sandbox Tips for using PowerShell to open Windows Sandbox in Win11

How to open Windows Sandbox Tips for using PowerShell to open Windows Sandbox in Win11

PHPz
PHPzforward
2024-02-29 09:49:34956browse

php editor Strawberry will introduce to you today how to open Windows Sandbox through PowerShell. Windows Sandbox is a very practical function in Win11 system, which can help users run untrusted applications in an isolated environment and protect system security. With the following simple tips, you can easily turn on Windows Sandbox and make your system more secure and reliable. Next, let’s learn about the specific steps!

What is a sandbox?

Simply put, a sandbox is a closed environment in which software operates and will not cause other harm to the outside world. Win10 also has a built-in sandbox environment for users to use.

The sandbox environment is not only useful for programmers to debug programs. Ordinary users using the sandbox can also give our computers an extra layer of protection.

When we want to verify whether there is a Trojan horse program from a program downloaded from the Internet, we can put it into a sandbox to run. If unfortunately it is infected by a virus, the system will not detect it. Cause real damage.

There are also some malicious software, such as the so-called fast downloader, which can be deleted after downloading, but the downloader usually bundles and installs a bunch of unreasonable items in order to keep the system clean. , can also run in a sandbox. When the sandbox is closed, all bundled installations will disappear.

Minimum system requirements to enable sandboxing on Windows 11

Before enabling sandboxing on Windows 11, you need to ensure these minimum system requirements –

  • You Requires Windows 11/10 Edition – Professional, Enterprise or Education.
  • RAM – At least 4 GB, but 8 GB is recommended.
  • Disk Space – 1 GB of available disk space (SSD recommended).
  • CPU Cores: At least two CPU cores. Recommend "Quad Core Hyper-Threading".
  • BIOS – Enable virtualization features in the BIOS.
  • System Architecture - AMD64

Only proceed with the installation of this feature on your PC if your device meets the minimum system requirements listed above.

Method 1: Open Windows Sandbox with PowerShell

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

1. Press the [Win X] key combination, or [right-click] click [Windows] on the taskbar Logo], in the menu item that opens, select [Run];

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

2. Run the window, enter the [powershell] command, and then press [Ctrl Shift Enter] to manage Open the Windows PowerShell window with administrator privileges;

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

3. User Account Control window, do you want to allow this application to make changes to your device? Click [Yes];

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

4. Administrator: Windows PowerShell window, enter and press Enter to execute the following command: Enable-WindowsOptionalFeature -Online -FeatureName Containers-DisposableClientVM -All Tip: Do you want to restart the computer immediately to complete this operation? Enter [Y] and press Enter.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

5. After restarting the computer, open the Windows Start menu, and among all applications, you can find the [Windows Sandbox] you just installed;

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

Method 2:

1. Press win s to open the search bar, or click on the search bar in the lower left corner, enter control panel, and open it.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

#2. Then click "Program" below.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

#3. Click "Turn Windows features on or off" on the program page.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

#4. Then check "Windows Sandbox" in the pop-up "Windows Features" menu.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

5. Then you need to wait for loading to proceed.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

#6. After the configuration is completed, click "Restart Now".

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

#7. Then you can click on the lower left corner to start and find the "windows sandbox", which is the sandbox.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

#8. Then wait patiently for a few minutes to open it.

如何打开windows沙盒 Win11使用PowerShell打开Windows沙盒的技巧

Method 3:

If you are willing to turn on the sandbox on Windows 11, follow these simple steps –

  • Press Win S to launch the search window.
  • Type "Turn Windows features on or off" in the text field and press Enter.
  • The Windows features will be launched next.
  • Check the box to the left of "Windows Sandbox" and click OK.
  • The Windows function will start looking for the requested file.
  • When finished, click Shut down and restart your PC.
  • Sign in to your device again and this time type "Sandbox" into the Start menu. Click on the top result and the sandbox starts running on your computer.

Enabling sandboxing on Windows 11 gives you a regular Windows desktop environment that you can use to install and run untrusted applications on your PC. When Windows Sandbox is enabled, these untrusted applications will not affect your current Windows installation.

Note: When you close the Sandbox window, it deletes all data, installed applications, etc. Therefore, your device will not have any data or anything related to the program.

What is a sandbox and how does it work?

Windows Sandbox is a security tool on Windows 11 that allows even untrusted applications to be installed on your computer. When you enable this feature, you get a secure and isolated desktop environment where your device can safely install untested or untrusted programs. Since this is an isolated environment, no damage will be done to your existing system image.

If this tool detects malicious code or infected files, it will proactively delete them. By default, this will provide the following security measures –

  • Proactively monitor for malware threats. A great tool to test untrusted software sources or those that have recently entered the market.
  • If you are a developer and are working on a project, you can use Sandbox to test for possible vulnerabilities before the project goes live.
  • Every time you run Windows Sandbox, it's as clean as a fresh installation of Windows.
  • Using this tool, you don't need to download any VHD.
  • This does not store any data from the applications you run on this tool.
  • It uses integrated kernel scheduler, intelligent memory management and virtual GPU.

I hope you are now able to activate Sandbox on your Windows 11 PC.

The above is the detailed content of How to open Windows Sandbox Tips for using PowerShell to open Windows Sandbox in Win11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete