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

A bunch of errors occurred #264

Open
dieBakterie opened this issue Nov 2, 2024 · 2 comments
Open

A bunch of errors occurred #264

dieBakterie opened this issue Nov 2, 2024 · 2 comments

Comments

@dieBakterie
Copy link

ISO was Windows 11 (24H2, x64, amd64, German) via tiny11maker, had to add Import-Module Microsoft.PowerShell.Security to prevent Get-ExecutionPolicy from failing! Sorry if i had done something wrong, but i allowed script execution but it still said it's Restricted, had to do it in PowerShell ISE(Admin) to get the script executing(said unrestricted when testing via Get-ExecutionPolicy beforehand tho). See below for more detailed Infos!

Log:

**********************
PowerShell transcript start
Start time: 20241102150955
Username: DESKTOP-N35T1B1\Dolphin
RunAs User: DESKTOP-N35T1B1\Dolphin
Configuration Name: 
Machine: DESKTOP-N35T1B1 (Microsoft Windows NT 10.0.19045.0)
Host Application: C:\Program Files\PowerShell\7\pwsh.dll
Process ID: 8272
PSVersion: 7.4.6
PSEdition: Core
GitCommitId: 7.4.6
OS: Microsoft Windows 10.0.19045
Platform: Win32NT
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
**********************
Transcript started, output file is C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11.log
Welcome to the tiny11 image creator! Release: 05-06-24
Copying Windows image...
Copy complete!
Getting image information:
Size : 19.340.624.715 bytes

Index : 6
Name : Windows 11 Pro N
Description : Windows 11 Pro N
Size : 18.798.395.501 bytes

Index : 7
Name : Windows 11 Pro Education
Description : Windows 11 Pro Education
Size : 19.338.374.144 bytes

Index : 8
Name : Windows 11 Pro Education N
Description : Windows 11 Pro Education N
Size : 18.795.813.311 bytes

Index : 9
Name : Windows 11 Pro for Workstations
Description : Windows 11 Pro for Workstations
Size : 19.338.424.782 bytes

Index : 10
Name : Windows 11 Pro N for Workstations
Description : Windows 11 Pro N for Workstations
Size : 18.795.839.080 bytes

The operation completed successfully.
Mounting Windows image. This may take a while.



Default system UI language code not found.
Architecture information not found.
Mounting complete! Performing removal of applications...
Removing Edge:
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:132
Line |
 132 |  Remove-Item -Path "$mainOSDrive\scratchdir\Program Files (x86)\Micros …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Program Files (x86)\Microsoft\Edge' because it does not exist.
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:132
Line |
 132 |  Remove-Item -Path "$mainOSDrive\scratchdir\Program Files (x86)\Micros …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Program Files (x86)\Microsoft\Edge' because it does not exist.

Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:133
Line |
 133 |  Remove-Item -Path "$mainOSDrive\scratchdir\Program Files (x86)\Micros …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Program Files (x86)\Microsoft\EdgeUpdate' because it does not exist.
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:133
Line |
 133 |  Remove-Item -Path "$mainOSDrive\scratchdir\Program Files (x86)\Micros …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Program Files (x86)\Microsoft\EdgeUpdate' because it does not exist.

Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:134
Line |
 134 |  Remove-Item -Path "$mainOSDrive\scratchdir\Program Files (x86)\Micros …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Program Files (x86)\Microsoft\EdgeCore' because it does not exist.
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:134
Line |
 134 |  Remove-Item -Path "$mainOSDrive\scratchdir\Program Files (x86)\Micros …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Program Files (x86)\Microsoft\EdgeCore' because it does not exist.

Unknown architecture:
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:160
Line |
 160 |  Remove-Item -Path "$mainOSDrive\scratchdir\Windows\System32\Microsoft …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Windows\System32\Microsoft-Edge-Webview' because it does not exist.
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:160
Line |
 160 |  Remove-Item -Path "$mainOSDrive\scratchdir\Windows\System32\Microsoft …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Windows\System32\Microsoft-Edge-Webview' because it does not exist.

Removing OneDrive:
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:164
Line |
 164 |  Remove-Item -Path "$mainOSDrive\scratchdir\Windows\System32\OneDriveS …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Windows\System32\OneDriveSetup.exe' because it does not exist.
Remove-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:164
Line |
 164 |  Remove-Item -Path "$mainOSDrive\scratchdir\Windows\System32\OneDriveS …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\scratchdir\Windows\System32\OneDriveSetup.exe' because it does not exist.

Removal complete!
Loading registry...
Bypassing system requirements(on the system image):
Disabling Sponsored Apps:
Enabling Local Accounts on OOBE:
Copy-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:217
Line |
 217 |  Copy-Item -Path "$PSScriptRoot\autounattend.xml" -Destination "$mainO …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find a part of the path 'C:\scratchdir\Windows\System32\Sysprep\autounattend.xml'.
Copy-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:217
Line |
 217 |  Copy-Item -Path "$PSScriptRoot\autounattend.xml" -Destination "$mainO …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find a part of the path 'C:\scratchdir\Windows\System32\Sysprep\autounattend.xml'.

Disabling Reserved Storage:
Disabling Chat icon:
Removing Edge related registries
Disabling OneDrive folder backup
Disabling Telemetry:
False
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:318
Line |
 318 |  $regACL = $regKey.GetAccessControl()
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:318
Line |
 318 |  $regACL = $regKey.GetAccessControl()
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:319
Line |
 319 |  $regACL.SetOwner($adminGroup)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:319
Line |
 319 |  $regACL.SetOwner($adminGroup)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:320
Line |
 320 |  $regKey.SetAccessControl($regACL)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:320
Line |
 320 |  $regKey.SetAccessControl($regACL)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:321
Line |
 321 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:321
Line |
 321 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

Owner changed to Administrators.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:324
Line |
 324 |  $regACL = $regKey.GetAccessControl()
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:324
Line |
 324 |  $regACL = $regKey.GetAccessControl()
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:326
Line |
 326 |  $regACL.SetAccessRule($regRule)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:326
Line |
 326 |  $regACL.SetAccessRule($regRule)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:327
Line |
 327 |  $regKey.SetAccessControl($regACL)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:327
Line |
 327 |  $regKey.SetAccessControl($regACL)
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

Permissions modified for Administrators group.
Registry key permissions successfully updated.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:330
Line |
 330 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:330
Line |
 330 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

Deleting Application Compatibility Appraiser
Deleting Customer Experience Improvement Program
Deleting Program Data Updater
Deleting autochk proxy
Deleting QueueReporting
Tweaking complete!
Unmounting Registry...
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:347
Line |
 347 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:347
Line |
 347 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.


Cleaning up image...
Cleanup complete.

Unmounting image...

Exporting image...

Rename-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:364
Line |
 364 |  Rename-Item -Path "$mainOSDrive\tiny11\sources\install2.wim" -NewName …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\tiny11\sources\install2.wim' because it does not exist.
Rename-Item: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:364
Line |
 364 |  Rename-Item -Path "$mainOSDrive\tiny11\sources\install2.wim" -NewName …
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path 'C:\tiny11\sources\install2.wim' because it does not exist.

Windows image completed. Continuing with boot.wim.
Mounting boot image:
Bearbeitete Datei: C:\tiny11\sources\boot.wim
1 Dateien erfolgreich verarbeitet, bei 0 Dateien ist ein Verarbeitungsfehler aufgetreten.

Deployment Image Servicing and Management tool
Version: 10.0.19041.3636

Mounting image
[==========================100.0%==========================]
The operation completed successfully.
Loading registry...
Der Vorgang wurde erfolgreich beendet.
Der Vorgang wurde erfolgreich beendet.
Der Vorgang wurde erfolgreich beendet.
Der Vorgang wurde erfolgreich beendet.
Der Vorgang wurde erfolgreich beendet.
Bypassing system requirements(on the setup image):
Tweaking complete!
Unmounting Registry...
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:393
Line |
 393 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:393
Line |
 393 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:399
Line |
 399 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11maker.ps1:399
Line |
 399 |  $regKey.Close()
     |  ~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.


Unmounting image...

The tiny11 image is now completed. Proceeding with the making of the ISO...
Copying unattended file for bypassing MS account on OOBE...
Creating ISO image...
Will be using bundled oscdimg.exe.

OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
Copyright (C) Microsoft, 1993-2012. All rights reserved.
Licensed only for producing Microsoft authorized content.


Scanning source tree (1000 files in 97 directories)
Scanning source tree complete (1056 files in 103 directories)

Computing directory information complete

Image file is 836960256 bytes (before optimization)

Writing 1056 files in 103 directories to C:\Users\Dolphin\Downloads\tiny11builder-06-05-24\tiny11.iso

100% complete

Storage optimization saved 66 files, 15857664 bytes (2% of image)

After optimization, image file is 823592960 bytes
Space saved because of embedding, sparseness or optimization = 15857664

Done.
Creation completed! Press any key to exit the script...

Performing Cleanup...
**********************
PowerShell transcript end
End time: 20241102151257
**********************
@Karl-WE
Copy link
Contributor

Karl-WE commented Nov 6, 2024

remote related #263

@Karl-WE
Copy link
Contributor

Karl-WE commented Nov 18, 2024

@dieBakterie
Please use the latest file as described here and close the issue if resolved.

#263 (comment)

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

2 participants