Created
March 30, 2019 14:15
-
-
Save 47star/09c64d6de9b9a5a8bd4d21a511683694 to your computer and use it in GitHub Desktop.
Install Group Policy Editor in Windows 10 Home.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | |
$features = Get-ChildItem $env:systemroot"\servicing\Packages\" -Filter "Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum" | |
$features += Get-ChildItem $env:systemroot"\servicing\Packages\" -Filter "Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum" | |
Foreach($feature in $features) { | |
dism /online /norestart /add-package:$env:systemroot"\servicing\Packages\"$feature | |
} | |
echo "" | |
echo "" | |
echo "" | |
echo "잠시 기다려 주십시오." | |
Start-Sleep -s 5 | |
gpedit.msc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment