Advertisement
Techrator

Group Policy Editor

Jun 24th, 2021
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. gpedit.msc is only available in the Pro and Enterprise Editions of Windows 10
  2.  
  3. if you are running Windows 10 Home, you will not have access to gpedit.msc and it cannot be installed into Windows 10 Home
  4.  
  5. Anything you need to do with gpedit.msc can normally also be achieved with an edit to your registry
  6.  
  7. Copy the text after this line into a txt file and after copy-pasting rename the file as gpedit-enabler.bat and then Run that file as administrator and wait for the installation to finish, now you have the Group Policy Editor File in your Windows.
  8. ___________________________________________________________________
  9. @echo off
  10.  
  11. pushd "%~dp0"
  12.  
  13.  
  14.  
  15. dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
  16.  
  17. dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
  18.  
  19.  
  20.  
  21. for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
  22.  
  23. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement