{"id":195,"date":"2021-11-04T17:23:00","date_gmt":"2021-11-04T17:23:00","guid":{"rendered":"https:\/\/www.simons.tools\/en\/?p=195"},"modified":"2021-11-04T17:23:56","modified_gmt":"2021-11-04T17:23:56","slug":"enable-hyper-v-windows-10-home","status":"publish","type":"post","link":"https:\/\/www.simons.tools\/en\/enable-hyper-v-windows-10-home\/","title":{"rendered":"Enable Hyper-V Windows 10 Home"},"content":{"rendered":"\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;file&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;index.html&quot;,&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">@echo off\n\necho Checking for permissions\n&gt;nul 2&gt;&amp;1 &quot;%SYSTEMROOT%\\system32\\cacls.exe&quot; &quot;%SYSTEMROOT%\\system32\\config\\system&quot;\n\necho Permission check result: %errorlevel%\n\nREM --&gt; If error flag set, we do not have admin.\nif '%errorlevel%' NEQ '0' (\necho Requesting administrative privileges...\ngoto UACPrompt\n) else ( goto gotAdmin )\n\n:UACPrompt\necho Set UAC = CreateObject^(&quot;Shell.Application&quot;^) &gt; &quot;%temp%\\getadmin.vbs&quot;\necho UAC.ShellExecute &quot;%~s0&quot;, &quot;&quot;, &quot;&quot;, &quot;runas&quot;, 1 &gt;&gt; &quot;%temp%\\getadmin.vbs&quot;\n\necho Running created temporary &quot;%temp%\\getadmin.vbs&quot;\ntimeout \/T 2\n&quot;%temp%\\getadmin.vbs&quot;\nexit \/B\n\n:gotAdmin\nif exist &quot;%temp%\\getadmin.vbs&quot; ( del &quot;%temp%\\getadmin.vbs&quot; )\npushd &quot;%CD%&quot;\nCD \/D &quot;%~dp0&quot; \n\necho Batch was successfully started with admin privileges\necho .\ncls\nGOTO:menu\n:menu\nTitle Hyper-V Installer\necho Backup wird dringend empfohlen!\necho um u.a. Hyper-V spurenlos und sicher zu entfernen.\necho --------------------------------------------------\necho Was soll das Setup tun?\necho 1 Installieren\necho 2 Deinstallieren\necho 3 Beenden\nset \/p uni= Option in Zahl eintippen:\nif %uni% ==1 goto :in\nif %uni% ==2 goto :un\nif %uni% ==3 goto :ex\n\n:in\ncls\nTitle Install Hyper-V\n\npushd &quot;%~dp0&quot;\n\ndir \/b %SystemRoot%\\servicing\\Packages\\*Hyper-V*.mum &gt;hyper-v.txt\n\nfor \/f %%i in ('findstr \/i . hyper-v.txt 2^&gt;nul') do dism \/online \/norestart \/add-package:&quot;%SystemRoot%\\servicing\\Packages\\%%i&quot;\n\ndel hyper-v.txt\n\nDism \/online \/enable-feature \/featurename:Microsoft-Hyper-V-All \/LimitAccess \/ALL \/NoRestart\n\ngoto :remenu\n\n:un\ncls\nTitle Uninstall Hyper-V\n\npushd &quot;%~dp0&quot;\n\nDism \/online \/disable-feature \/featurename:Microsoft-Hyper-V-All \/NoRestart\n\ndir \/b %SystemRoot%\\servicing\\Packages\\*Hyper-V*.mum &gt;hyper-v.txt\n\nfor \/f %%i in ('findstr \/i . hyper-v.txt 2^&gt;nul') do dism \/online \/norestart \/remove-package:&quot;%SystemRoot%\\servicing\\Packages\\%%i&quot;\n\ndel hyper-v.txt\n\ngoto :remenu\n\n:remenu\ncls\necho M\u00f6chten Sie den Computer jetzt neu starten?\necho 1 Ja\necho 2 Nein\nset \/p uni= Option in Zahl eintippen:\nif %uni% ==1 goto :re\nif %uni% ==2 goto :ex\n\n:re\nshutdown \/r \/t 0 \/f\ngoto :ex\n\n:ex\nexit<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;file&quot;,&quot;fullScreenButton&quot;:false,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;.bat&quot;,&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\"> pushd &quot;%~dp0&quot;\ndir \/b %SystemRoot%\\servicing\\Packages*Hyper-V*.mum &gt;hyper-v.txt\nfor \/f %%i in ('findstr \/i . hyper-v.txt 2^&gt;nul') do dism \/online \/norestart \/add-package:&quot;%SystemRoot%\\servicing\\Packages\\%%i&quot;\ndel hyper-v.txt\nDism \/online \/enable-feature \/featurename:Microsoft-Hyper-V -All \/LimitAccess \/ALL\npause<\/pre><\/div>\n\n\n\n<p><strong>DISM \/Online \/Disable-Feature \/All \/FeatureName:Microsoft-Hyper-V<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DISM \/Online \/Disable-Feature \/All \/FeatureName:Microsoft-Hyper-V<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_en_post_content":"<!-- wp:codemirror-blocks\/code-block {\"fileName\":\"index.html\",\"mode\":\"htmlmixed\",\"mime\":\"text\/html\"} -->\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>@echo off\n\necho Checking for permissions\n&gt;nul 2&gt;&amp;1 &quot;%SYSTEMROOT%\\system32\\cacls.exe&quot; &quot;%SYSTEMROOT%\\system32\\config\\system&quot;\n\necho Permission check result: %errorlevel%\n\nREM --&gt; If error flag set, we do not have admin.\nif '%errorlevel%' NEQ '0' (\necho Requesting administrative privileges...\ngoto UACPrompt\n) else ( goto gotAdmin )\n\n:UACPrompt\necho Set UAC = CreateObject^(&quot;Shell.Application&quot;^) &gt; &quot;%temp%\\getadmin.vbs&quot;\necho UAC.ShellExecute &quot;%~s0&quot;, &quot;&quot;, &quot;&quot;, &quot;runas&quot;, 1 &gt;&gt; &quot;%temp%\\getadmin.vbs&quot;\n\necho Running created temporary &quot;%temp%\\getadmin.vbs&quot;\ntimeout \/T 2\n&quot;%temp%\\getadmin.vbs&quot;\nexit \/B\n\n:gotAdmin\nif exist &quot;%temp%\\getadmin.vbs&quot; ( del &quot;%temp%\\getadmin.vbs&quot; )\npushd &quot;%CD%&quot;\nCD \/D &quot;%~dp0&quot; \n\necho Batch was successfully started with admin privileges\necho .\ncls\nGOTO:menu\n:menu\nTitle Hyper-V Installer\necho Backup wird dringend empfohlen!\necho um u.a. Hyper-V spurenlos und sicher zu entfernen.\necho --------------------------------------------------\necho Was soll das Setup tun?\necho 1 Installieren\necho 2 Deinstallieren\necho 3 Beenden\nset \/p uni= Option in Zahl eintippen:\nif %uni% ==1 goto :in\nif %uni% ==2 goto :un\nif %uni% ==3 goto :ex\n\n:in\ncls\nTitle Install Hyper-V\n\npushd &quot;%~dp0&quot;\n\ndir \/b %SystemRoot%\\servicing\\Packages\\*Hyper-V*.mum &gt;hyper-v.txt\n\nfor \/f %%i in ('findstr \/i . hyper-v.txt 2^&gt;nul') do dism \/online \/norestart \/add-package:&quot;%SystemRoot%\\servicing\\Packages\\%%i&quot;\n\ndel hyper-v.txt\n\nDism \/online \/enable-feature \/featurename:Microsoft-Hyper-V-All \/LimitAccess \/ALL \/NoRestart\n\ngoto :remenu\n\n:un\ncls\nTitle Uninstall Hyper-V\n\npushd &quot;%~dp0&quot;\n\nDism \/online \/disable-feature \/featurename:Microsoft-Hyper-V-All \/NoRestart\n\ndir \/b %SystemRoot%\\servicing\\Packages\\*Hyper-V*.mum &gt;hyper-v.txt\n\nfor \/f %%i in ('findstr \/i . hyper-v.txt 2^&gt;nul') do dism \/online \/norestart \/remove-package:&quot;%SystemRoot%\\servicing\\Packages\\%%i&quot;\n\ndel hyper-v.txt\n\ngoto :remenu\n\n:remenu\ncls\necho M\u00f6chten Sie den Computer jetzt neu starten?\necho 1 Ja\necho 2 Nein\nset \/p uni= Option in Zahl eintippen:\nif %uni% ==1 goto :re\nif %uni% ==2 goto :ex\n\n:re\nshutdown \/r \/t 0 \/f\ngoto :ex\n\n:ex\nexit<\/pre><\/div>\n<!-- \/wp:codemirror-blocks\/code-block -->\n\n<!-- wp:codemirror-blocks\/code-block {\"fileName\":\".bat\",\"mode\":\"htmlmixed\",\"mime\":\"text\/html\"} -->\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre> pushd &quot;%~dp0&quot;\ndir \/b %SystemRoot%\\servicing\\Packages*Hyper-V*.mum &gt;hyper-v.txt\nfor \/f %%i in ('findstr \/i . hyper-v.txt 2^&gt;nul') do dism \/online \/norestart \/add-package:&quot;%SystemRoot%\\servicing\\Packages\\%%i&quot;\ndel hyper-v.txt\nDism \/online \/enable-feature \/featurename:Microsoft-Hyper-V -All \/LimitAccess \/ALL\npause<\/pre><\/div>\n<!-- \/wp:codemirror-blocks\/code-block -->\n\n<!-- wp:paragraph -->\n<p><strong>DISM \/Online \/Disable-Feature \/All \/FeatureName:Microsoft-Hyper-V<\/strong><\/p>\n<!-- \/wp:paragraph -->","_en_post_name":"enable-hyper-v-windows-10-home","_en_post_excerpt":"","_en_post_title":"Enable Hyper-V Windows 10 Home","_de_post_content":"","_de_post_name":"","_de_post_excerpt":"","_de_post_title":"","edit_language":"en","footnotes":""},"categories":[12],"tags":[],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/comments?post=195"}],"version-history":[{"count":3,"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":198,"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/posts\/195\/revisions\/198"}],"wp:attachment":[{"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/media?parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/categories?post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simons.tools\/en\/wp-json\/wp\/v2\/tags?post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}