विंडोज सैंडबॉक्स का उपयोग करके सीपीयू समय को सुरक्षित रूप से कैसे दान करें
इस दुनिया में, कंप्यूटिंग शक्ति चमत्कार की ओर ले जाती है। कंप्यूटिंग शक्ति हमारे चारों ओर घूमने वाली समस्याओं को हल करने में एक प्रमुख भूमिका निभा सकती है। यह एक कारण है, संपूर्ण तकनीकी उद्योग ( माइक्रोसॉफ्ट सहित) (Microsoft)क्वांटम(Quantum) कंप्यूटिंग में निवेशित है जो इन समस्याओं को हल करने के लिए कंप्यूटर को और अधिक कुशल बनाने में मदद करेगा। फोल्डिंग होम(Folding Home) एक वितरित कंप्यूटिंग प्रोजेक्ट है जो प्रोटीन गतिकी के आणविक गतिकी सिमुलेशन करता है।
माइक्रोसॉफ्ट(Microsoft) ने एक विस्तृत गाइड पोस्ट किया है जिसके द्वारा कोई भी अपने कंप्यूटर के संसाधनों को परियोजना के लिए दान कर सकता है। हम इस गाइड में विंडोज सैंडबॉक्स के साथ (Windows Sandbox)सीपीयू(CPU) समय को सुरक्षित रूप से दान करने के तरीके के बारे में बात करेंगे ।
Windows Sandbox का उपयोग करके सुरक्षित रूप से (Windows Sandbox)CPU समय दान करें
आरंभ करने से पहले, आपको यह सुनिश्चित करना होगा कि आपके कंप्यूटर पर विंडोज सैंडबॉक्स सक्षम है(Windows Sandbox is enabled on your computer) ।
अब, नोटपैड(Notepad) खोलें और उसमें निम्नलिखित कोड को कॉपी और पेस्ट करें:
#Requires -RunAsAdministrator #For a custom username, add -username <your username> to the command execution param([string]$username=‘wsandbox_anon‘) $ProgressPreference = ‘SilentlyContinue‘ #Progress bar makes things way slower # Ensure that virtualization is enabled in BIOS. Write-Output ‘Verifying that virtualization is enabled in BIOS…‘ if ((Get-WmiObject Win32_ComputerSystem).HypervisorPresent -eq $false) { Write-Output ‘ERROR: Please Enable Virtualization capabilities in your BIOS settings…‘ exit } # Determine if Windows Sandbox is enabled. Write-Output ‘Checking to see if Windows Sandbox is installed…‘ If ((Get-WindowsOptionalFeature –FeatureName ‘Containers-DisposableClientVM‘ –Online).State -ne ‘Enabled‘) { Write-Output ‘Windows Sandbox is not installed, attempting to install it (may require reboot)…‘ if ((Enable-WindowsOptionalFeature –FeatureName ‘Containers-DisposableClientVM‘ –All –Online –NoRestart).RestartNeeded) { Write-Output ‘Please reboot to finish installing Windows Sandbox, then re-run this script…‘ exit } } else { Write-Output ‘Windows Sandbox already installed.‘ } # Download the latest version of FAH. Write-Output ‘Checking for latest version of foldingathome…‘ $installer_url = ‘https://download.foldingathome.org/releases/public/release/fah-installer/windows-10-32bit/‘ # Use regex to get the latest version from the FAH website. $version = ((Invoke-WebRequest –Uri $installer_url –UseBasicParsing).Links | Where-Object {$_.href -match ‘^v\d+([.]\d+)?‘} | ForEach-Object {[float]($_.href -replace ‘[^.\d]‘, ‘‘)} | Measure-Object –Max).Maximum $installer = “$($installer_url)v$($version)/latest.exe“ $installer_size =(Invoke-WebRequest $installer –Method Head –UseBasicParsing).Headers.‘Content-Length‘ Write-Output “Using FAH v$version.“ # Check if the installer is present, download otherwise. $working_dir = “$env:USERPROFILE\fah_conf“ $install_fname = ‘folding_installer.exe‘ If (!(test-path “$working_dir\$install_fname“) -or (Get-ChildItem “$working_dir\$install_fname“).Length -ne $installer_size ) { Remove-Item “$working_dir\$install_fname“ –Force –ErrorAction SilentlyContinue Write-Output “Downloading latest folding executable: $working_dir\$install_fname“ Write-Output “Saving to $working_dir\$install_fname…“ New-Item –ItemType Directory –Force –Path $working_dir | Out-Null Invoke-WebRequest –Uri $installer –OutFile “$working_dir\$install_fname“ } # Create the FAH configuration file with the Windows Sandbox FAH team #251561. Write-Output ‘Creating init command…‘ $conf_file = ‘fah_sandbox_conf.xml‘ Write-Output “Saved [email protected] configuration file to $working_dir\$conf_file“ New-Item –Force –Path “$working_dir\$conf_file“ –ItemType File Set-Content –Path “$working_dir\$conf_file“ –Value @” <config> <user v=’$username‘/> <team v=’251561’/> <core-priority v=’low’/> <power v=’full’ /> <priority v=’realtime’/> <smp v=’true’/> <gpu v=’true’/> <open-web-control v=’true’/> </config> “@ <# Create the script that runs at logon. This script: 1. Starts the installer 2. Creates a volatile working directory 3. Copies the config into the working directory 4. Sets the firewall policies to let FAH run 5. Starts the FAH client #> Write-Output ‘Creating init command…‘ $logon_cmd = “$working_dir\init.cmd“ $wdg_install_dir = ‘C:\users\wdagutilityaccount\desktop\fah_conf‘ $wdg_working_dir = ‘C:\users\wdagutilityaccount\desktop\fah_working_dir‘ Write-Output “Saved logon script to $logon_cmd, this will be run upon starting Sandbox.“ New-Item –Force –Path $logon_cmd –ItemType File Set-Content –Path $logon_cmd –Value @” start $wdg_install_dir\$install_fname /S goto WAITLOOP :WAITLOOP if exist “C:\Program Files (x86)\FAHClient\FAHClient.exe” goto INSTALLCOMPLETE ping -n 6 127.0.0.1 > nul goto WAITLOOP :INSTALLCOMPLETE mkdir $wdg_working_dir cd $wdg_working_dir echo \”Copying config file to $wdg_working_dir\” copy $wdg_install_dir\$conf_file $wdg_working_dir netsh advfirewall firewall Add rule name=”FAHClient” program=”C:\Program Files (x86)\FAHClient\FAHClient.exe” action=allow dir=out netsh advfirewall firewall Add rule name=”FAHClient” program=”C:\Program Files (x86)\FAHClient\FAHClient.exe” action=allow dir=in start C:\”Program Files (x86)”\FAHClient\FAHClient.exe –config $wdg_working_dir\$conf_file “@ # Create the Sandbox configuration file with the new working dir & LogonCommand. $sandbox_conf = “$working_dir\fah_sandbox.wsb“ Write-Output “Creating sandbox configuration file to $sandbox_conf“ New-Item –Force –Path $sandbox_conf –ItemType File Set-Content –Path $sandbox_conf –Value @” <Configuration> <VGpu>Enable</VGpu> <MappedFolders> <MappedFolder> <HostFolder>$working_dir</HostFolder> <ReadOnly>true</ReadOnly> </MappedFolder> </MappedFolders> <LogonCommand> <Command>$wdg_install_dir\init.cmd</Command> </LogonCommand> </Configuration> “@ # For convenience, start the Sandbox. Write-Output ‘Starting sandbox…‘ Start-Process ‘C:\WINDOWS\system32\WindowsSandbox.exe‘ –ArgumentList $sandbox_conf
वैकल्पिक रूप से, आप इसे केवल Microsoft के GitHub रिपॉजिटरी(Microsoft’s GitHub repository) से डाउनलोड कर सकते हैं ।
एक बार हो जाने के बाद, बस इसे विंडोज पॉवरशेल(Windows PowerShell) के साथ चलाएं और यह एक विंडोज सैंडबॉक्स(Windows Sandbox) वातावरण शुरू करेगा जो आपके कंप्यूटर के संसाधनों को वितरित कंप्यूटिंग प्रोजेक्ट को दान कर देगा।
All the best!
Related posts
Windows Sandbox में प्रिंटर साझाकरण समूह नीति सक्षम या अक्षम करें
वर्चुअलबॉक्स अतिथि ओएस में विंडोज सैंडबॉक्स को कैसे सक्षम करें
विंडोज सैंडबॉक्स में वीडियो इनपुट को सक्षम या अक्षम करें
एप्लिकेशन गार्ड या विंडोज सैंडबॉक्स त्रुटि 0x80070003, 0xC0370400
Windows Sandbox के साथ क्लिपबोर्ड साझाकरण को सक्षम या अक्षम करें
वूसर्व क्या है? Windows 11/10 में wuauserv उच्च CPU उपयोग को कैसे ठीक करें
विंडोज 10 सैंडबॉक्स फीचर को सक्षम या अक्षम करें
विंडोज 11/10 में डिस्कॉर्ड सीपीयू के उपयोग को कैसे कम करें?
Explorer.exe Windows 11/10 में उच्च मेमोरी या CPU उपयोग
विंडोज पीसी के लिए सर्वश्रेष्ठ मुफ्त सीपीयू तापमान मॉनिटर और चेकर सॉफ्टवेयर
विंडोज 11/10 में 100% डिस्क, हाई सीपीयू, हाई मेमोरी उपयोग को कैसे ठीक करें
विंडोज़ के लिए शेड सैंडबॉक्स का उपयोग करके अनुप्रयोगों को स्थानीय रूप से वर्चुअलाइज करें
Windows सैंडबॉक्स प्रारंभ करने में विफल रहा, त्रुटि 0x80070569
विंडोज 11/10 में क्रोम हाई सीपीयू, मेमोरी या डिस्क के उपयोग को ठीक करें
Windows 10 में LSAISO प्रक्रिया उच्च CPU उपयोग को ठीक करें
Windows 11/10 में XboxStat.exe द्वारा उच्च CPU उपयोग को ठीक करें
WMI प्रदाता होस्ट (WmiPrvSE.exe) Windows 11/10 में उच्च CPU उपयोग
विंडोज 11/10 में माइक्रोसॉफ्ट ऑफिस क्लिक-टू-रन हाई सीपीयू उपयोग
विंडोज सैंडबॉक्स को कैसे कॉन्फ़िगर करें (ऐप्स/स्क्रिप्ट चलाएं, फ़ोल्डर्स साझा करें, आदि)
सैंडबॉक्स क्या है? विंडोज 11/10 पीसी के लिए मुफ्त सैंडबॉक्सिंग सॉफ्टवेयर