# Windows群組原則編輯器(gpedit.msc) ## 家用版如何開啟群組原則 執行此批次檔開啟,適用於win7~win11 ```bash= @echo off pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" pause ``` 參考: [Win10/Win11 家用版開啟本機群組原則編輯器(gpedit.msc)](https://adersaytech.com/kb-article/enable-gpedit-on-home-edition.html) [如何在家用版 Windows 開啟本機群組原則編輯器 gpedit.msc](https://unikoshardware.com/2020/01/windows-home-edition-enable-gpedit-msc.html) ## 群組原則如何備份與還原 微軟提供了Backup-GPO和Restore-GPO兩個PowerShell Cmdlet [**Backup-GPO 傳送門**](https://docs.microsoft.com/en-us/powershell/module/grouppolicy/backup-gpo?view=windowsserver2022-ps&viewFallbackFrom=win10-ps),[**Restore-GPO 傳送門**](https://docs.microsoft.com/zh-tw/previous-versions/windows/powershell-scripting/hh967454(v=wps.620)?redirectedfrom=MSDN) PowerShell我查了一下,從win7 sp1開始都是內建PowerShell了([參考](https://docs.microsoft.com/zh-tw/powershell/scripting/windows-powershell/install/installing-windows-powershell?view=powershell-7.2))
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.