Win10解决gpedit.msc无效问题

60次阅读

共计 2472 个字符,预计需要花费 7 分钟才能阅读完成。

Win10 家庭版解决 gpedit.msc 无效的问题
在安装 Oracle Database 时候,安装过程报了一个错误,搜索后网友提供的解决方法是通过设置修改本地组的一些配置,但是我这 Win10 家庭版使用“win + r”输入“gpedit.msc”会提示找不到 … 哎,解决它。接下来是解决步骤:
建立 gpedit.cmd 文件,在桌面建文件比较方便
打开文件并输入以下内容:
@echo off

pushd “%~dp0″

dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt

dir /b C:\Windows\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:”C:\Windows\servicing\Packages\%%i”

pause
右键点击 Run as Administrator

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1029

Processing 1 of 1 – Adding package Microsoft-Windows-GroupPolicy-ClientExtensions-Package~31bf3856ad364e35~amd64~en-US~10.0.16299.15
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1029

Processing 1 of 1 – Adding package Microsoft-Windows-GroupPolicy-ClientExtensions-Package~31bf3856ad364e35~amd64~zh-CN~10.0.16299.15
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1029

Processing 1 of 1 – Adding package Microsoft-Windows-GroupPolicy-ClientExtensions-Package~31bf3856ad364e35~amd64~~10.0.16299.15
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1029

Processing 1 of 1 – Adding package Microsoft-Windows-GroupPolicy-ClientTools-Package~31bf3856ad364e35~amd64~en-US~10.0.16299.15
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1029

Processing 1 of 1 – Adding package Microsoft-Windows-GroupPolicy-ClientTools-Package~31bf3856ad364e35~amd64~zh-CN~10.0.16299.15
[==========================100.0%==========================]
The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1029

Processing 1 of 1 – Adding package Microsoft-Windows-GroupPolicy-ClientTools-Package~31bf3856ad364e35~amd64~~10.0.16299.15
[==========================100.0%==========================]
The operation completed successfully.
Press any key to continue . . .
出现以上提示说明运行成功
win + R,输入 gpedit.msc 验证,出现下方图片即完成

接下来去解决 Oracle 的问题,顺便记录 Oracle 18c 的安装过程。

正文完
 0