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
檔用系統管理員身分執行即可。
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.
載點BAT檔好像有問題 與文章內敘述語法不同
以文章語法自行製作bat的確成功
@Nestic
載點目前測試確實已經失效!THX
Your style is unique in comparison to other people
I’ve read stuff from. Many thanks for posting when you have the opportunity, Guess
I’ll just bookmark this page.
有用 感謝您!!!
這個可用==