Jump to content

JFX

Member
  • Posts

    1,277
  • Joined

  • Last visited

  • Days Won

    7
  • Donations

    0.00 USD 

Posts posted by JFX

  1. Just guessing will not help much. WinNTSetup already uses these 2 commands.

    bcdboot.exe W:\Windows /s S: /f ALL
    bootsect.exe /nt60 S: /mbr

    Were W: is the Windows installation drive and S: is the selected boot partition.

    Only difference I see is the missing /force switch on bootsect command.
    But this is done on purpose, also diskpart does write bootable MBR and PBR.

    If you encounter the problem again try 1 of these command from a WinPE,
    to find out witch one makes a bootable again.

  2. That sounds like a problem with the MBR of the boot disk.

    By default WinNTSetup uses bootsect to update the boot sectors.

    bootsect.exe /nt60 S: /mbr

     

    The first 2 green lights are only using simple checks, there is no way to tell if the code is actually bootable.

    To limit the problem, it depends on what repair you do with bootice.

  3. No, i should be OK, wimlib is recommended library for creating a WIM file.

    Just wonder why wimgapi has a trouble with that WIM. Never had any compatibly problems.
    Expect the LZMS WIM/ESD created by earlier version of WinNTSetup, but they would cause a crash or freeze of the program.

  4. Yes, you can specific the drives with letter:

    WinNTSetup_x64.exe NT6 -syspart:S: -tempdrive:W:

    or with drive and partition number

    WinNTSetup_x64.exe NT6 -syspart:HDD1:1 -tempdrive:HDD1:4

    Eventually you will need a timeout after diskpart to have drive letter available on system.

    ping 127.0.0.1 -n 2 > nul

     

  5. 1 hour ago, dimo70 said:

    JFX, do you have more options, that can be used in main .ini file?

    There are all the GUI options you can save with CTRL+S and the 26 hidden option mentioned in the WinNTSetup.ini.txt.
    Do you need anything in particular?

     

    1 hour ago, 547207991 said:

    怎么下载?:p H34R:

    Links are on the first page, do you need another mirror?

    On 1/31/2011 at 1:49 PM, JFX said:
  6. No, I mean you can use multi threaded WIM apply also with image.exe or DISM.exe on command prompt
    by just setting WIM_FileData_Number_Workers environment variable.

    WinNTSetup will load an existing WinNTSetup.ini on start.
    This .ini can be loaded or saved with Ctrl + L and CTRL + S hotkey and holds most GUI settings.

    WinNTSetup.ini.txt describes hidden feature than can be added to WinNTSetup.ini.

    like:

    [options]
    UseMultiCore=1

     

  7. 38 minutes ago, dimo70 said:

    i saw x4 and x6 after the process of applying. What this digits mean?

    That's the thread count used by wimgapi.
    See WinNTSetup.ini.txt, by default if uses half of CPU physical cores.

    You can uses this with imagex.exe or DISM.exe, too.

    set WIM_FileData_Number_Workers=8
    Imagex /apply ...

     

  8. 37 minutes ago, Antonino said:

    I also had jfx tell me to write some RemoveAppx.ini to contain all this, but I do not know if I should use it instead of sample.ini, together with sample.ini in the same subfolder, or someplace else.

    Yes, create your own RemoveAppx.ini inside DISM folder. Sample.ini is just an example how the .ini it should be formatted.

  9. 42 minutes ago, Virgus said:

    Is it already available ? In case affirmative, what is the correct syntax ?

    Seems, I missed adding this to the F1 Help, there is a -dism: switch taking a file name relative to the DISM folder

    WinNTSetup_x64.exe NT6 -dism:Sample.ini

     

  10. You can edit DISM\Sample.ini or better create your own lets say RemoveAppx.ini.

    Remove the netfx3 under [EnableFeature], as it takes some space.
    After using DISM option with WinNTSetup, a list of APPX packages the are not removed.

    Dism /Image:X:\ /Get-ProvisionedAppxPackages

    Add what you want to be removed under [RemoveAPPX] of your ini.
     

    As for space warning, only compact:none has one

  11. 17 hours ago, Antonino said:

    yes, there is one, provided ur disk or vhd has enough space for the initial installation proper, as it is impossible to compact while installing.

    :blink: Using mode Compact:XPRESS*K or LZX do compress while extracting the WIM file. Free space check is disabled for these modes.

    However to survive setup, tweaks like pagefile and hibernate removal might be necessary. 
    Using DISM option to remove APPX will also save a lot space.

  12. Yeah, that evil thing does not want to stay disabled.
    To get back build-in Spyware, save this as .cmd file and run it as admin.

    reg delete "HKLM\Software\Policies\Microsoft\Windows Defender" /v DisableAntiVirus /f
    reg delete "HKLM\Software\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /f
    reg delete "HKLM\Software\Policies\Microsoft\Windows\System" /v EnableSmartScreen /f
    reg delete "HKLM\Software\Policies\Microsoft\Windows Defender\SmartScreen" /v ConfigureAppInstallControlEnabled /f
    reg delete "HKLM\Software\Policies\Microsoft\Windows Defender\SmartScreen" /v ConfigureAppInstallControl /f
    
    reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Run /v SecurityHealth /t REG_EXPAND_SZ /d ^%%windir^%%\system32\SecurityHealthSystray.exe
    reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MpCmdRun.exe" /v Debugger /f
    reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MsMpEng.exe" /v Debugger /f
    reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\smartscreen.exe" /v Debugger /f
    
    start %windir%\system32\SecurityHealthSystray.exe

     

×
×
  • Create New...