Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When slimming down the ISO, an error occurred: Error: 0xc1420114. #235

Open
TakamiChika1 opened this issue Aug 25, 2024 · 7 comments
Open

Comments

@TakamiChika1
Copy link

TakamiChika1 commented Aug 25, 2024

tiny11.log
The error occurred during the system streamlining, as shown in the log code below.
Deployment Image Servicing and Management tool
Version: 10.0.27686.1000

Error: 0xc1420114

The user attempted to mount to a directory that is not empty. This is not supported.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
Default system UI language code not found.
Architecture: amd64
Mounting complete! Performing removal of applications...

Removing OneDrive:
Remove-Item : Cannot find path "C:\scratchdir\Windows\System32\OneDriveSetup.exe" because it does not exist.
At F:\Tiny11\tiny11maker.ps1:132 char: 1

  • Remove-Item -Path "$mainOSDrive\scratchdir\Windows\System32\OneDriveS ...
  •   + CategoryInfo          : ObjectNotFound: (C:\scratchdir\W...eDriveSetup.exe:String) [Remove-Item], ItemNotFoundException
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
    

Removal complete!
Loading registry...
Bypassing system requirements (on the system image):
Disabling Sponsored Apps:
Enabling Local Accounts on OOBE:
Disabling Reserved Storage:
Disabling Chat icon:
Disabling OneDrive folder backup
Disabling Telemetry: True
Cannot call a method on a null-valued expression.
At F:\Tiny11\tiny11maker.ps1:283 char: 1

  • $regACL = $regKey.GetAccessControl()
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    

Owner changed to Administrators.
Cannot call a method on a null-valued expression.
At F:\Tiny11\tiny11maker.ps1:284 char: 1

  • $regACL.SetOwner($adminGroup)
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    

Permissions modified for Administrators group.
Registry key permissions successfully updated.
Cannot call a method on a null-valued expression.
At F:\Tiny11\tiny11maker.ps1:295 char: 1

  • $regKey.Close()
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    

Deleting Application Compatibility Appraiser
Deleting Customer Experience Improvement Program
Deleting Program Data Updater
Deleting autochk proxy
Deleting QueueReporting
Tweaking complete!
Unmounting Registry...
Cannot call a method on a null-valued expression.
At F:\Tiny11\tiny11maker.ps1:312 char: 1

  • $regKey.Close()
  •   + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
    

Operation completed successfully.
Cleaning up image...
Cleanup complete.

Unmounting image...

Deployment Image Servicing and Management tool
Version: 10.0.27686.1000

Error: 5
Access is denied.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
Exporting image...
May I ask if this is an error?

@sereksim
Copy link

sereksim commented Aug 25, 2024

I've got a similar error, during the removal of unecessary components:

relevant part of the logfile

...

Deployment Image Servicing and Management tool
Version: 10.0.19041.3636

Image Version: 10.0.22631.2861

The operation completed successfully.
Removing Edge:
Removing OneDrive:
Removal complete!
Loading registry...
Bypassing system requirements(on the system image):
Disabling Sponsored Apps:
Enabling Local Accounts on OOBE:
Disabling Reserved Storage:
Disabling Chat icon:
Removing Edge related registries
Disabling OneDrive folder backup
Disabling Telemetry:
False
Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Zeichen:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException
Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Zeichen:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Zeichen:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Zeichen:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:322 Zeichen:1
+ $regACL.SetOwner($adminGroup)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:322 Zeichen:1
+ $regACL.SetOwner($adminGroup)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:323 Zeichen:1
+ $regKey.SetAccessControl($regACL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:323 Zeichen:1
+ $regKey.SetAccessControl($regACL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:324 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:324 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Owner changed to Administrators.
Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:326 Zeichen:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException
Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:326 Zeichen:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:327 Zeichen:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:327 Zeichen:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:329 Zeichen:1
+ $regACL.SetAccessRule($regRule)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:329 Zeichen:1
+ $regACL.SetAccessRule($regRule)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:330 Zeichen:1
+ $regKey.SetAccessControl($regACL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:330 Zeichen:1
+ $regKey.SetAccessControl($regACL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Permissions modified for Administrators group.
Registry key permissions successfully updated.
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:333 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:333 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Deleting Application Compatibility Appraiser
Deleting Customer Experience Improvement Program
Deleting Program Data Updater
Deleting autochk proxy
Deleting QueueReporting
Tweaking complete!
Unmounting Registry...
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:350 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:350 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Der Vorgang wurde erfolgreich beendet.
Cleaning up image...
Cleanup complete.

Unmounting image...

...

Some of the output is in german, translated to english the errors mean:

Exception when calling “OpenSubKey” with 3 argument(s): “The requested registry access is not permitted.”
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Character:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException
It is not possible to call a method for an expression that has the value NULL.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Character:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

In the PowerShell window, additionally there was the output FEHLER: Zugriff verweigert and FEHLER: Falscher Parameter., meaning ERROR: Access Denied. and ERROR: Wrong Parameter. These messages are not in the logfile, but they appear at the same time like the errors in the logfile.

Output of PowerShell window

...

Disabling Telemetry:
False
Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Zeichen:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Zeichen:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:322 Zeichen:1
+ $regACL.SetOwner($adminGroup)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:323 Zeichen:1
+ $regKey.SetAccessControl($regACL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:324 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Owner changed to Administrators.
Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:326 Zeichen:1
+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:327 Zeichen:1
+ $regACL = $regKey.GetAccessControl()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:329 Zeichen:1
+ $regACL.SetAccessRule($regRule)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:330 Zeichen:1
+ $regKey.SetAccessControl($regACL)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Permissions modified for Administrators group.
Registry key permissions successfully updated.
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:333 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

Deleting Application Compatibility Appraiser
FEHLER: Zugriff verweigert        // = ERROR: Access Denied
Deleting Customer Experience Improvement Program
FEHLER: Zugriff verweigert
FEHLER: Zugriff verweigert
FEHLER: Zugriff verweigert
Deleting Program Data Updater
FEHLER: Zugriff verweigert
Deleting autochk proxy
FEHLER: Zugriff verweigert
FEHLER: Zugriff verweigert
Deleting QueueReporting
FEHLER: Zugriff verweigert
Tweaking complete!
Unmounting Registry...
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:350 Zeichen:1
+ $regKey.Close()
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

FEHLER: Falscher Parameter.        // = ERROR: Wrong Parameter.
FEHLER: Falscher Parameter.
Der Vorgang wurde erfolgreich beendet.
Cleaning up image...
Cleanup complete.

Unmounting image...

...

The same error InvokeMethodOnNull appears later again.
The script completes successfully after that. I have not tried if the resulting .iso is working.

complete tiny11.log

@TakamiChika1
Copy link
Author

I've got a similar error, during the removal of unecessary components:

relevant part of the logfile

...



Deployment Image Servicing and Management tool

Version: 10.0.19041.3636



Image Version: 10.0.22631.2861



The operation completed successfully.

Removing Edge:

Removing OneDrive:

Removal complete!

Loading registry...

Bypassing system requirements(on the system image):

Disabling Sponsored Apps:

Enabling Local Accounts on OOBE:

Disabling Reserved Storage:

Disabling Chat icon:

Removing Edge related registries

Disabling OneDrive folder backup

Disabling Telemetry:

False

Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Zeichen:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException

Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Zeichen:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Zeichen:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Zeichen:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:322 Zeichen:1

+ $regACL.SetOwner($adminGroup)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:322 Zeichen:1

+ $regACL.SetOwner($adminGroup)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:323 Zeichen:1

+ $regKey.SetAccessControl($regACL)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:323 Zeichen:1

+ $regKey.SetAccessControl($regACL)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:324 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:324 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Owner changed to Administrators.

Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:326 Zeichen:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException

Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:326 Zeichen:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:327 Zeichen:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:327 Zeichen:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:329 Zeichen:1

+ $regACL.SetAccessRule($regRule)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:329 Zeichen:1

+ $regACL.SetAccessRule($regRule)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:330 Zeichen:1

+ $regKey.SetAccessControl($regACL)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:330 Zeichen:1

+ $regKey.SetAccessControl($regACL)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Permissions modified for Administrators group.

Registry key permissions successfully updated.

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:333 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:333 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Deleting Application Compatibility Appraiser

Deleting Customer Experience Improvement Program

Deleting Program Data Updater

Deleting autochk proxy

Deleting QueueReporting

Tweaking complete!

Unmounting Registry...

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:350 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:350 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Der Vorgang wurde erfolgreich beendet.

Cleaning up image...

Cleanup complete.



Unmounting image...



...

Some of the output is in german, translated to english the errors mean:


Exception when calling “OpenSubKey” with 3 argument(s): “The requested registry access is not permitted.”

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Character:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException


It is not possible to call a method for an expression that has the value NULL.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Character:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull

In the PowerShell window, additionally there was the output FEHLER: Zugriff verweigert and FEHLER: Falscher Parameter., meaning ERROR: Access Denied. and ERROR: Wrong Parameter. These messages are not in the logfile, but they appear at the same time like the errors in the logfile.

Output of PowerShell window

...



Disabling Telemetry:

False

Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:320 Zeichen:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:321 Zeichen:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:322 Zeichen:1

+ $regACL.SetOwner($adminGroup)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:323 Zeichen:1

+ $regKey.SetAccessControl($regACL)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:324 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Owner changed to Administrators.

Ausnahme beim Aufrufen von "OpenSubKey" mit 3 Argument(en):  "Der angeforderte Registrierungszugriff ist unzulässig."

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:326 Zeichen:1

+ $regKey = [Microsoft.Win32.Registry]::LocalMachine.OpenSubKey("zSOFTW ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : SecurityException



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:327 Zeichen:1

+ $regACL = $regKey.GetAccessControl()

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:329 Zeichen:1

+ $regACL.SetAccessRule($regRule)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:330 Zeichen:1

+ $regKey.SetAccessControl($regACL)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Permissions modified for Administrators group.

Registry key permissions successfully updated.

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:333 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



Deleting Application Compatibility Appraiser

FEHLER: Zugriff verweigert        // = ERROR: Access Denied

Deleting Customer Experience Improvement Program

FEHLER: Zugriff verweigert

FEHLER: Zugriff verweigert

FEHLER: Zugriff verweigert

Deleting Program Data Updater

FEHLER: Zugriff verweigert

Deleting autochk proxy

FEHLER: Zugriff verweigert

FEHLER: Zugriff verweigert

Deleting QueueReporting

FEHLER: Zugriff verweigert

Tweaking complete!

Unmounting Registry...

Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.

In C:\Users\Reception\Downloads\tiny11builder-main\tiny11builder-main\tiny11maker.ps1:350 Zeichen:1

+ $regKey.Close()

+ ~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

    + FullyQualifiedErrorId : InvokeMethodOnNull



FEHLER: Falscher Parameter.        // = ERROR: Wrong Parameter.

FEHLER: Falscher Parameter.

Der Vorgang wurde erfolgreich beendet.

Cleaning up image...

Cleanup complete.



Unmounting image...



...

The same error InvokeMethodOnNull appears later again.

The script completes successfully after that. I have not tried if the resulting .iso is working.

complete tiny11.log

I have already tested it, and after the error occurs, the ISOs are all invalid (tested in a VMware Workstation virtual machine).

@Maniac85
Copy link

Maniac85 commented Sep 2, 2024

I had the same issues and after installing windows I had definitely no tiny version 🤣

@foltz61
Copy link

foltz61 commented Sep 2, 2024

I was having the 0xc1420114 error also. I found it was because C:\scratchdir already existed. I had to do the following tp remove it and finally got passed the error

Run PowerShell or Terminal as an administrator

Type takeown /F "C:\scratchdir" /R /A

Type icacls "C:\scratchdir" /grant Administrators:F /T

Type Remove-Item -Path "C:\scratchdir" -Recurse -Force

@TakamiChika1
Copy link
Author

I had the same issues and after installing windows I had definitely no tiny version 🤣

I feel that the problem comes from the folder C:\scratchdir

@foltz61
Copy link

foltz61 commented Sep 3, 2024

Making sure C:\scratchdir was removed and also running tiny11maker.ps1 by right clicking it and selecting "Run with Powershell" was the only way it worked for me

Edit:

Making a slimmed down ISO worked but upon trying to install it today I got the error that "install.wim" was missing.

@foltz61
Copy link

foltz61 commented Sep 4, 2024

I ran the build again and the "install.wim" issue went away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants