Windows 11 Imaging, Customization and Deployment

Discussion in 'Windows 11' started by Enthousiast, Jul 1, 2021.

  1. wvv000

    wvv000 MDL Addicted

    Feb 21, 2019
    634
    730
    30
  2. devilink

    devilink MDL Novice

    Jun 28, 2017
    4
    0
    0
    What steps should I take to uninstall Windows Defender but retain the Security Center functionality?

    In Windows 10 22H2, you could use DISM to remove the components listed below to delete Windows Defender while retaining Windows Security Center. However, this method no longer works in Windows 11 23H2 or Windows 11 24H2. So, how can it be done now?

    Code:
    Windows-Defender-Client-Package
    Windows-Defender-Group-Policy-Package
    Windows-Defender-ApplicationGuard-Inbox-WOW64-Package
    Windows-Defender-ApplicationGuard-Inbox-Package
    Microsoft-Windows-SenseClient-Package
    Microsoft-Windows-HVSI-WOW64-Package
    Microsoft-Windows-HVSI-Package
     
  3. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,590
    14,747
    120
    Lads having the desktop.ini x 2 appearing following a clean UA install in win 11, MS said we should not delete these. any ideas how to suppress prior to desktop on first run?

    ScreenHunter_003.jpg
     
  4. NewEraCracker

    NewEraCracker MDL Member

    Apr 19, 2011
    215
    285
    10
    The issue of having two "desktop.ini" files appear after a clean installation is not a cause for concern. These files are hidden by default, and their presence is normal.

    One file belongs to your user profile, while the other is associated with the public user profile.

    You can verify their different locations by checking the file properties and security tab. To prevent these files from being visible, you can simply hide system files via explorer settings.

    My two cents.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream
    Staff Member

    Dec 21, 2012
    7,085
    8,427
    240
    These files are only shown if "Hide protected operating system files" in Folder options is not checked.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. sizen

    sizen MDL Member

    Jun 4, 2009
    152
    70
    10
    --- Contents of SetupComplete.cmd ---
    Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v "delini" /t REG_EXPAND_SZ /d "%%systemroot%%\Setup\Scripts\delini.cmd" /f

    --- Contents of delini.cmd ---
    del %USERPROFILE%\Desktop\desktop.ini /as /f /q
    del %PUBLIC%\Desktop\desktop.ini /as /f /q
     
  7. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,590
    14,747
    120
    Yes I require those to be checked in my builds.
     
  8. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,590
    14,747
    120
    @sizen Yes that worked perfectly, put this into my cleanup.cmd Thank you!
     
  9. Mavericks Choice

    Mavericks Choice MDL Guru

    Aug 5, 2015
    3,590
    14,747
    120
    One small bug cannot install Notepad2 silently in win 11 UA using the /silent switch, anyone have a solution?
    Works ok in win 10?
     
  10. kr0m

    kr0m MDL Novice

    Jul 15, 2011
    9
    5
    0
    Notepad2_4.2.25_x64.exe --silent