<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Environment &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/environment/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Sat, 17 Jan 2026 23:36:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>Environment &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to use CMD environment variables in Windows</title>
		<link>https://en.anonyviet.com/how-to-use-cmd-environment-variables-in-windows/</link>
					<comments>https://en.anonyviet.com/how-to-use-cmd-environment-variables-in-windows/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sat, 17 Jan 2026 23:36:22 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[CMD]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=21190</guid>

					<description><![CDATA[You can easily add or modify an environment variable with Command Prompt (CMD)but removing this variable is much more complicated. So in this article, I will guide you to do that. Join the channel Telegram belong to AnonyViet 👉 Link 👈 How to add or modify environment variables First, you need to launch Command Prompt [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div id="ftwp-postcontent">
<p>You can easily add or modify an environment variable with <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fhuong-dan-lam-quen-cmd-co-ban-cho-nguoi-moi%2F" class="local-link">Command Prompt (CMD)</a>but removing this variable is much more complicated. So in this article, I will guide you to do that.</p>
<div align="center">
<table class="aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"> <span style="font-size: 12pt;"> <strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">AnonyViet</span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietoffical" target="_blank" class="local-link">Link</a></span>  👈</strong> </span> </td>
</tr>
</tbody>
</table>
</div>
<p><img post-id="21190" fifu-featured="1" fetchpriority="high" decoding="async" class="aligncenter wp-image-40870 size-full" src="https://anonyviet.com/wp-content/uploads/2022/04/windows-11-and-10.jpg" alt="How to use CMD environment variables in Windows" title="How to use CMD environment variables in Windows" width="600" height="338" title="How to use CMD environment variables in Windows 13" srcset="https://anonyviet.com/wp-content/uploads/2022/04/windows-11-and-10.jpg 600w, https://anonyviet.com/wp-content/uploads/2022/04/windows-11-and-10-300x169.jpg 300w" sizes="(max-width: 600px) 100vw, 600px"/></p>
<h2 id="ftoc-cach-them-hoac-sua-doi-bien-moi-truong" class="ftwp-heading">How to add or modify environment variables</h2>
<p>First, you need to launch Command Prompt or CMD as an administrator. Click Start, enter “cmd” in the search box, then click “Run as Administrator”.</p>
<p><img decoding="async" class="size-full wp-image-40871 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/click-run-as-administrator-2.jpg" alt="How to use CMD environment variables in Windows 12" width="356" height="334" title="How to use CMD environment variables in Windows 14" srcset="https://anonyviet.com/wp-content/uploads/2022/04/click-run-as-administrator-2.jpg 356w, https://anonyviet.com/wp-content/uploads/2022/04/click-run-as-administrator-2-300x281.jpg 300w" sizes="(max-width: 356px) 100vw, 356px"/></p>
<blockquote>
<p>Note: Any user environment variable can be set or modified in a regular Command Prompt window, but changing system-wide environment variables requires an elevated Command Prompt.</p>
</blockquote>
<p>There are two different ways to set environment variables.</p>
<h3 id="ftoc-dat-bien-moi-truong-tam-thoi" class="ftwp-heading">Set temporary environment variables</h3>
<p>First use the set command. Set is used to define a temporary environment variable – in other words, the variable is only active in the window you have open or the script that contains it.</p>
<p>Here is an example: Suppose you want to create an environment variable named LifeAnswerVar and set the value to 42. The command would be <code>set LifeAnswerVar=42</code>.</p>
<p>While that window is open, LifeAnswerVar will have the value 42.</p>
<p><img decoding="async" class="size-full wp-image-40872 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/SetLifeVar.jpg" alt="How to use CMD environment variables in Windows 13" width="549" height="284" title="How to use CMD environment variables in Windows 15" srcset="https://anonyviet.com/wp-content/uploads/2022/04/SetLifeVar.jpg 549w, https://anonyviet.com/wp-content/uploads/2022/04/SetLifeVar-300x155.jpg 300w" sizes="(max-width: 549px) 100vw, 549px"/></p>
<p>When the window is closed, the environment variable and its value are cleared.</p>
<p><img decoding="async" class="size-full wp-image-40873 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/lifevarnotdefined.jpg" alt="How to use CMD environment variables in Windows 14" width="576" height="292" title="How to use CMD environment variables in Windows 16" srcset="https://anonyviet.com/wp-content/uploads/2022/04/lifevarnotdefined.jpg 576w, https://anonyviet.com/wp-content/uploads/2022/04/lifevarnotdefined-300x152.jpg 300w" sizes="(max-width: 576px) 100vw, 576px"/></p>
<p>The same method will work if you want to temporarily modify an existing Windows system variable. All you need to do is substitute the system variable you want to change in place of LifeAnswerVar and the value you want to specify as number 42.</p>
<p>For example, if you want to move the TMP folder to C:\Example, you must enter <code>set TMP=C:\"Example Folder"</code>.</p>
<p><img decoding="async" class="size-full wp-image-40874 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/tmp-moved.jpg" alt="How to use CMD environment variables in Windows 15" width="585" height="285" title="How to use CMD environment variables in Windows 17" srcset="https://anonyviet.com/wp-content/uploads/2022/04/tmp-moved.jpg 585w, https://anonyviet.com/wp-content/uploads/2022/04/tmp-moved-300x146.jpg 300w" sizes="(max-width: 585px) 100vw, 585px"/></p>
<p>first line, <code>set TMP</code>displays the current value of TMP. The second line assigns TMP a new value. The third line confirms that the value has changed.</p>
<h3 id="ftoc-thiet-lap-mot-bien-moi-truong-vinh-vien" class="ftwp-heading">Set a permanent environment variable</h3>
<p>The second way is to use setx. Setx defines permanent Windows environment variables. They exist between windows and between reboots, and are written to the Windows Registry. These environment variables can be defined for a specific user, or they can be defined for system-wide use.</p>
<p>Command <code>setx ExVar1 Tomato /m</code> will create a new environment variable named ExVar1 and assign the value “Tomato” to it. The /m argument specifies that the new variable must be applied system-wide, not just to the current user.</p>
<p><img decoding="async" class="size-full wp-image-40875 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/exvardefined.jpg" alt="How to use CMD environment variables in Windows 16" width="578" height="303" title="How to use CMD environment variables in Windows 18" srcset="https://anonyviet.com/wp-content/uploads/2022/04/exvardefined.jpg 578w, https://anonyviet.com/wp-content/uploads/2022/04/exvardefined-300x157.jpg 300w" sizes="(max-width: 578px) 100vw, 578px"/></p>
<p>Use the same command above to modify an existing environment variable, substituting ExVar1 for the name of the variable you want to change.</p>
<blockquote>
<p>Note: If you use setx to modify a variable and set to view the value of the variable, set will not display the appropriate value until a new Command Prompt window is opened.</p>
</blockquote>
<p>If you want to add or modify a user environment variable, simply omit the /m parameter from the command.</p>
<h2 id="ftoc-cach-xoa-mot-bien-moi-truong" class="ftwp-heading">How to delete an environment variable</h2>
<p>Deleting environment variables is a bit more difficult than adding or modifying them.</p>
<blockquote>
<p>Note: As with adding variables, any user environment variable can be deleted in a regular Command Prompt window, but system-wide deletion of environment variables requires an elevated Command Prompt.</p>
</blockquote>
<h3 id="ftoc-xoa-tam-thoi-mot-bien-moi-truong" class="ftwp-heading">Temporarily delete an environment variable</h3>
<p>If you want to temporarily remove an environment variable for the current process, such as a script, a PowerShell window, or a Command Prompt window, you can use the set command. All you need to do is assign no value to the variable.</p>
<p>For example, what happens if you define a variable <code>ExVar1=Tomato</code> in system-wide environment variables, but want to ignore it for a specific process? You can enter <code>set ExVar1= </code>Go to Command Prompt or include that line in your script. The variable will be set to zero while the script executes or until you open a new Command Prompt window.</p>
<p><img decoding="async" class="size-full wp-image-40876 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/TemporaryRemoval.jpg" alt="How to use CMD environment variables in Windows 17" width="576" height="298" title="How to use CMD environment variables in Windows 19" srcset="https://anonyviet.com/wp-content/uploads/2022/04/TemporaryRemoval.jpg 576w, https://anonyviet.com/wp-content/uploads/2022/04/TemporaryRemoval-300x155.jpg 300w" sizes="(max-width: 576px) 100vw, 576px"/></p>
<h3 id="ftoc-xoa-vinh-vien-mot-bien-moi-truong" class="ftwp-heading">Permanently delete an environment variable</h3>
<p>Permanently deleting an environment variable is a bit more complicated – you have to use reg to do it.</p>
<blockquote>
<p>Warning: Reg is the command line version of <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.dienmayxanh.com%2Fkinh-nghiem-hay%2Fwindows-registry-la-gi-dung-ra-sao-luu-y-khi-chi-1246922%23%3A%7E%3Atext%3DRegistry%2520l%25C3%25A0%2520m%25E1%25BB%2599t%2520c%25C6%25A1%2520s%25E1%25BB%259F%2Cnhi%25E1%25BB%2581u%2520th%25C3%25B4ng%2520tin%2520kh%25C3%25A1c%2520n%25E1%25BB%25AFa." rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Registry Editor</a>. You should proceed with caution – a typo could lead to you accidentally deleting important content. It is essential to back up the Registry you are editing before making changes.</p>
</blockquote>
<p>Environment variables for individual users are stored in HKEY_CURRENT_USER\Environment. System-wide environment variables are stored elsewhere, in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment.</p>
<p>Let&#8217;s use an example <code>ExVar1=Tomato</code>. The ExVar1 environment variable has been defined system-wide, which means it is located in the HKEY_LOCAL_MACHINE folder instead of the HKEY_CURRENT_USER folder. Specifically, the path to the subkey is:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\ExVar1</p>
<blockquote>
<p>Note: This path contains a space. Any time there are spaces in a path entered in the command line interface, you must use double quotes, otherwise it will most likely not execute correctly.</p>
</blockquote>
<p>Now we need to use the delete reg command to remove it. Remember that you will need to substitute your variable name for ExVar1 in the command below.</p>
<p><code>reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\" /f /v ExVar1</code></p>
<p>I will explain each one one by one:</p>
<ul>
<li>reg delete — identifies the application (reg) and command (delete) we are using</li>
<li><code>"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\"</code>  — Tells reg where to find the key</li>
<li>/f — Delete without confirmation</li>
<li>/v — Delete subkey</li>
<li>ExVar1 — The name of the subkey we want to delete</li>
</ul>
<p>Deleting an environment variable for an individual user is exactly the same as deleting a system-wide variable, except the path will be different. If ExVar1 was a user environment variable, the command to clear it would be:</p>
<p><code>reg delete HKEY_CURRENT_USER\Environment /f /v ExVar1</code></p>
<p>If the command to delete environment variables is successful, you will see “The operation completed successfully” in Command Prompt.</p>
<p><img decoding="async" class="size-full wp-image-40877 aligncenter" src="https://anonyviet.com/wp-content/uploads/2022/04/removedpermanently.jpg" alt="How to use CMD environment variables in Windows 18" width="650" height="223" title="How to use CMD environment variables in Windows 20" srcset="https://anonyviet.com/wp-content/uploads/2022/04/removedpermanently.jpg 650w, https://anonyviet.com/wp-content/uploads/2022/04/removedpermanently-300x103.jpg 300w" sizes="(max-width: 650px) 100vw, 650px"/></p>
<p>Any time you delete an environment variable like this, you also need to restart explorer.exe. You can restart Explorer.exe manually, or you can just restart your entire computer. Changes will take effect immediately after reboot.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-use-cmd-environment-variables-in-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2022/04/windows-11-and-10.jpg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to activate Windows SandBox to create a virtual environment on Windows 10</title>
		<link>https://en.anonyviet.com/how-to-activate-windows-sandbox-to-create-a-virtual-environment-on-windows-10/</link>
					<comments>https://en.anonyviet.com/how-to-activate-windows-sandbox-to-create-a-virtual-environment-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Sat, 04 Feb 2023 22:25:18 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[activate]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Sandbox]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=9414</guid>

					<description><![CDATA[How many times have you downloaded a file but dared not run it because of the virus? You want to install a virtual machine but don&#8217;t want to install VMWare or Hyper V. Since Windows 10 build 18305, Microsoft has integrated Windows Sandbox to create a virtual test environment for users. Join the channel Telegram [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>How many times have you downloaded a file but dared not run it because of the virus?  You want to install a virtual machine but don&#8217;t want to install VMWare or Hyper V. Since Windows 10 build 18305, Microsoft has integrated Windows Sandbox to create a virtual test environment for users.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> belong to <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>This feature has the basic function of <strong>virtual machine</strong>.  Applications installed and running on Windows Sandbox will not affect the hard drive nor the operation of Windows.  Windows Sandbox can check for active applications that interfere with and disrupt the operation of the operating system.  This helps protect you, and makes the decision whether to run in the real operating system.  Besides, help you enhance information protection when surfing the web.</p>
<p><strong>Common examples</strong> is when you download Keygen or Path from the Internet.  You just need to Copy the Keygen into the SandBox to get the Key and then turn off the SandBox.  If Keygen has a virus attached, Windows will not be affected</p>
<h2 id="ftoc-windows-sandbox-co-cac-tinh-nang-co-ban-sau" class="ftwp-heading">Windows Sandbox has the following basic features:</h2>
<ul>
<li><strong>As part of Windows:</strong> has all the basic features of Windows 10 Pro and Enterprise.  You do not need to use additional VHD.</li>
<li><strong>Pristine: </strong>Windows Sandbox works independently of the operating system.  You have one more virtual Windows 10 in the real Windows 10.</li>
<li><strong>Single use:</strong> when closing the app in Sanbbox everything is wiped clean.</li>
<li><strong>Doesn&#8217;t take up a lot of resources: </strong>hardware-based virtualization for kernel isolation, Microsoft-based hypervisor to run a separate kernel, isolating Windows Sandbox from the real machine.</li>
<li><strong>Effective:</strong> integrated kernel, intelligent memory management and virtual GPU.</li>
</ul>
<h2 id="ftoc-cau-hinh-can-thiet-de-co-the-dung-duoc-windows-sandbox" class="ftwp-heading">Configuration required to be able to use Windows Sandbox</h2>
<ul>
<li>Windows 10 Pro or Enterprise Insider build 18305 or later</li>
<li>AMD64 . Architecture</li>
<li>Virtualization enabled in BIOS</li>
<li>At least 4GB RAM (8GB recommended)</li>
<li>At least 1 GB of free disk space (SSD recommended)</li>
<li>At least 2 CPU cores (4 cores recommended with hyperthreading)</li>
</ul>
<h2 id="ftoc-cach-kich-hoat-tinh-nang-sandbox-tao-moi-truong-kiem-thu-tren-windows-10" class="ftwp-heading">How to enable the SandBox feature to create a test environment on Windows 10</h2>
<p>To check your BIOS is eligible to use udjng Windows SandBox, you need to open <strong>Task Manager</strong> up (Ctrl+Shift+Esc).  Select tab <strong>Performance</strong>.  You look below if you see <em>Virtualization: Enabled</em> Windows has support.  If disabled, please open in BIOS.</p>
<p><img decoding="async" class="aligncenter" src="https://lh3.googleusercontent.com/Bq8pehm2HRmUAIymJS-i48eraNmlw4KuTfAuK7Ol3i6ScCR5F_4YVPccvoqRtr8LvaIXyhmCqbFV0LiDKkm3FD7xlRH66LZJTnW3JXMP09__dsyqc6DxIkx4ZACB3QuIvVFccSdzUJOEnUCa5r9wZUU1IStEUl9C5wcWxrXsfnWvnH2EIn4GSdSlh6Ed6e1VFCtASJzke1QAsVTSpVBNKbpzN40Zs5J9ri9HYJYHLek3y94N2BMC6-mgopgozbZCQRYzepyv3LO096aUNFhhhi9OZLLMjYJB9zYIPrRAA34rHJvMAGR13_nRVm1JEpXaQHJMg244xoqCAXnb5S-M-snPOZGl3SU-lNIXaY8x8rF_szvg3i0NiZ_JnSmqgE6G_JY8tthscbGwyluz270lrdCJZKy1F-I3MoffEw5XQMjVbkyy9AX8mPzIrFI03RBdBc5wxC7u4gShsPKeOem2uDO7mY5d6eQ11Yej5lmfj65IxHC41Syi6xBdXVUqm4okC-k9FLPj8PZmIE66t8PR148Rlmvzc7wEqSQyJlxf0fds1dmSy3GT2VL6qmaxLGxd2F6XI1WqfiIukyW38x4QTUw9tG4FGLWwwDPIBDfxHtBFkyHqdxpcNZOVfwXakX5Gpx7qnSC15skbi6LNT0raNPCOtsrBWKc=w1000-no-tmp.jpg" alt="How to activate Windows SandBox to create a virtual environment on Windows 10 5" title="How to activate Windows SandBox to create a virtual environment on Windows 10 8"/></p>
<p>The next step, you open the Control Panel (<a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fhuong-dan-dua-control-panel-vao-menu-windows-x-tren-windows-10%2F" rel="noopener noreferrer" class="local-link">instruct</a>) <em> > Programs > Turn Windows Features On or Off. </em>Scroll down <strong>check</strong> enter <strong>Windows Sandbox</strong>.  Select OK and restart Windows</p>
<p><img decoding="async" class="aligncenter" src="https://lh3.googleusercontent.com/OhgifmqN57QwX6EUPxvme8u2ZaUMDcU8Hexe7mo0_5dv0EJzPEKC5HcHNU2a8qfg9BER-s-6fbFFeDxmTp8XrKn22lTWuxeiJTNIs5FgyCTYlkShsTaPPPYQXhap4MiaXVXgS0eim7GK79xL3iZKmIGtASbNvuudxECsHEvjVyGHGgOSF3zEaM0vfdm1B8iF1VGzbGBPyYJ2DENdjRe0sTV18SRmsZyTIXPcrzKfPydV06x2b9lc7J4oFtz-Sg82AxGMPNhQYCSf6-KWuR-c2GprIEYsMqi40Bf-a7plf8dAxfEG5AyNsfPP7fHPNxs1WB6Rol1ZAa7CITqA3BaMpdzfzVmZlmVSzHtkIfPMsN9RTcw2hXTWstt1u9WgDzULcLjCcqN0-vfF2phPqB3vdV-NqBAYUuLadfyqRex1ve0U76LP_FGDv_ErvSp1fC7hMYca9UySMJRoj6afq1Id1c0k6BxIPQ-14rBWmTK5QvDOiAsfCx-AgDflaLjo2Zmp0yEG0YK75qTwoWMU7kzeIR75gbAWAtckS5jqLjEPR5Pb9Vvw-u-w26eMbFhRvNTMKXXlIJduWsWfY9vOhuEZgp_IrPA1lltzLM_3awH0gAU-shJZcibetab5LOOT_qvKEURQvyjxRMEaYZKIQfOXwMXDys_Majw=w1000-no-tmp.jpg" alt="How to activate Windows SandBox to create a virtual environment on Windows 10 6" title="How to activate Windows SandBox to create a virtual environment on Windows 10 9"/></p>
<p>After restarting Windows, click on the . button <strong>Start</strong> (or the Windows key on the keyboard) type <strong>Sandbox</strong>, and click on the Sandbox icon to launch.  You may be required to enter Administrator rights to operate.</p>
<p><img decoding="async" src="https://lh3.googleusercontent.com/ZVk3enkOc0ZqdGeKLEyBtKeeRWOlAoEWy_SRkGvEH7JnX5bbBOrt_WvG0FzjanmLeFLRHfAr6SEgbZd4MWvE2ydXGn4PaOCQKbaHHC4O2onB5bb2AdrGi8cX1i_Ts0n2wnb_SUPr1gTOdnywG7Cyom3EK9w9jou2rUxUaaEeqO05u3Y8WdJtgJnCsm2TPChtQSeeL8EO9CrgzS_H4j9XBVMT1fm9-VsYEoOOFZIMCRuPq8dcZBBr6IUlms7cTiszekUGWUKKiKZaxNY8fQTWr391o_4jr0ZWUGTu-7AO9eEIwopqGdeQl-PGayoM378zc8or9evYhi_i3mPnSYEMyM6MkjyPSLtQaKh9T5ZmdGUd6Y0MlBddscBmbtQ3BZ8abLHqhKZig7OnprtorOB-ZO4CHOIkdUISfF_PQSrhzvf_rvmnTGTv6VgGLOlg2hTss1JhSOSjpU9D_zKV-pCCygnKXB02-cMq9y-mxecA8Mh7fmAP-rb4wwARQiSjKfwR5VuAO5mCv8Ri_706fFAG50bs9XlYV3K6qJ2KBVVOV7O8rBJrIY0XR-hUEk2Taif8GF0G291SDprUWRNG7zvOSWXhcKUaGUuRuvgUaWmQJnsUYOkDrtJ98VUzm9R3vC61n_B0-SzI7B-3_kqNIpDuRyXMIU8ulHE=w1000-no-tmp.jpg" alt="How to activate Windows SandBox to create a virtual environment on Windows 10 7" title="How to activate Windows SandBox to create a virtual environment on Windows 10 10"/></p>
<p>Now, you Copy the files suspected to be Viruses, or the software you want to test into SandBox&#8217;s virtual machine and run them.  If there is a virus, the real Windows will not be infected.  In that case you just need to restart the SandBox and everything will be restored to the way it was.</p>
<p>You can see more <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FWindows-Kernel-Internals%2FWindows-Sandbox%2Fba-p%2F301849" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">details at Microsoft</a>.  Or you can use <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Ftao-moi-truong-sandbox-voi-sandboxie%2F" rel="noopener noreferrer" class="local-link">Sandboxie</a> to create a second SandBox environment.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;13884&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-activate-windows-sandbox-to-create-a-virtual-environment-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2019/02/Windows-Sandbox-Screenshot-open.jpeg" medium="image"></media:content>
            	</item>
		<item>
		<title>Sandboxie 5.31.4 Full &#8211; Create a Sandbox environment with to test viruses</title>
		<link>https://en.anonyviet.com/sandboxie-5-31-4-full-create-a-sandbox-environment-with-to-test-viruses/</link>
					<comments>https://en.anonyviet.com/sandboxie-5-31-4-full-create-a-sandbox-environment-with-to-test-viruses/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Wed, 01 Feb 2023 18:49:31 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[5.31.4]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Full]]></category>
		<category><![CDATA[Sandbox]]></category>
		<category><![CDATA[Sandboxie]]></category>
		<category><![CDATA[Test]]></category>
		<category><![CDATA[viruses]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=8022</guid>

					<description><![CDATA[Sandbox is a container, often used to test software before it is put to use on a real machine. Sandbox can be understood as a miniature virtual machine. Before installing or running a program that you suspect is a virus, you can run that program in the Sandbox first for testing. And Sandboxie software will [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p style="text-align: justify;"><strong>Sandbox is a container, often used to test software before it is put to use on a real machine.  Sandbox can be understood as a miniature virtual machine.  Before installing or running a program that you suspect is a virus, you can run that program in the Sandbox first for testing.  And Sandboxie software will help you create that Sandbox environment.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2018%2F09%2FSandboxie-1.png" rel="noopener" class="local-link"><img post-id="8022" fifu-featured="1" decoding="async" class="aligncenter size-full wp-image-11284" src="https://anonyviet.com/wp-content/uploads/2018/09/Sandboxie-1.png" alt="Sandboxie 5.31.4 Full &#8211; Create a Sandbox environment with to test viruses" title="Sandboxie 5.31.4 Full &#8211; Create a Sandbox environment with to test viruses" width="541" height="423" srcset="https://anonyviet.com/wp-content/uploads/2018/09/Sandboxie-1.png 541w, https://anonyviet.com/wp-content/uploads/2018/09/Sandboxie-1-300x235.png 300w" sizes="(max-width: 541px) 100vw, 541px" title="Sandboxie 5.31.4 Full - Create a Sandbox environment with 9 . Virus Test"/></a></p>
<h2 id="ftoc-moi-truong-sandbox-la-gi" class="ftwp-heading">What is a Sandbox environment?</h2>
<p>Sandboxes are often built into Antivirus programs.  But if you don&#8217;t have Antivirus installed, you can use <strong>Sandboxie</strong>.  With 3 main features:</p>
<ul>
<li>Keep your Windows system safe.</li>
<li>Eliminate Web surfing traces, or program startup logs.</li>
<li>Perform software testing (even high risks of viruses, trojans, malware, etc.).</li>
</ul>
<p style="text-align: justify;">Although conceptually similar to <span style="color: #3366ff;">“software freezes”</span>but in fact, there is a big difference between these 2 software:<span style="color: #3366ff;"> “software freezes”</span> is to protect the entire system, while <strong>Sandboxie</strong> protect a small part of the system.  Sandbox is more convenient and effective when it comes to testing.  In other words, <strong>Sandboxie</strong> is to make a program rather than the entire operating system) run in a “sandbox”.  In particular, this software also allows users to protect the entire system, just like using <span style="color: #3366ff;">“software freezes”</span>.</p>
<p style="text-align: justify;"><span style="color: #000000;"><span class="">Currently there are 4 types <em>High Integrity Protective Systems</em> common (High integrity protection system).  Applications that function like Sandbox.  Listed by total rating (inauthoritative): DefenseWall, GeSWall, BUFFERZONE and Sandboxie, respectively. </span>Among them, Sandboxie is one of the most popular software.  GeSWall is only slightly worse in system resource consumption than DefenseWall.</span></p>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2018%2F09%2FSandboxie-2.gif" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter wp-image-11282 size-full" src="https://anonyviet.com/wp-content/uploads/2018/09/Sandboxie-2.gif" alt="Sandboxie create sandbox" width="444" height="283" title="Sandboxie 5.31.4 Full - Create a Sandbox environment with to test viruses 10"/></a></p>
<p><img decoding="async" class="aligncenter" src="https://www.sandboxie.com/images/FrontPage/FrontPageLegend.png" alt="Sandboxie 5.31.4 Full - Create a Sandbox environment with to test viruses 4" title="Sandboxie 5.31.4 Full - Create Sandbox environment with to Test virus 11"/></p>
<h2 id="ftoc-cac-tinh-nang-cua-sandboxie" class="ftwp-heading">Features of Sandboxie</h2>
<p><strong>Sandboxie</strong> uses isolation technology to separate programs from the operating system.  Prevent unwanted changes to your personal data, applications on the hard drive.</p>
<h3 id="ftoc-duyet-web" class="ftwp-heading">Browsing</h3>
<p>Protect your web browser and block malware and viruses.  Threats = 0, by isolating attacks in Sandbox.</p>
<h3 id="ftoc-e-mail" class="ftwp-heading">Email</h3>
<p>Run your favorite email program in Sandboxie so you never have to worry about suspicious attachments or phishing attacks.</p>
<h3 id="ftoc-bao-ve-du-lieu" class="ftwp-heading">Data Protection</h3>
<p>Prevent websites and internet programs from modifying your personal data.</p>
<h3 id="ftoc-thu-nghiem-ung-dung" class="ftwp-heading">Application testing</h3>
<p><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fwp-content%2Fuploads%2F2018%2F09%2Fsandboxie_control.png" rel="noopener" class="local-link"><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-11287" src="https://anonyviet.com/wp-content/uploads/2018/09/sandboxie_control.png" alt="sandbox" width="610" height="435" srcset="https://anonyviet.com/wp-content/uploads/2018/09/sandboxie_control.png 610w, https://anonyviet.com/wp-content/uploads/2018/09/sandboxie_control-300x214.png 300w, https://anonyviet.com/wp-content/uploads/2018/09/sandboxie_control-120x86.png 120w, https://anonyviet.com/wp-content/uploads/2018/09/sandboxie_control-350x250.png 350w" sizes="auto, (max-width: 610px) 100vw, 610px" title="Sandboxie 5.31.4 Full - Create Sandbox environment with to Test virus 12"/></a></p>
<p>Safely inspect and test the software before putting it into use.  Sandboxie will prevent unauthorized changes to your system.</p>
<ul>
<li style="text-align: justify;">Support Windows 7 to 10</li>
<li style="text-align: justify;">Old OS like Windows XP</li>
<li style="text-align: justify;">Available in both 32 and 64 bit versions</li>
<li style="text-align: justify;">All major web browsers;  Chrome;  FireFox;  CyberFox;  Opera;  IE 6-11 and up</li>
<li style="text-align: justify;">Microsoft Office Suite, PDF and multimedia files.</li>
<li style="text-align: justify;">Stay up to date with the latest version updates for free.</li>
<li style="text-align: justify;">Requires less than 6mb of hard drive space with simple installation</li>
</ul>
<h2 id="ftoc-download-sandboxie-5-31-4-full" class="ftwp-heading">Download Sandboxie 5.31.4 Full</h2>
<p style="text-align: center;"><a target="_blank" href="https://en.anonyviet.com/next-link/?url=http%3A%2F%2Fwww.fshare.vn%2Ffile%2FVBMXKRTL83FN" rel="noopener noreferrer external nofollow" class="ext-link" onclick="this.target='_blank';">Download Sandboxie 5.31.4 Full Active</a></p>
<p style="text-align: center;"><span style="color: #339966; font-size: 14pt;"><strong>Instructions for installing Sandboxie Full</strong></span></p>
<ol>
<li>Download and install Sandboxie, stop at step “<strong>Driver Installation</strong>“.</li>
<li>Copy the file (SbieDrv.sys) to the installed directory.</li>
<li>Continue the installation until it&#8217;s done</li>
<li>Run the activator file, <strong>SET</strong> correct path in the &#8220;Sandboxie Path&#8221; section.</li>
<li>Enter the correct &#8220;<strong>Version</strong>&#8221; and &#8220;<strong>Syscode</strong>” (by pressing the <strong>GET </strong>button to obtain the correct values)</li>
<li>Click “<strong>Activate”</strong></li>
</ol>
<h2 id="ftoc-cach-su-dung-sandboxie-5-31-4" class="ftwp-heading">How to use Sandboxie 5.31.4</h2>
<div class="jeg_video_container jeg_video_content"><iframe loading="lazy" title="Sandboxie Isolation Demonstration" width="500" height="281" src="https://www.youtube.com/embed/9ZF9c03PN8I?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;11281&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/sandboxie-5-31-4-full-create-a-sandbox-environment-with-to-test-viruses/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2018/09/Sandboxie-1.png" medium="image"></media:content>
            	</item>
		<item>
		<title>How to set up a Python virtual environment on Windows 10</title>
		<link>https://en.anonyviet.com/how-to-set-up-a-python-virtual-environment-on-windows-10/</link>
					<comments>https://en.anonyviet.com/how-to-set-up-a-python-virtual-environment-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Mon, 30 Jan 2023 14:20:32 +0000</pubDate>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=6821</guid>

					<description><![CDATA[Like other languages, Python can load, store, and resolve packages. Creating a virtual Python environment will allow you to work on a separate copy of Python (environment) for each specific project without interfering or affecting the operation of other projects. Join the channel Telegram of the AnonyViet 👉 Link 👈 These Python environments can easily [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>Like other languages, Python can load, store, and resolve packages.  Creating a virtual Python environment will allow you to work on a separate copy of Python (environment) for each specific project without interfering or affecting the operation of other projects.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="6821" fifu-featured="1" decoding="async" class="aligncenter wp-image-24339 size-full" src="https://anonyviet.com/wp-content/uploads/2021/01/35.jpeg" alt="How to set up a Python virtual environment on Windows 10" title="How to set up a Python virtual environment on Windows 10" width="470" height="266" srcset="https://anonyviet.com/wp-content/uploads/2021/01/35.jpeg 470w, https://anonyviet.com/wp-content/uploads/2021/01/35-300x170.jpeg 300w" sizes="(max-width: 470px) 100vw, 470px" title="How to set up a Python virtual environment on Windows 10 8"/></p>
<p>These Python environments can easily be hosted on a VPS or dedicated server for user support.  It will benefit different team members working on the same project.</p>
<h2 id="ftoc-tai-sao-can-moi-truong-ao-python-tren-windows" class="ftwp-heading">Why need a Python virtual environment on Windows?</h2>
<p>A virtual environment is a tool that provides you with different Python version settings for each project.  All Python projects will use the same directory to store and retrieve site-packages.  That&#8217;s why I need a virtual environment because Python can&#8217;t distinguish between different versions in the same site-packages directory.  To work around this issue, you can create different virtual Python environments for each project.  There is no limit to the number of virtual environments you can create in the same system.</p>
<p>You can use a module called virtual environment or venv to create a unique environment for each project.  You can also customize the necessary environment settings for your project.  Venv does not modify Python&#8217;s default system settings or its modules.  Venv will create a directory containing the executables needed to use the Python packages required by the project.</p>
<h2 id="ftoc-dieu-kien" class="ftwp-heading">Condition</h2>
<p>If you want to use venv functionality on Windows 10. You need to enable <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fcai-dat-windows-subsystem-for-linux-2-windows-10%2F" rel="noopener" class="local-link">Windows Subsystem for Linux</a> (WSL) to allow you to run a Linux distribution in Windows 10.</p>
<p>Since most of the Python information is for the Linux environment.  Most developers use Linux installation tools.  So with WSL, Python will be more easily compatible with the environment and developers.</p>
<h2 id="ftoc-cach-bat-wsl-tren-windows-10" class="ftwp-heading">How to enable WSL on Windows 10</h2>
<p><strong>Step 1:</strong> Click on the Start Menu and search for “Turn Windows features on or off”.</p>
<p><strong>Step 2:</strong> Click on the first result.</p>
<p><strong>Step 3:</strong> Scroll down and select the option “Windows Subsystem for Linux”.</p>
<p><strong>Step 4:</strong> Restart the system to apply the changes.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-24340 size-full" src="https://anonyviet.com/wp-content/uploads/2021/01/36.jpeg" alt="How to enable WSL on Windows 10" width="309" height="273" srcset="https://anonyviet.com/wp-content/uploads/2021/01/36.jpeg 309w, https://anonyviet.com/wp-content/uploads/2021/01/36-300x265.jpeg 300w" sizes="auto, (max-width: 309px) 100vw, 309px" title="How to set up a Python virtual environment on Windows 10 9"/></p>
<h2 id="ftoc-cai-dat-linux-distro" class="ftwp-heading">Installing Linux Distros</h2>
<p>You can learn the versions<a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FList_of_Linux_distributions%3Fref%3Dhackernoon.com" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';"> Linux is available</a> and install them.  But in this article, I will use the Ubuntu 18.04 LTS distribution because of its frequent updates, large support community, and complete documentation for newbies.</p>
<p><strong>Step 1:</strong> Setting <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.microsoft.com%2Fvi-vn%2Fp%2Fubuntu-1804-lts%2F9n9tngvndl3q%3Factivetab%3Dpivot%3Aoverviewtab" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Ubuntu 18.04 LTS</a> from the Microsoft Store.</p>
<p><strong>Step 2:</strong> After downloading, you need to open Ubuntu from the Store or Start menu.</p>
<p><strong>Step 3:</strong> The first time you open Ubuntu, it will ask you to create a username and password.</p>
<p><strong>Step 4:</strong> Update the system with the command below:</p>
<pre><span style="font-size: 14pt;"><code>sudo apt update &amp;&amp; sudo apt upgrade</code></span></pre>
<p>If the above command does not work, you must update and upgrade the operating system manually.</p>
<p>Now you need to use PowerShell to install the distro and navigate to the folder containing the newly downloaded Linux distro (app_name.appx) and run the command below.</p>
<pre><span style="font-size: 14pt;"><code>Add-AppxPackage .\app_name.appx</code></span></pre>
<h2 id="ftoc-them-duong-dan-distro-vao-moi-truong-windows" class="ftwp-heading">Add distro path to Windows environment</h2>
<p>You need to use PowerShell to install more paths.</p>
<pre><span style="font-size: 14pt;"><code>$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")</code></span></pre>
<p>Eg:</p>
<pre><span style="font-size: 14pt;"><code>[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\Admin\Ubuntu", "User")</code></span></pre>
<h2 id="ftoc-mo-phien-distro-moi" class="ftwp-heading">Open a new distro session</h2>
<p>After declaring the newly installed distribution, you must launch a new session.  You can launch it from the Ubuntu shortcut available on the Start Menu.  It will then be stored locally on your system and ready to use.  For Windows server users, launch the Linux distribution&#8217;s executable file stored in the distribution&#8217;s installation directory.</p>
<h2 id="ftoc-thiet-lap-moi-truong" class="ftwp-heading">Environment setting</h2>
<p>You need to set up a Python virtual environment on Windows 10 by performing the steps below:</p>
<ul>
<li>You must have a compatible version of Python installed.</li>
<li>Then install Pip.</li>
<li>Install virtual environment.</li>
<li>Finally install VirtualEnvWrapper-win.</li>
</ul>
<h3 id="ftoc-cai-dat-python" class="ftwp-heading">Install Python</h3>
<p>You should install the latest and up-to-date Python version to set up the environment.  So I will install Python version 3.8.0.  You can also use <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fwww.python.org%2Fdownloads%2F" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">Python 3.9</a> Please.</p>
<h3 id="ftoc-cai-dat-pip" class="ftwp-heading">Install PIP</h3>
<p>Usually, PIP comes pre-installed in Python3.  If you cannot find the PIP, you can install it manually using the command below.</p>
<pre><span style="font-size: 14pt;"><code>curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py</code></span></pre>
<p>After installing the get-pip.py file, you can save it to your desktop.  Then navigate to the desktop and use the admin account to run the file.</p>
<p><code>python3 get-pip.py</code><br /><code>cd Desktop</code><br /><code>Python get-pip.py</code></p>
<h3 id="ftoc-cai-dat-va-tao-moi-truong-ao" class="ftwp-heading">Install and create a virtual environment</h3>
<p>The venv module comes with the standard libraries if you are using Python 3 or you can also install it manually using the command below.</p>
<pre><span style="font-size: 14pt;"><code>$ pip install virtualenv</code></span></pre>
<p>After installation you can test virtualenv with below command.</p>
<pre><span style="font-size: 14pt;"><code>$ virtualenv --version</code></span></pre>
<p>Now we will create virtual environment (my_project) for the project using below command.  A directory (my_project) will be created with all the executables required to use the installed packages.</p>
<pre><span style="font-size: 14pt;"><code>$ virtualenv my_project</code></span></pre>
<p><img decoding="async" loading="lazy" class="size-full wp-image-24341 aligncenter" src="https://anonyviet.com/wp-content/uploads/2021/01/37.jpeg" alt="How to set up a Python virtual environment on Windows 10 3" width="509" height="280" srcset="https://anonyviet.com/wp-content/uploads/2021/01/37.jpeg 509w, https://anonyviet.com/wp-content/uploads/2021/01/37-300x165.jpeg 300w" sizes="auto, (max-width: 509px) 100vw, 509px" title="How to set up a Python virtual environment on Windows 10 10"/></p>
<p>The directory will have the same file structure as above.</p>
<p>To use the Python 3 compiler, you can run the command below.</p>
<pre><span style="font-size: 14pt;"><code>virtualenv -p /usr/bin/python3 my_project</code></span></pre>
<p>Then access the newly created project folder with the command below.</p>
<pre><span style="font-size: 14pt;"><code>cd my_project</code></span></pre>
<p>You have to activate virtual environment (my_project) using above file structure activation script using below command.</p>
<p><code>$ source my_project/bin/activate</code><br /><code>(my_project) $</code></p>
<p>If it says my_project or shows the name of your project, the virtual environment is active.</p>
<h3 id="ftoc-cai-dat-virtualenvwrapper-win" class="ftwp-heading">Install VirtualEnvWrapper-win</h3>
<p>Virtual environments can solve the package management problem to some extent but will come with some hassle in managing the environment, you can solve that by using virtualenvwrapper tool.</p>
<ul>
<li>It helps you organize and manage virtual environments in one location.</li>
<li>It allows you to create, delete and clone environments.</li>
<li>You can also switch between different environments.</li>
</ul>
<p>You can install the wrapper using the commands below.</p>
<p>Using pips:</p>
<pre><span style="font-size: 14pt;"><code>pip install virtualenvwrapper-win</code></span></pre>
<p>Using git:</p>
<pre><span style="font-size: 14pt;"><code>git clone git://github.com/davidmarble/virtualenvwrapper-win.git</code></span></pre>
<p>You can check the location of the wrapper script with the command below.</p>
<pre><span style="font-size: 14pt;"><code>$ which virtualenvwrapper.sh</code></span></pre>
<p>Once it is installed and verified, you can navigate to that directory and run the command below.</p>
<pre><span style="font-size: 14pt;"><code>python setup.py install  </code></span></pre>
<p>After this command, the Python virtual environment is available.</p>
<h3 id="ftoc-huy-kich-hoat-moi-truong-ao" class="ftwp-heading">Deactivate the virtual environment</h3>
<p>If you do not want to continue with the virtual environment, you can deactivate it with the command below.</p>
<pre><span style="font-size: 14pt;"><code>(my_project) $ deactivate</code></span></pre>
<h2 id="ftoc-ket-luan" class="ftwp-heading">Conclusion</h2>
<p>This article showed how you can install a Linux distribution on Windows 10. Even if you are using Windows 10, you should install the Linux distribution to set up a Python virtual environment and take advantage of the functionalities. that it has.</p>
<p>It gives you a better environment and security to install packages and modules.  You will know how to install Python, pip and start and activate the virtual environment along with the file structure.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;24338&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-set-up-a-python-virtual-environment-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/01/35.jpeg" medium="image"></media:content>
            	</item>
		<item>
		<title>How to create your own Desktop Environment in Linux</title>
		<link>https://en.anonyviet.com/how-to-create-your-own-desktop-environment-in-linux/</link>
					<comments>https://en.anonyviet.com/how-to-create-your-own-desktop-environment-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Tue, 24 Jan 2023 13:43:09 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Environment]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=1856</guid>

					<description><![CDATA[Have you tried many desktop environments (Desktop Environment) but none suits your taste? Or maybe you like some components of DE and don&#8217;t like others. Then you should build your own Desktop Environment. Join the channel Telegram of the AnonyViet 👉 Link 👈 How to Build a Desktop Environment You can easily build a desktop [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p><strong>Have you tried many desktop environments (Desktop Environment) but none suits your taste?  Or maybe you like some components of DE and don&#8217;t like others.  Then you should build your own Desktop Environment.</strong></p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p><img post-id="1856" fifu-featured="1" decoding="async" class="aligncenter wp-image-38288 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/Screenshot-2021-12-17-003629.jpg" alt="How to create your own Desktop Environment in Linux" title="How to create your own Desktop Environment in Linux" width="707" height="354" srcset="https://anonyviet.com/wp-content/uploads/2021/12/Screenshot-2021-12-17-003629.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/12/Screenshot-2021-12-17-003629-300x150.jpg 300w, https://anonyviet.com/wp-content/uploads/2021/12/Screenshot-2021-12-17-003629-360x180.jpg 360w" sizes="(max-width: 707px) 100vw, 707px" title="How to create your own Desktop Environment in Linux 10"/></p>
<h2 id="ftoc-cach-de-xay-dung-mot-desktop-environment" class="ftwp-heading">How to Build a Desktop Environment</h2>
<p>You can easily build a desktop environment by assembling various components of an existing DE and other standalone programs.  It is better to know the general components of the DE before building the environment, but this is not necessary.  Here, I will show you how to build your own desktop environment.</p>
<h3 id="ftoc-buoc-1-tao-tap-lenh-session-bash" class="ftwp-heading">Step 1: Create a Session Bash script</h3>
<p>To create a desktop environment, you need to at least create a window manager.  In this article, I will use kwin window manager.  But you can use any window manager you want.</p>
<p>To install kwin on Ubuntu and Ubuntu-based systems, enter the following command in the terminal:</p>
<p><code> sudo apt install kwin --no-install-recommends</code><code/><code> </code></p>
<p>Without the –no-install-suggest option, apt will install the entire kde desktop environment.</p>
<p>In addition to the window manager, we also need to add the dock.  To install it, type:</p>
<p><code> sudo apt install plank</code></p>
<p>Now let&#8217;s create the bash script session.  If you don&#8217;t know, <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fviblo.asia%2Fp%2Ftim-hieu-ve-bash-script-co-ban-07LKXNwklV4" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">bash script</a> is a regular text file in which you enter command lines.  When the file is executed, it will initialize the commands contained in it line by line, saving you from having to type each command in the terminal yourself.</p>
<p>Our script will contain the programs that the DE will have.  We will put the script in the /bin directory.  So, open terminal and navigate to /bin by typing the following command:</p>
<p><code> cd /bin</code></p>
<p>Then create the script with the following command (we&#8217;ll call it custom_de.sh):</p>
<p><code>sudo touch custom_de.sh</code><code> </code></p>
<p>Open the file as root with your text editor, e.g. nano</p>
<p><code> sudo nano custom_de.sh</code><code> </code></p>
<p>You can replace nano with any text editor like gedit or xed.</p>
<p>Then put the following line at the top of the script.</p>
<p><code> #!/bin/bash</code><code> </code></p>
<p>This line tells terminal to execute this script using bash.</p>
<p>Next, enter the command of the program you want using the window manager (in this case, kwin).</p>
<p><code>kwin &amp;</code><br /><code>plank</code><code> </code></p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-38289 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/nano1.jpg" alt="How to create your own Desktop Environment in Linux 6" width="707" height="396" srcset="https://anonyviet.com/wp-content/uploads/2021/12/nano1.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/12/nano1-300x168.jpg 300w" sizes="auto, (max-width: 707px) 100vw, 707px" title="How to create your own Desktop Environment in Linux 11"/></p>
<p>The ampersand (&#038;) after a command causes it to run in the background so that the next command is executed without waiting for the previous command to complete.  We need to do this because the programs that create the desktop environment need to run at the same time.</p>
<p>This script represents the desktop session, as long as this script is running the session will continue to run.  Once this script is disabled the session will exit and you will be directed to the login screen as if you were logged out.</p>
<p>That&#8217;s why it&#8217;s important not to put an ampersand (&#038;) after the last command.  If this happens and the last command is sent to the background, the script will exit and the session will exit as soon as it starts.</p>
<p>After saving the script, give it execute permission by entering the following command:</p>
<p><code>sudo chmod +x custom_de.sh</code><code> </code></p>
<h3 id="ftoc-buoc-2-tao-tep-man-hinh" class="ftwp-heading">Step 2: Create a screen file</h3>
<p>To display our custom screen during login, we have to create a .desktop file in /usr/share/xsessions, which will point to the script.  To navigate to that directory, enter the following command:</p>
<p><code> cd /usr/share/xsessions </code></p>
<p>Then create the file and open it with the command:</p>
<p><code>sudo touch custom_de.desktop</code><br /><code>sudo nano custom_de.desktop</code></p>
<p>Inside the file write the following lines:</p>
<p><code>[Desktop Entry]</code><br /><code>Name=Custom DE</code><br /><code>Comment=My awesome desktop environment</code><br /><code>Exec=/bin/custom_de.sh</code><br /><code>Type=Application</code></p>
<p>For Exec=, enter the location of the script you created earlier.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-38290 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/nano2.jpg" alt="How to create your own Desktop Environment in Linux 7" width="707" height="404" srcset="https://anonyviet.com/wp-content/uploads/2021/12/nano2.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/12/nano2-300x171.jpg 300w" sizes="auto, (max-width: 707px) 100vw, 707px" title="How to create your own Desktop Environment in Linux 12"/></p>
<h3 id="ftoc-buoc-3-khoi-chay-desktop-environment-tuy-chinh" class="ftwp-heading">Step 3: Launch the custom Desktop Environment</h3>
<p>To launch your desktop environment, perform the following steps:</p>
<ol>
<li>Log out</li>
<li>Find a list of installed desktop environments</li>
<li>Select the newly created desktop environment</li>
<li>Re-login</li>
</ol>
<p>To exit this session, kill the last program in your session script with the pkill command:</p>
<p><code> pkill plank</code></p>
<h2 id="ftoc-lam-cho-moi-truong-may-tinh-de-ban-cua-ban-hoan-thien-hon" class="ftwp-heading">Make your desktop environment more complete</h2>
<p>You have successfully created your desktop environment.</p>
<p>But it still lacks some components.  It&#8217;s time to add backgrounds and panels.</p>
<p>There are many ways to set the wallpaper but the best choice is Komorebi, which gives you the ability to set a video as wallpaper and it also displays icons on the desktop.</p>
<p>To install komorebi, download the installation package from <a target="_blank" href="https://en.anonyviet.com/next-link/?url=https%3A%2F%2Fgithub.com%2Fcheesecakeufo%2Fkomorebi" rel="noopener external nofollow" class="ext-link" onclick="this.target='_blank';">GitHub repository</a>install and run it.</p>
<p>For the console, I will use the lxqt console:</p>
<p><code> sudo apt install lxqt-panel</code><code> </code></p>
<p>Don&#8217;t forget to put the lxqt-panel and komorebi commands in the session script, followed by an ampersand (&#038;).  Use full path for komorebi command (<strong>/System/Applications/komorebi</strong>).</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-38291 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/nano3.jpg" alt="How to create your own Desktop Environment in Linux 8" width="707" height="404" srcset="https://anonyviet.com/wp-content/uploads/2021/12/nano3.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/12/nano3-300x171.jpg 300w" sizes="auto, (max-width: 707px) 100vw, 707px" title="How to create your own Desktop Environment in Linux 13"/></p>
<p>You can also add Ulauncher, a useful app launcher.  This will make the desktop experience more complete:</p>
<p><code>sudo add-apt-repository ppa:agornostal/ulauncher &amp;&amp; sudo apt update &amp;&amp; sudo apt install ulauncher</code></p>
<p>You can add as many programs as you want, customizing the display to suit your needs.  You should also consider adding a notification manager.</p>
<h2 id="ftoc-cach-dat-gtk-va-icon-themes" class="ftwp-heading">How to set GTK and Icon Themes</h2>
<p>In other desktop environments, you can change the GTK and icon theme using a GUI utility like gnome-tweak or other Themes.  In our case, we don&#8217;t have these utilities, but don&#8217;t worry because you can also change the theme from the terminal using the gsettings command.</p>
<p>For the setting to take effect, dbus must be running.</p>
<p>Dbus uses dbus-launcher.  Just add bash dbus-launcher at the top of your script.</p>
<p><img decoding="async" loading="lazy" class="aligncenter wp-image-38292 size-full" src="https://anonyviet.com/wp-content/uploads/2021/12/nano4.jpg" alt="How to create your own Desktop Environment in Linux 9" width="707" height="404" srcset="https://anonyviet.com/wp-content/uploads/2021/12/nano4.jpg 707w, https://anonyviet.com/wp-content/uploads/2021/12/nano4-300x171.jpg 300w" sizes="auto, (max-width: 707px) 100vw, 707px" title="How to create your own Desktop Environment in Linux 14"/></p>
<p>Next, exit the session and log back in.  To get the currently applied GTK theme:</p>
<p><code> gsettings get org.gnome.desktop.interface gtk-theme</code><code> </code></p>
<p>For example, to set the GTK theme to the Canta theme, type:</p>
<p><code> gsettings set org.gnome.desktop.interface gtk-theme Canta </code></p>
<p>The theme you are going to install must be in the folder <strong>/usr/share/themes</strong>.  The theme name is its folder name.</p>
<p>In addition, you can also see 5 more tips to decorate the Terminal interface <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2F5-meo-trang-tri-giao-dien-terminal-tren-linux%2F" rel="noopener" class="local-link">here</a>.</p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;38287&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;100&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (100 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (100 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-to-create-your-own-desktop-environment-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2021/12/Screenshot-2021-12-17-003629.jpg" medium="image"></media:content>
            	</item>
	</channel>
</rss>
