Win10解决gpedit.msc无效问题

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验证,出现下方图片即完成

Win10解决gpedit.msc无效问题

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

相关推荐