Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

  • Country


Posts posted by DMD61

  1. 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

  2. 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

  3. 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

  4. 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



    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




    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

  5. 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.

  6. Good evening
    Excuse me for the mistakes I'm using google translator


    I would use the instrallazione in sequence of the various software via RunOnceEX from external support as I used without problems in Windows 7.
    In Windows 8.1 when launching the file "RunOnceEx.cmd" I get the access denied message, due to the permissions of an administrator.
    Also, the launch of the self-extracting files they need the permission of the administrator, this happens even with UAC disabled.
    This is the script that I use as a test:


    @Echo OffSET PP=E:\Test_RunOnce\Progetto\Applicazioni_RunOnceREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /fSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /v Flags /t REG_DWORD /d "20" /fREG ADD %KEY% /V TITLE /D "Software Aggiuntivo" /fREG ADD %KEY%\0002 /VE /D "Installazione Programmi..." /fREG ADD %KEY%\0080 /V 1 /D "%PP%\0080_7-Zip_9.20.exe" /fREG ADD %KEY%\0940 /V 1 /D "%PP%\0940_FastStone_Viewer_5.1.exe" /fREG ADD %KEY%\3030 /V 1 /D "%PP%\3030_Restart.cmd" /fpauseENDLOCALEXIT

    And 'possible to solve this problem or do I adopt another procedure?


    Sincerely thank

  7. I wanted to create a copy of Windows 7 SP1 unattended with the Occasion of the SP1 release, and I thought to integrate via Slipstreamer RT7Lite with getting a new ISO.

    Then install the new ISO containing the SP1 I check it through the Microsoft Update, the patches that those remaining after SP1.



    Once downloaded individually, I created the ISO with RT7 Lite integrating the patches the MU I had reported earlier.

    At the final assessment of Micorsoft Update, KB947821 tells me the updates to be done between, you can solve this integration problem?


  8. I can not understand why 3 files are skipped cache.



    2010-05-12 23:05:26 : ########## <ERROR #1> C:\Program Files\Common Files\Windows Live\.cache\9ba31cc61ca2b46\dw20shared.msi was not found. Skipping MSI <ERROR #1> ##########
    2010-05-12 23:05:26 : ########## <ERROR #2> C:\Program Files\Common Files\Windows Live\.cache\a0496aca1ca2b46\crt.msi was not found. Skipping MSI <ERROR #2> ##########
    Live\.cache\ac3d38ba1ca2b46\WLXSuite.msi was not found. Skipping MSI <ERROR #3> ##########
    2010-05-12 23:05:26 : ########## <ERROR #4> C:\Program Files\Common Files\Windows Live\.cache\c6ff490f1ca2b46\Messenger.msi was not found. Skipping MSI <ERROR #4> ##########

  • Create New...