Optimize-Offline Guide - Windows Debloating Tool, Windows 1803, 1903, 19H2, 1909, 20H1 and LTSC 2019

Discussion in 'Windows 10' started by KedarWolf, Jul 30, 2019.

  1. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #1601 spanishfly, Dec 31, 2021
    Last edited: Dec 31, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ghostwalkergamma

    ghostwalkergamma MDL Novice

    Aug 21, 2017
    18
    6
    0
    Quick action center is broken with your list (tested on w11 home), highly likely because of NcbService
     
  3. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    #1603 spanishfly, Jan 1, 2022
    Last edited: Jan 1, 2022
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    The "Added DisableWindowsUpgrade selective registry tweak" reg code is a massive improvement over the old stale code that it replaces!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    Thank you sooo much for checking-out the All-in-one - Customize - Update - Construct - LTSC 2021 project!!
    I'm really glad it worked for you. I had you in mind when I was putting it together. Some of your earlier feedback about not wanting all the Pro in-box apps and also addressing possible issues with integrating the store using Optimize-Offline. I installed a few different configurations made using the project in a VM and they've all passed sfc /scannow. So I felt confident releasing the script, but it's really nice to get positive feedback!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    Just been playing around with OO and Windows 10 LTSC 2021 (updated using W10UI)

    Some things have changed since I last used OO. Can anyone kindly look at the screenshots I took of System apps/Capabilities and advise if I have removed (or added) the correct ones? I did use the guide here: https://forums.mydigitallife.net/th...20h1-and-ltsc-2019.80038/page-50#post-1677925 for reference (thanks @spanishfly)

    Also under Remove Windows packages is it safe to remove any of these and if so which ones? ( I did a search in this thread however couldn't find any information)
     

    Attached Files:

  9. spanishfly

    spanishfly MDL Senior Member

    Dec 5, 2018
    365
    540
    10
    I can only comment on the System Apps. It all looks fine unless you are using the Store and want to sign in. If you never sign in to the Store, then your list is fine.
    I haven't figured out which of these five apps allow the Store pop-up sign in panel to open. I recently added them back.
    "Microsoft.AAD.BrokerPlugin", (1) Re-added to whitelist
    "Microsoft.AsyncTextService", (2) Re-added to whitelist
    "Microsoft.Win32WebViewHost", (3) Re-added to whitelist
    "Microsoft.Windows.AppResolverUX", (4) Re-added to whitelist (E2A4F912-2574-4A75-9BB0-0D023378592B)
    "Microsoft.Windows.CapturePicker", (5) Re-added to whitelist
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    Thanks :) Maybe @KedarWolf can chime in on his experience with the Remove Windows Packages

    With Set-Additional.cmd, if I select Additional: Setup = True, will these be applied whilst the iso is being Optimized or do I need to run this post-install?
     
  11. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    This includes a fully working Windows Store if you add it with the script. To add it you need to download the store files like in the ReadMe I think it is.

    You windows Apps will be different I think because you're using the LTSC, but not 100% sure of that.

    Code:
    ***************************************************************************************************
    Running Module : Optimize-Offline 4.0.1.9
    Optimize Start : 01/01/2022 10:53:32 PM
    Identity Name  : SYSTEM
    Computer Name  : KEDARWOLF-PC
    ***************************************************************************************************
    
    2022-01-01T22:53:32 [INFO]: Supported Image Build: [19044]
    2022-01-01T22:53:35 [INFO]: Mounting Windows 10 IoT Enterprise LTSC 2021
    2022-01-01T22:54:01 [INFO]: Pre-Optimization Image Health State: [Healthy]
    2022-01-01T22:54:11 [INFO]: Removing System App: Microsoft.AAD.BrokerPlugin
    2022-01-01T22:54:13 [INFO]: Removing System App: Microsoft.BioEnrollment
    2022-01-01T22:54:15 [INFO]: Removing System App: Microsoft.ECApp
    2022-01-01T22:54:17 [INFO]: Removing System App: Microsoft.LockApp
    2022-01-01T22:54:19 [INFO]: Removing System App: Microsoft.Windows.AddSuggestedFoldersToLibarayDialog
    2022-01-01T22:54:21 [INFO]: Removing System App: Microsoft.Windows.FileExplorer
    2022-01-01T22:54:23 [INFO]: Removing System App: Microsoft.Windows.FilePicker
    2022-01-01T22:54:25 [INFO]: Removing System App: Microsoft.Windows.NarratorQuickStart
    2022-01-01T22:54:27 [INFO]: Removing System App: Microsoft.Windows.ParentalControls
    2022-01-01T22:54:29 [INFO]: Removing System App: Microsoft.Windows.PeopleExperienceHost
    2022-01-01T22:54:31 [INFO]: Removing System App: Microsoft.Windows.PinningConfirmationDialog
    2022-01-01T22:54:33 [INFO]: Removing System App: Microsoft.Windows.SecHealthUI
    2022-01-01T22:54:35 [INFO]: Removing System App: NcsiUwpApp
    2022-01-01T22:54:37 [INFO]: Removing System App: Windows.CBSPreview
    2022-01-01T22:54:40 [INFO]: Disabling Services, Drivers and Integration Content for Removed Apps.
    2022-01-01T22:54:45 [INFO]: Removing Windows Biometric Capability: Hello.Face.18967~~~~0.0.1.0
    2022-01-01T22:54:56 [INFO]: Removing Windows Biometric Capability: Hello.Face.Migration.18967~~~~0.0.1.0
    2022-01-01T22:55:02 [INFO]: Disabling Optional Feature: Windows-Defender-Default-Definitions
    2022-01-01T22:55:04 [INFO]: Importing Custom App Associations.
    2022-01-01T22:55:07 [INFO]: Removing Windows Capability: App.StepsRecorder~~~~0.0.1.0
    2022-01-01T22:55:11 [INFO]: Removing Windows Capability: App.Support.QuickAssist~~~~0.0.1.0
    2022-01-01T22:55:16 [INFO]: Removing Windows Capability: Language.Handwriting~~~en-US~0.0.1.0
    2022-01-01T22:55:20 [INFO]: Removing Windows Capability: Language.OCR~~~en-US~0.0.1.0
    2022-01-01T22:55:24 [INFO]: Removing Windows Capability: Language.Speech~~~en-US~0.0.1.0
    2022-01-01T22:55:29 [INFO]: Removing Windows Capability: MathRecognizer~~~~0.0.1.0
    2022-01-01T22:55:34 [INFO]: Removing Windows Capability: Microsoft.Windows.MSPaint~~~~0.0.1.0
    2022-01-01T22:55:38 [INFO]: Removing Windows Capability: Microsoft.Windows.Notepad~~~~0.0.1.0
    2022-01-01T22:55:43 [INFO]: Removing Windows Capability: Microsoft.Windows.WordPad~~~~0.0.1.0
    2022-01-01T22:55:47 [INFO]: Removing Windows Capability: OpenSSH.Client~~~~0.0.1.0
    2022-01-01T22:55:56 [INFO]: Disabling Optional Feature: MicrosoftWindowsPowerShellV2Root
    2022-01-01T22:56:00 [INFO]: Disabling Optional Feature: MSRDC-Infrastructure
    2022-01-01T22:56:02 [INFO]: Disabling Optional Feature: Printing-XPSServices-Features
    2022-01-01T22:56:03 [INFO]: Disabling Optional Feature: SmbDirect
    2022-01-01T22:56:05 [INFO]: Disabling Optional Feature: WorkFolders-Client
    2022-01-01T22:56:09 [INFO]: Enabling Optional Feature: Microsoft-Windows-Subsystem-Linux
    2022-01-01T22:56:12 [INFO]: Enabling Optional Feature: VirtualMachinePlatform
    2022-01-01T22:56:16 [INFO]: Modifying windows service: AarSvc, Start: Disabled
    2022-01-01T22:56:17 [INFO]: Modifying windows service: AJRouter, Start: Disabled
    2022-01-01T22:56:18 [INFO]: Modifying windows service: ALG, Start: Disabled
    2022-01-01T22:56:20 [INFO]: Modifying windows service: AppVClient, Start: Disabled
    2022-01-01T22:56:21 [INFO]: Modifying windows service: autotimesvc, Start: Disabled
    2022-01-01T22:56:22 [INFO]: Modifying windows service: BluetoothUserService, Start: Disabled
    2022-01-01T22:56:23 [INFO]: Modifying windows service: BTAGService, Start: Disabled
    2022-01-01T22:56:24 [INFO]: Modifying windows service: bthserv, Start: Disabled
    2022-01-01T22:56:25 [INFO]: Modifying windows service: CaptureService, Start: Disabled
    2022-01-01T22:56:26 [INFO]: Modifying windows service: cdfs, Start: Disabled
    2022-01-01T22:56:27 [INFO]: Modifying windows service: CDPSvc, Start: Disabled
    2022-01-01T22:56:28 [INFO]: Modifying windows service: CDPSvc, Start: Disabled
    2022-01-01T22:56:29 [INFO]: Modifying windows service: CDPUserSvc, Start: Disabled
    2022-01-01T22:56:30 [INFO]: Modifying windows service: CscService, Start: Disabled
    2022-01-01T22:56:31 [INFO]: Modifying windows service: DevicePickerUserSvc, Start: Disabled
    2022-01-01T22:56:32 [INFO]: Modifying windows service: diagnosticshub.standardcollector.service, Start: Disabled
    2022-01-01T22:56:33 [INFO]: Modifying windows service: diagsvc, Start: Disabled
    2022-01-01T22:56:34 [INFO]: Modifying windows service: DiagTrack, Start: Disabled
    2022-01-01T22:56:35 [INFO]: Modifying windows service: DoSvc, Start: Disabled
    2022-01-01T22:56:36 [INFO]: Modifying windows service: DsSvc, Start: Disabled
    2022-01-01T22:56:37 [INFO]: Modifying windows service: DusmSvc, Start: Disabled
    2022-01-01T22:56:38 [INFO]: Modifying windows service: Fax, Start: Disabled
    2022-01-01T22:56:39 [INFO]: Modifying windows service: FrameServer, Start: Disabled
    2022-01-01T22:56:40 [INFO]: Modifying windows service: HvHost, Start: Disabled
    2022-01-01T22:56:41 [INFO]: Modifying windows service: hvservice, Start: Disabled
    2022-01-01T22:56:42 [INFO]: Modifying windows service: icssvc, Start: Disabled
    2022-01-01T22:56:43 [INFO]: Modifying windows service: lfsvc, Start: Disabled
    2022-01-01T22:56:44 [INFO]: Modifying windows service: MapsBroker, Start: Disabled
    2022-01-01T22:56:45 [INFO]: Modifying windows service: MessagingService, Start: Disabled
    2022-01-01T22:56:46 [INFO]: Modifying windows service: mrxsmb, Start: Disabled
    2022-01-01T22:56:47 [INFO]: Modifying windows service: NativeWifiP, Start: Disabled
    2022-01-01T22:56:48 [INFO]: Modifying windows service: NcaSvc, Start: Disabled
    2022-01-01T22:56:49 [INFO]: Modifying windows service: NcbService, Start: Disabled
    2022-01-01T22:56:50 [INFO]: Modifying windows service: NdisTapi, Start: Disabled
    2022-01-01T22:56:51 [INFO]: Modifying windows service: ndiswanlegacy, Start: Disabled
    2022-01-01T22:56:52 [INFO]: Modifying windows service: PcaSvc, Start: Disabled
    2022-01-01T22:56:53 [INFO]: Modifying windows service: PeerDistSvc, Start: Disabled
    2022-01-01T22:56:54 [INFO]: Modifying windows service: perceptionsimulation, Start: Disabled
    2022-01-01T22:56:55 [INFO]: Modifying windows service: PimIndexMaintenanceSvc, Start: Disabled
    2022-01-01T22:56:56 [INFO]: Modifying windows service: RasAcd, Start: Disabled
    2022-01-01T22:56:57 [INFO]: Modifying windows service: RasAuto, Start: Disabled
    2022-01-01T22:56:58 [INFO]: Modifying windows service: RasMan, Start: Disabled
    2022-01-01T22:56:59 [INFO]: Modifying windows service: RDPDR, Start: Disabled
    2022-01-01T22:57:00 [INFO]: Modifying windows service: RdpVideoMiniport, Start: Disabled
    2022-01-01T22:57:01 [INFO]: Modifying windows service: RemoteAccess, Start: Disabled
    2022-01-01T22:57:02 [INFO]: Modifying windows service: RemoteRegistry, Start: Disabled
    2022-01-01T22:57:03 [INFO]: Modifying windows service: RetailDemo, Start: Disabled
    2022-01-01T22:57:04 [INFO]: Modifying windows service: RmSvc, Start: Disabled
    2022-01-01T22:57:05 [INFO]: Modifying windows service: RpcLocator, Start: Disabled
    2022-01-01T22:57:06 [INFO]: Modifying windows service: SCardSvr, Start: Disabled
    2022-01-01T22:57:07 [INFO]: Modifying windows service: ScDeviceEnum, Start: Disabled
    2022-01-01T22:57:08 [INFO]: Modifying windows service: scfilter, Start: Disabled
    2022-01-01T22:57:09 [INFO]: Modifying windows service: SCPolicySvc, Start: Disabled
    2022-01-01T22:57:10 [INFO]: Modifying windows service: SDRSVC, Start: Disabled
    2022-01-01T22:57:11 [INFO]: Modifying windows service: SecurityHealthService, Start: Disabled
    2022-01-01T22:57:12 [INFO]: Modifying windows service: SEMgrSvc, Start: Disabled
    2022-01-01T22:57:13 [INFO]: Modifying windows service: Sense, Start: Disabled
    2022-01-01T22:57:14 [INFO]: Modifying windows service: SensorDataService, Start: Disabled
    2022-01-01T22:57:15 [INFO]: Modifying windows service: SensorService, Start: Disabled
    2022-01-01T22:57:16 [INFO]: Modifying windows service: SensrSvc, Start: Disabled
    2022-01-01T22:57:17 [INFO]: Modifying windows service: SessionEnv, Start: Disabled
    2022-01-01T22:57:18 [INFO]: Modifying windows service: SgrmBroker, Start: Disabled
    2022-01-01T22:57:19 [INFO]: Modifying windows service: SharedRealitySvc, Start: Disabled
    2022-01-01T22:57:20 [INFO]: Modifying windows service: shpamsvc, Start: Disabled
    2022-01-01T22:57:21 [INFO]: Modifying windows service: SmsRouter, Start: Disabled
    2022-01-01T22:57:22 [INFO]: Modifying windows service: SNMPTRAP, Start: Disabled
    2022-01-01T22:57:23 [INFO]: Modifying windows service: spectrum, Start: Disabled
    2022-01-01T22:57:24 [INFO]: Modifying windows service: SSDPSRV, Start: Disabled
    2022-01-01T22:57:25 [INFO]: Modifying windows service: stisvc, Start: Disabled
    2022-01-01T22:57:26 [INFO]: Modifying windows service: SysMain, Start: Disabled
    2022-01-01T22:57:27 [INFO]: Modifying windows service: TermService, Start: Disabled
    2022-01-01T22:57:28 [INFO]: Modifying windows service: TrkWks, Start: Disabled
    2022-01-01T22:57:29 [INFO]: Modifying windows service: TroubleshootingSvc, Start: Disabled
    2022-01-01T22:57:31 [INFO]: Modifying windows service: TsUsbFlt, Start: Disabled
    2022-01-01T22:57:32 [INFO]: Modifying windows service: tzautoupdate, Start: Disabled
    2022-01-01T22:57:33 [INFO]: Modifying windows service: udfs, Start: Disabled
    2022-01-01T22:57:34 [INFO]: Modifying windows service: UevAgentDriver, Start: Disabled
    2022-01-01T22:57:35 [INFO]: Modifying windows service: UevAgentService, Start: Disabled
    2022-01-01T22:57:36 [INFO]: Modifying windows service: UmRdpService, Start: Disabled
    2022-01-01T22:57:37 [INFO]: Modifying windows service: UnistoreSvc, Start: Disabled
    2022-01-01T22:57:38 [INFO]: Modifying windows service: upnphost, Start: Disabled
    2022-01-01T22:57:39 [INFO]: Modifying windows service: VacSvc, Start: Disabled
    2022-01-01T22:57:40 [INFO]: Modifying windows service: VerifierExt, Start: Disabled
    2022-01-01T22:57:41 [INFO]: Modifying windows service: vmicguestinterface, Start: Disabled
    2022-01-01T22:57:42 [INFO]: Modifying windows service: vmicheartbeat, Start: Disabled
    2022-01-01T22:57:43 [INFO]: Modifying windows service: vmickvpexchange, Start: Disabled
    2022-01-01T22:57:44 [INFO]: Modifying windows service: vmicrdv, Start: Disabled
    2022-01-01T22:57:45 [INFO]: Modifying windows service: vmicshutdown, Start: Disabled
    2022-01-01T22:57:46 [INFO]: Modifying windows service: vmictimesync, Start: Disabled
    2022-01-01T22:57:47 [INFO]: Modifying windows service: vmicvmsession, Start: Disabled
    2022-01-01T22:57:48 [INFO]: Modifying windows service: vmicvss, Start: Disabled
    2022-01-01T22:57:49 [INFO]: Modifying windows service: W32Time, Start: Disabled
    2022-01-01T22:57:50 [INFO]: Modifying windows service: WalletService, Start: Disabled
    2022-01-01T22:57:51 [INFO]: Modifying windows service: wbengine, Start: Disabled
    2022-01-01T22:57:52 [INFO]: Modifying windows service: WbioSrvc, Start: Disabled
    2022-01-01T22:57:53 [INFO]: Modifying windows service: WdNisDrv, Start: Disabled
    2022-01-01T22:57:54 [INFO]: Modifying windows service: WdNisSvc, Start: Disabled
    2022-01-01T22:57:55 [INFO]: Modifying windows service: Wecsvc, Start: Disabled
    2022-01-01T22:57:56 [INFO]: Modifying windows service: wercplsupport, Start: Disabled
    2022-01-01T22:57:57 [INFO]: Modifying windows service: WerSvc, Start: Disabled
    2022-01-01T22:57:58 [INFO]: Modifying windows service: WFDSConMgrSvc, Start: Disabled
    2022-01-01T22:57:59 [INFO]: Modifying windows service: WiaRpc, Start: Disabled
    2022-01-01T22:58:00 [INFO]: Modifying windows service: WinDefend, Start: Disabled
    2022-01-01T22:58:01 [INFO]: Modifying windows service: WinRM, Start: Disabled
    2022-01-01T22:58:02 [INFO]: Modifying windows service: wisvc, Start: Disabled
    2022-01-01T22:58:03 [INFO]: Modifying windows service: WlanSvc, Start: Disabled
    2022-01-01T22:58:04 [INFO]: Modifying windows service: WMPNetworkSvc, Start: Disabled
    2022-01-01T22:58:05 [INFO]: Modifying windows service: WpcMonSvc, Start: Disabled
    2022-01-01T22:58:06 [INFO]: Modifying windows service: ws2ifsl, Start: Disabled
    2022-01-01T22:58:07 [INFO]: Modifying windows service: WSearch, Start: Disabled
    2022-01-01T22:58:08 [INFO]: Modifying windows service: WwanSvc, Start: Disabled
    2022-01-01T22:58:09 [INFO]: Modifying windows service: XblGameSave, Start: Disabled
    2022-01-01T22:58:10 [INFO]: Modifying windows service: XboxGipSvc, Start: Disabled
    2022-01-01T22:58:11 [INFO]: Modifying windows service: XboxNetApiSvc, Start: Disabled
    2022-01-01T22:58:12 [INFO]: Setting delivery optimization to bypass mode
    2022-01-01T22:58:16 [INFO]: Applying Optimized Registry Settings.
    2022-01-01T22:58:24 [INFO]: Applying Setup Content.
    2022-01-01T22:58:27 [INFO]: Importing Registry Template: Additional Tweaks.reg
    2022-01-01T22:58:34 [INFO]: Applying Answer File.
    2022-01-01T22:58:36 [INFO]: Injecting Driver Packages into Windows 10 IoT Enterprise LTSC 2021
    2022-01-01T22:58:58 [INFO]: Enabling Optional Feature: NetFx3
    2022-01-01T22:59:11 [INFO]: Cleaning-up the Start Menu Layout.
    2022-01-01T22:59:15 [INFO]: Disabling automatic driver update
    2022-01-01T22:59:16 [INFO]: Enabling dormant OneDrive fix
    2022-01-01T22:59:17 [INFO]: Disabling 3rd party apps
    2022-01-01T22:59:18 [INFO]: Setting classic search explorer
    2022-01-01T22:59:19 [INFO]: Removing taskbar pinned icons
    2022-01-01T22:59:21 [INFO]: Creating a Package Summary Log.
    2022-01-01T22:59:28 [INFO]: Post-Optimization Image Health State: [Healthy]
    2022-01-01T22:59:31 [INFO]: Saving and Dismounting Windows 10 IoT Enterprise LTSC 2021
    2022-01-01T23:00:41 [INFO]: Rebuilding and Exporting Windows 10 IoT Enterprise LTSC 2021 using Solid compression.
    2022-01-01T23:08:42 [INFO]: Optimizing the Installation Media File Structure.
    2022-01-01T23:08:42 [INFO]: Creating a No-Prompt Bootable Windows Installation Media ISO.
    2022-01-01T23:08:46 [INFO]: Finalizing Optimizations.
    2022-01-01T23:08:46 [INFO]: Optimize-Offline completed in [15] minutes with [0] errors.
    
    ***************************************************************************************************
    Optimizations Finalized : 01/01/2022 11:08:46 PM
    ***************************************************************************************************
    
    
     
  12. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    Thanks for this, will look through my log and compare. You are right though, LTSC does have a couple different services

    Are you using gdeliana's script? I thought I would try the original OO (from GodHand) however when I set under Additional: Setup = True I do not see windows services that are disabled

    I'm thinking the Set-Additional.cmd has to be run once Windows has installed?
     
  13. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    Yes, I'm using @gdeliana 's script. Set-Additional.cmd needs to be run after Windows is installed, correct.

    Edit: See my above post. I ran the script on LTSC 2021 IOT.
     
  14. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    Might have a play around with gdeliana's script as I would prefer to have the services disabled as the iso is being Optimized :)

    Thanks for your list file, will go through this and compare (might populate lists first)

    Was going to run LTSC IoT but it might be a little too hardcore for my primary system (also want to use KMS_VL_ALL)
     
  15. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    I think the only difference is long term support AND reserved storage disabled. And I'm pretty sure KMS works on it.
     
  16. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    Might look in to doing a slimmed version of IoT then :D

    Do you still run the Set-Additional.cmd after Optimizing to disable Scheduled Tasks only (as services are disabled during Optimization)?
     
  17. KedarWolf

    KedarWolf MDL Addicted

    Mar 17, 2016
    977
    874
    30
    #1619 KedarWolf, Jan 4, 2022
    Last edited: Jan 4, 2022
    (OP)
    I add the services it disabled to my Advanced Services list, but still good to run it as it does some other needful tweaks. :)

    Edit: Attached is my Set-Additional.ps1. it has a few tweaks as disabling the clipboard history prevents you from copying/pasting into the Search Icon and Windows Explorer search box.

    I removed those tweaks.

    Also, if you change the Set-Additional.cmd to the below code, it won't delete the script etc. after it is run.

    Code:
    @ECHO OFF
    CD /D "%~dp0"
    
    NET SESSION >NUL 2>&1
    IF %ERRORLEVEL% NEQ 0 (
        ECHO Permission denied. This script must be run as an Administrator.
        ECHO:
        PAUSE
        EXIT
    ) ELSE (
        PowerShell.exe -NoProfile -ExecutionPolicy Bypass -File .\Set-Additional.ps1 -Argument 2> .\Set-Additional.error
    )
    PAUSE
    EXIT
    
    
     

    Attached Files:

  18. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    That's awesome, thanks for all your guidance :)

    What is the difference between ServicesList and ServicesAdvanced?