gpedit not installed correctly after upgrade from home to pro


jacobacci

Well-known member
Member
Local time
8:57 PM
Posts
64
OS
Windows 11 25H2
I should have known better. I tried to manually install gpedit on a Win 11 Home laptop. The install did not run through completely and left me with a gpedit that throws up error messages about missing components when it tries to launch.
So next I upgraded Win 11 Home to Pro, hoping that gpedit would complete installation and work. But it is still showing the same error messages about missing components.
I then tried to manually install gpedit again, but it wont go beyond the first install command.
How can I "reset" or completely reinstall gepedit?
 

My Computer

System One

  • OS
    Windows 11 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i7-12700F
    Motherboard
    MSI PRO B660-A DDR4
    Memory
    CORSAIR Vengeance LPX - DDR4 - kit - 32 GB: 2 x 16 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    onboard
    Monitor(s) Displays
    ASUS PA32UCX
    Screen Resolution
    3840x2160
    Hard Drives
    ADATA SP900
    AVAGO MR9361-8i SCSI with 3x Exos X20
    PSU
    Corsair RM650X
    Case
    Fractal Design Define R5 Blackout Edition
    Cooling
    Noctua CPU and Case Fans
    Keyboard
    Unicomp Model M
    Mouse
    Logitech MX Master
    Internet Speed
    1Gb/s
    Browser
    MS Edge
    Antivirus
    Microsoft Defender
try this and rename it to .bat all files
 

Attachments

My Computer

System One

  • OS
    windows 11 25H2
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 15 (X1504)
    Motherboard
    Intel Alder Lake-P PCH
    Memory
    24GB
    Graphics Card(s)
    iris xe
    Sound Card
    realtek
    Screen Resolution
    1920X1080
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Browser
    edge
    Antivirus
    eset anti virus
Thanks a lot Thierry. The batch file ran through, but I am still getting the following error message:

Screenshot 2025-10-19 152851.webp
 

My Computer

System One

  • OS
    Windows 11 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i7-12700F
    Motherboard
    MSI PRO B660-A DDR4
    Memory
    CORSAIR Vengeance LPX - DDR4 - kit - 32 GB: 2 x 16 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    onboard
    Monitor(s) Displays
    ASUS PA32UCX
    Screen Resolution
    3840x2160
    Hard Drives
    ADATA SP900
    AVAGO MR9361-8i SCSI with 3x Exos X20
    PSU
    Corsair RM650X
    Case
    Fractal Design Define R5 Blackout Edition
    Cooling
    Noctua CPU and Case Fans
    Keyboard
    Unicomp Model M
    Mouse
    Logitech MX Master
    Internet Speed
    1Gb/s
    Browser
    MS Edge
    Antivirus
    Microsoft Defender
Thanks a lot Thierry. The batch file ran through, but I am still getting the following error message:
How many files do you have in

Code:
C:\Windows\PolicyDefinitions
?

Within that folder, you may also have additional folders for each language pack installed.
The file AccountNotifications.admx content is:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!--  (c) 2015 Microsoft Corporation  -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
  <policyNamespaces>
    <target prefix="accountnotifications" namespace="Microsoft.Policies.AccountNotifications" />
    <using prefix="windows" namespace="Microsoft.Policies.Windows" />
  </policyNamespaces>
  <resources minRequiredRevision="1.0" />
  <categories>
    <category name="AccountNotifications" displayName="$(string.AccountNotifications)">
      <parentCategory ref="windows:WindowsComponents" />
    </category>
  </categories>
  <policies>
    <policy name="DisableAccountNotifications" class="User" displayName="$(string.DisableAccountNotifications)" explainText="$(string.DisableAccountNotificationsExplain)" key="SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications" valueName="DisableAccountNotifications">
      <parentCategory ref="AccountNotifications" />
      <supportedOn ref="windows:SUPPORTED_Windows_10_0_20H1_NOSERVER" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
  </policies>
</policyDefinitions>
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
There are 222 Files in C:\Windows\PolicyDefinitions
The content of AccountNotifications.admx is

Code:
<?xml version="1.0" encoding="utf-8"?>
<!--  (c) 2015 Microsoft Corporation  -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
  <policyNamespaces>
    <target prefix="accountnotifications" namespace="Microsoft.Policies.AccountNotifications" />
    <using prefix="windows" namespace="Microsoft.Policies.Windows" />
  </policyNamespaces>
  <resources minRequiredRevision="1.0" />
  <categories>
    <category name="AccountNotifications" displayName="$(string.AccountNotifications)">
      <parentCategory ref="windows:WindowsComponents" />
    </category>
  </categories>
  <policies>
    <policy name="DisableAccountNotifications" class="User" displayName="$(string.DisableAccountNotifications)" explainText="$(string.DisableAccountNotificationsExplain)" key="SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications" valueName="DisableAccountNotifications">
      <parentCategory ref="AccountNotifications" />
      <supportedOn ref="windows:SUPPORTED_Windows_10_0_20H1_NOSERVER" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
  </policies>
</policyDefinitions>
 

My Computer

System One

  • OS
    Windows 11 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i7-12700F
    Motherboard
    MSI PRO B660-A DDR4
    Memory
    CORSAIR Vengeance LPX - DDR4 - kit - 32 GB: 2 x 16 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    onboard
    Monitor(s) Displays
    ASUS PA32UCX
    Screen Resolution
    3840x2160
    Hard Drives
    ADATA SP900
    AVAGO MR9361-8i SCSI with 3x Exos X20
    PSU
    Corsair RM650X
    Case
    Fractal Design Define R5 Blackout Edition
    Cooling
    Noctua CPU and Case Fans
    Keyboard
    Unicomp Model M
    Mouse
    Logitech MX Master
    Internet Speed
    1Gb/s
    Browser
    MS Edge
    Antivirus
    Microsoft Defender
The needed files seem to be there but the botched installation seem to have created havoc.
Is that what you tried originally?

Code:
@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
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
this is what I did:

Code:
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
 

My Computer

System One

  • OS
    Windows 11 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i7-12700F
    Motherboard
    MSI PRO B660-A DDR4
    Memory
    CORSAIR Vengeance LPX - DDR4 - kit - 32 GB: 2 x 16 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    onboard
    Monitor(s) Displays
    ASUS PA32UCX
    Screen Resolution
    3840x2160
    Hard Drives
    ADATA SP900
    AVAGO MR9361-8i SCSI with 3x Exos X20
    PSU
    Corsair RM650X
    Case
    Fractal Design Define R5 Blackout Edition
    Cooling
    Noctua CPU and Case Fans
    Keyboard
    Unicomp Model M
    Mouse
    Logitech MX Master
    Internet Speed
    1Gb/s
    Browser
    MS Edge
    Antivirus
    Microsoft Defender
Can you uninstall the previous GpEdit app?

Do the regular troubleshooting. Open a Command Prompt as Admin. Copy and Paste or type
DISM /Online /CLEANUP-IMAGE /RestoreHealth and press Enter. When that finishes type
SFC /scannow and press Enter.
Until you see the message "Windows Resource Protection did not find any integrity violations"
 

My Computer

System One

  • OS
    Windows 11 Pro Insider 64 bit 25H2 26200.5742
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte Z390 UD
    CPU
    Intel Core i7 9700K 3.60
    Motherboard
    Gigabyte Z390 UD
    Memory
    16 GB
    Graphics Card(s)
    nVidia GEForce RTX 2060 Super
    Sound Card
    onboard
    Monitor(s) Displays
    Two 27" Dell 4K monitors
    Screen Resolution
    3840 x 2160
    Hard Drives
    M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
    PSU
    850w PSU
    Case
    Cyberpower PC
    Cooling
    Water cooled
    Keyboard
    Backlit Cyberpower gaming keyboard
    Mouse
    Backlit Cyberpower gaming mouse
    Internet Speed
    1 GB mbps
    Browser
    Brave
    Antivirus
    Windows Security
this is what I did:

Code:
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
This doesn't seem to create the file list as a .txt which is then used to grab the necessary package version.
The result might be the same but you could try to use the batch I posted.
It will not do further damage anyway.
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Can you uninstall the previous GpEdit app?

Do the regular troubleshooting. Open a Command Prompt as Admin. Copy and Paste or type
DISM /Online /CLEANUP-IMAGE /RestoreHealth and press Enter. When that finishes type
SFC /scannow and press Enter.
Until you see the message "Windows Resource Protection did not find any integrity violations"
That might be wiser to go that route.
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
DISM /Online /CLEANUP-IMAGE /RestoreHealth and press Enter. When that finishes type
SFC /scannow and press Enter.

This ran through ok, but the error message persisted.

I managed to solve the issue by copying the C:\Windows\Policy Definitions folder from a working machine to the troubled machine. I had to change permissions to copy the files by doing:

takeown /f %windir%\Policydefinitions /r /a
icacls %windir%\PolicyDefinitions /grant Administrators:(OI)(CI)F /t

Now everything seems ok.
Do I need to do something to revert permissions to default?
 

My Computer

System One

  • OS
    Windows 11 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i7-12700F
    Motherboard
    MSI PRO B660-A DDR4
    Memory
    CORSAIR Vengeance LPX - DDR4 - kit - 32 GB: 2 x 16 GB
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 Ti
    Sound Card
    onboard
    Monitor(s) Displays
    ASUS PA32UCX
    Screen Resolution
    3840x2160
    Hard Drives
    ADATA SP900
    AVAGO MR9361-8i SCSI with 3x Exos X20
    PSU
    Corsair RM650X
    Case
    Fractal Design Define R5 Blackout Edition
    Cooling
    Noctua CPU and Case Fans
    Keyboard
    Unicomp Model M
    Mouse
    Logitech MX Master
    Internet Speed
    1Gb/s
    Browser
    MS Edge
    Antivirus
    Microsoft Defender
Do I need to do something to revert permissions to default?
The administrators group being the owner should not give you any issues.
Time to leave GPE files alone. ;-)
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Changing permission on Windows is tricky because there is no way to switch back to default permission once you change it.

If your computer is running smoothly, than make an Image file of your computer using 3rd party app like the Free Hasleo Backup
Suite
and save the image to a USB HDD to restore if things go wrong again.
 

My Computer

System One

  • OS
    Windows 11 Pro Insider 64 bit 25H2 26200.5742
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte Z390 UD
    CPU
    Intel Core i7 9700K 3.60
    Motherboard
    Gigabyte Z390 UD
    Memory
    16 GB
    Graphics Card(s)
    nVidia GEForce RTX 2060 Super
    Sound Card
    onboard
    Monitor(s) Displays
    Two 27" Dell 4K monitors
    Screen Resolution
    3840 x 2160
    Hard Drives
    M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
    PSU
    850w PSU
    Case
    Cyberpower PC
    Cooling
    Water cooled
    Keyboard
    Backlit Cyberpower gaming keyboard
    Mouse
    Backlit Cyberpower gaming mouse
    Internet Speed
    1 GB mbps
    Browser
    Brave
    Antivirus
    Windows Security
Back
Top Bottom