Jump to content

JFX

Member
  • Posts

    1,276
  • Joined

  • Last visited

  • Days Won

    7
  • Donations

    0.00 USD 

Posts posted by JFX

  1. It does a bit more than just setting IFEO Debuggers.

    If Tweaks_NT6_Array(#Tweaks_NT6_Disbale_Defender, 1)
            
            If *Z\Build > 10100
              ORSetDword(*Z\SftHive, "Policies\Microsoft\Windows Defender", "DisableAntiSpyware", 1)
              ORSetDword(*Z\SftHive, "Policies\Microsoft\Windows Defender", "DisableAntiVirus", 1)
              
              ORSetString(*Z\SftHive, "Microsoft\Windows\CurrentVersion\Explorer", "SmartScreenEnabled", "Off")        
              ORSetDword(*Z\SftHive, "Policies\Microsoft\Windows\System", "EnableSmartScreen", 0)
              ORSetDword(*Z\SftHive, "Policies\Microsoft\Windows Defender\SmartScreen", "ConfigureAppInstallControlEnabled", 1)
              ORSetDword(*Z\SftHive, "Policies\Microsoft\Windows Defender\SmartScreen", "ConfigureAppInstallControl", 1)
              
              ORSetDword_USClasses(*Z, *Z\Usr_Classes_Hive, "Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter", "EnabledV9", 0)
              ORSetDword_US(*Z, "Software\Microsoft\Windows\CurrentVersion\AppHost", "EnableWebContentEvaluation", 0)
              
            EndIf
            
            ORSetDword(*Z\SftHive, "Microsoft\Windows Defender\Real-Time Protection", "DisableRealtimeMonitoring", 1)
            ORSetDword(*Z\SftHive, "Microsoft\Windows Defender\Real-Time Protection", "DisableAntiSpywareRealtimeProtection", 1)
            
            ORSetDword(*Z\SftHive, "Microsoft\Windows Defender", "DisableAntiSpyware", 1)
            ORSetDword(*Z\SftHive, "Microsoft\Windows Defender", "DisableAntiVirus", 1)
            
            If *Z\Build > 18300
              ORSetDword(*Z\SftHive, "Microsoft\Windows Defender\Features", "TamperProtection", 0)
            EndIf
            
            If *Z\Build >= 22000
              ORSetDword(*Z\SftHive, "Microsoft\Windows Defender\Real-Time Protection", "DpaDisabled", 1)
              ORSetString(*Z\SftHive, "Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MpCmdRun.exe", "Debugger", "NUL")          
              ORSetString(*Z\SftHive, "Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MsMpEng.exe", "Debugger", "NUL")
              ORSetString(*Z\SftHive, "Microsoft\Windows NT\CurrentVersion\Image File Execution Options\smartscreen.exe", "Debugger", "NUL")
              
              ORSetDword(*Z\SysHive, "ControlSet001\Services\SecurityHealthService", "Start", 0)
              ORDeleteValue(*Z\SftHive, "Microsoft\Windows\CurrentVersion\Run", "SecurityHealth")
              
            EndIf
            
          EndIf

     

  2. Yes, there were some reports of this with Server 2022.
    I can't reproduce it and checking if a file exist, is the most basic feature.

    I could only assume something like an antivirus or filter driver that does interfere,
    but it does not happen if I install Server 2022 with WinNTSetup. The new system does not show any problem.

    The version display of wimlib and wimgapi will be removed, it just leads to wrong assumption and
    some people start updating them manually, what only causes problems.

  3. 10 hours ago, freqout said:

    This is great.  Wondering if this can be used to make the VHD bootable instead of actuing on my local boot partition, and if it can be scripted and completely automated from Powershell.

    Yes, if you select a different boot drive, your local boot partition will not not be touched. 
    For automation there are many command line options, see F1 - help.

  4. 1 hour ago, wuliyen said:

    Some files are located in the WINSXS folder when installed by default, but the MUI files exist in the Languages folder. What should I do in this case?

    I would ignore them. If there is no lpq.exe in system32 than that applications is no installed and does not need a .mui file.

    If it get's installed (by dism) later, it should copy the .mui, too.

  5. 12 hours ago, suxichao said:

    WIMHost (wimlib) error 0x1C: The SHA-1 message digest of a WIM resource did not match the expected value.

    That sounds like the WIM has data corrupted.
    Try to apply the WIM with wimlib-image.exe maybe it reports more error data.

    If wimlib-image.exe failes and Dism works than it seems to be a wimlib bug.

  6. Drive letter assignment is really simple stuff.

    WinNTSetup will calculate and write \DosDevices\C: to HKLM\SYSTEM\MountedDevices
    On first boot Windows will recognize a different drive letter and does all the work. 

      

    On 3/4/2024 at 1:35 PM, wuliyen said:

    There is still a problem that needs to be fixed
    Windows\Boot\PCAT\zh-CN\bootmgr.exe.mui
    This file needs to be kept

     This version will add logging for black and whitelist as well MUI and MUN file removal.

×
×
  • Create New...