Pushd "% ~ dp0
"
Dir/b % SystemRoot % \ servicing \ Packages \ *. * the Hyper - V mum & gt; The hyper - v.t xt
Findstr searches for/f % % I in ('/i. the hyper - v.t xt 2 ^ & gt; Nul ') do dism/online/norestart/add - package: "% SystemRoot % \ servicing \ Packages \ % % I"
Del the hyper - v.t xt
Dism/online/enable feature/featurename: Microsoft - the Hyper - V - All/LimitAccess/All
CodePudding user response:
This code do you use? The virtual machine can hold?
CodePudding user response: