[Windows] Win10 Home安裝啟用GPEdit.Msc (Group Policy Editor)

Intro

Windows 10 Home可沒有gpedit.msc,需要另外手動安裝。


安裝啟用

下載GPEdit.Msc啟用BAT檔:

GPEdit Enabler for Windows 10 Home Edition

使用管理員權限(使用到DISM)執行安裝並重開機後,Windows Run即可支援gpedit.msc


BAT原理

怕載點失效嗎?

原理就只是執行已安裝OS內的Package,所以自己生成的BAT Commands為:

@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

將以上指令碼生成.bat檔用系統管理員身分執行即可。

3 thoughts on “[Windows] Win10 Home安裝啟用GPEdit.Msc (Group Policy Editor)

  1. Your blog is great. I read a lot of interesting things from it. Thank you very much for sharing. Hope you will update more news in the future.

  2. 載點BAT檔好像有問題 與文章內敘述語法不同
    以文章語法自行製作bat的確成功

Leave a Reply

Your email address will not be published. Required fields are marked *