-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Comments
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:
In the PowerShell window, additionally there was the output 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 |
I have already tested it, and after the error occurs, the ISOs are all invalid (tested in a VMware Workstation virtual machine). |
I had the same issues and after installing windows I had definitely no tiny version 🤣 |
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 |
I feel that the problem comes from the folder C:\scratchdir |
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. |
I ran the build again and the "install.wim" issue went away. |
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
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
Owner changed to Administrators.
Cannot call a method on a null-valued expression.
At F:\Tiny11\tiny11maker.ps1:284 char: 1
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
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
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?
The text was updated successfully, but these errors were encountered: