Win10解決gpedit.msc無效問題

Win10家庭版解決gpedit.msc無效的問題

在安裝Oracle Database時候,安裝過程報了一個錯誤,搜索後網友提供的解決方法是經過設置修改本地組的一些配置,可是我這Win10家庭版使用 「win + r」 輸入 「gpedit.msc」 會提示找不到...哎,解決它。接下來是解決步驟:spa

創建gpedit.cmd文件,在桌面建文件比較方便

打開文件並輸入如下內容:rest

@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 . . .

出現以上提示說明運行成功code

win + R,輸入gpedit.msc驗證,出現下方圖片即完成

clipboard.png

接下來去解決Oracle的問題,順便記錄Oracle 18c的安裝過程。圖片

相關文章
相關標籤/搜索