How to install WinRAR for all users in audit mode?


RuLich

Looking for a companion to the world of adventures
Local time
10:00 PM
Posts
59
Location
Usa
Visit site
OS
Windows 10/11
Windows 11 v.21H2 build 22000.978

I have this system installed on a VMware workstation in audit mode.
If I install WinRar and use this command:
C:\Windows\System32\Sysprep\sysprep.exe /generalize /oobe

The operation fails with this error:

2022-09-15 08:07:25, Error SYSPRP Package WinRAR.ShellExtension_1.0.0.1_x64__s4jet1zx4n14a was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2022-09-15 08:07:25, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2022-09-15 08:07:25, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2022-09-15 08:07:25, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2022-09-15 08:07:25, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2022-09-15 08:07:25, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2022-09-15 08:07:25, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2022-09-15 08:07:25, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

How to install Winrar for all users in audit mode? After uninstalling WinRar, Sysprep works. Thank you for answer.

Windows 10 does not generate this error.
 
Windows Build/Version
Windows 11 v.21H2 build 22000.978

My Computers

System One System Two

  • OS
    Windows 10/11
    Computer type
    Laptop
    CPU
    AMD Ryzen 5 2600 Six
    Motherboard
    GIGABYTE B450 GAMING X / Seasonic Focus GX 550 Gold
    Memory
    32 GB DDR4
    Graphics Card(s)
    AMD Radeon RX 5500 XT
    Sound Card
    BMW
    Monitor(s) Displays
    Acer EK240YAbi - LED monitor 23,8"
  • Computer type
    Tablet
    Graphics card(s)
    BMW
    Sound Card
    BMW
So solved, I had to uncheck "integrate WinRar into Windows" in the settings. I have to set it up after installing the modified system.

But it would still be good to fix this error. Everything is fine in windows 10. It only happens with Wndows 11 in audit.
 

My Computers

System One System Two

  • OS
    Windows 10/11
    Computer type
    Laptop
    CPU
    AMD Ryzen 5 2600 Six
    Motherboard
    GIGABYTE B450 GAMING X / Seasonic Focus GX 550 Gold
    Memory
    32 GB DDR4
    Graphics Card(s)
    AMD Radeon RX 5500 XT
    Sound Card
    BMW
    Monitor(s) Displays
    Acer EK240YAbi - LED monitor 23,8"
  • Computer type
    Tablet
    Graphics card(s)
    BMW
    Sound Card
    BMW
Still no solution?
 

My Computers

System One System Two

  • OS
    Windows 10/11
    Computer type
    Laptop
    CPU
    AMD Ryzen 5 2600 Six
    Motherboard
    GIGABYTE B450 GAMING X / Seasonic Focus GX 550 Gold
    Memory
    32 GB DDR4
    Graphics Card(s)
    AMD Radeon RX 5500 XT
    Sound Card
    BMW
    Monitor(s) Displays
    Acer EK240YAbi - LED monitor 23,8"
  • Computer type
    Tablet
    Graphics card(s)
    BMW
    Sound Card
    BMW
Still no solution?
The error is not WinRAR install, but WinRAR shellextension (right click menu of mouse). The problem is new entries in the new right-click menu. The solution is:

Open PowerShell and write this:

get-appxpackage *winrar.shellextension* | remove-appxpackage

and press Enter

To make sure everything went well, right click on a file and see if WinRAR is gone from new menu of right click Windows 11
 

My Computer

System One

  • OS
    Windows 11

Latest Support Threads

Back
Top Bottom