Skip to content

Instantly share code, notes, and snippets.

@avipars
Created September 20, 2022 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avipars/bdd57d2f722823e4296403cd86cae664 to your computer and use it in GitHub Desktop.
Save avipars/bdd57d2f722823e4296403cd86cae664 to your computer and use it in GitHub Desktop.
Enable gpedit on windows 10 and 11 home
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
@avipars
Copy link
Author

avipars commented Sep 20, 2022

Run CMD with admin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment