Jump to content

DMD61

Member
  • Posts

    56
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Italy

About DMD61

Contact Methods

  • Website URL
    http://

Profile Information

  • OS
    Windows 10 x64

Recent Profile Visitors

1,732 profile views

DMD61's Achievements

0

Reputation

  1. Thank you very much for the explanation. Now I understand the reason why you can't install apps in sysprep mode.
  2. @mina7601 Thank you for this alternative method. @UCyborgI followed the procedure, and entered the Powershell command as administrator, in the virtual machine I still don't see the App. Nevertheless I performed stop and generalize, and after that I created new ISO and verified that the App is not present. Did I do something wrong in the procedure? Thank you
  3. I thank you very much for the valuable information. I ask a stupid question, where do I get the url link of the app in the Microsoft Store?
  4. Good morning. I detect this error message due to the installation of an App (SpeedtestbyOokla) from the store that returned the following message: 023-10-02 12:20:55, Error SYSPRP Package Ookla.SpeedtestbyOokla_1.16.165.0_x64__43tkc6nmykmb6 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. 2023-10-02 12:20:55, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2023-10-02 12:20:55, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2023-10-02 12:20:55, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2023-10-02 12:20:55, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2023-10-02 12:20:55, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2 2023-10-02 12:20:55, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2023-10-02 12:20:55, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 Only by uninstalling this App is generalization possible. I ask if there is a procedure to install third-party Apps avoiding the sysprep error. I also tried disconnecting the network, after installing the APP, but I get the same error message. Thank you
  5. Thanks for the information. But I found the cause of the problem and the solution. Since a few days ago to save the number of usb sticks, I created the bootable usb stick not as I used to do with RUFUS but with Ventoy so that I can insert more ISOs of operating systems and tools. And it is just the usb stick created with Ventoy that does not allow me to run RunOnceEx, the usb stick created with Rufus works without problems. To solve definitavemene the problem with multiboot software like Ventoy in this way: I found the script solution to make the RunOnceEx procedure work on Ventoy as well. It involves synthesizing the "Software" folder in the Windows directoty and then when the Windows installation is finished, when you enter the user name via the registry the programs in the "Software" folder are installed and when it finishes all the installations, the "Software" folder is deleted. Setupcomplete @echo off SET CDROM=%WINDIR%\Setup REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f REG ADD %KEY% /V Title /D "Post Installation..." /f >NUL REG ADD %KEY%\06 /VE /D "Calcolatrice Legacy" /f >NUL REG ADD %KEY%\06 /V 1 /D "%CDROM%\Software\Calcolatrice_Legacy_2.0.exe" /f >NUL REG ADD %KEY%\42 /VE /D "Deleting Setup folder" /f >NUL REG ADD %KEY%\42 /V 1 /D "%CDROM%\Software\Deleting_Setup_folder.bat" /f >NUL EXIT Deleting_Setup_folder echo off cls rem -----Deleting_Setup_folder-------- rd "%windir%\Setup" /S /Q exit
  6. Good morning. I am struggling with a strange RunOnceEx situation. I have been using this procedure for years from W7 up to W11 22H2 and it works regularly on both HOST PC and virtual machine, but these days an unexplainable thing happens to me. When I run this procedure on a newly built pc with Ryzen 9 7950X and still running W11 22H2, the RunOceEx does not run, when I try the same ISO with RunOnceEx on another PC or virtual machine it runs. I have been going crazy for a few days and can't figure out why and don't know what solution to look for. Any ideas? This is the "setupcomplete.cmd" script that I have always uitilized. Sincerely thank you
  7. Good morning. For a few months, I have been testing on a virtual machine to integrate some tools into the ISO of Windows (W10 V20H2) using the former runonce procedure used for years, but I can't make it run, I checked the scripts and they are all ok. Then to not waste time to install the ISO every time to see if it is executed directly the "setupcomplete.cmd" script directly and the log key is created with the launch programs in the path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEX". But when the system restarts the programs are not executed. Some idea? Cordially thank you
  8. This is the structure normally used that it works with the install.wim
  9. Good morning The procedure RunOnceEx runs smoothly, integrated in ISO of Windows 10, however, I noticed a problem. If in ISO is the install.wim file everything works regularly, but if I convert that file into .esd format to decrease the size, Runonce system no longer works and can not figure out why. Perhaps with install.esd files this procedure is not supported? Sincerely thank you
  10. This is true, also works in the main route %homedrive%. The path %localappdata% good for the installer directly and also allows the uninstall, as it is a hidden folder. If it is done manually, as in my case, I have to enable the display of hidden folders. Thanks for your interest
  11. Good morning For years, I delight in creating small self-extracting files for free programs, and I would like to understand why what I can do normally in W7 I no longer possible in W10. If the example is copied in "C:\Program Files (x86)" folder full of JDowloader complete executable. If this is done manually, everything works perfectly. If I create a self-extracting file with WinRAR, when I launch the executable returns an error to some files in it. The same self-extracting file installed on W7 works without problems, what I think is that in W10 is not allowed under the "Program Files (x86)" and the like, the automatic extraction of some files. Perhaps because they changed the management in terms of safety. Is there any command or script to insert different procedure? Sincerely thank you
  12. Good morning I want to create an ISO of W10 removing apps that are unnecessary. For example if I want to delete Get Office just run a powershell command like this: powershell "Get-AppxPackage -allusers *officehub* | Remove-AppxPackage" > NUL 2>&1 This command then I insert it in a batch file @echo off powershell "Get-AppxPackage -allusers *officehub* | Remove-AppxPackage" > NUL 2>&1 exit This command then I insert it into a batch file (Delete_GetOffice.bat) This file is placed in the "Software" folder in the root of the ISO of Windows 10 Then I created the file Setupcomplete.cmd @echo off for %%w IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%w:\sources\install.wim SET CDROM=%%w: REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f REG ADD %KEY% /V Title /D "Post Installation..." /f >NUL REG ADD %KEY%\01 /VE /D "Delete_GetOffice" /f >NUL REG ADD %KEY%\01 /V 1 /D "%CDROM%\Software\Delete_GetOffice.bat" /f >NUL exit and inserted in ISO of Windows 10 During the nstallation RunOnce runs normally and Powershell command brings up a notice of elimination the App. But when I open the start menu appears GetOffice yet. To be sure that the command is correct, you copy the batch file on the desktop and launch the app GetOffice is eliminated normally. I do not understand why so run Once the app is not deleted, mistake in the procedure? Thank you
  13. I thought this was possible, for example by inserting a registry key or a script bat, simulating the update installed, so that they may believe that Windows update is installed and does not do more to appear in search.
×
×
  • Create New...