Optimize NextGen

Discussion in 'MDL Projects and Applications' started by Thomas Dubreuil, Apr 15, 2019.

  1. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
  2. rayleigh_otter

    rayleigh_otter MDL Expert

    Joined:
    Aug 8, 2018
    Messages:
    1,121
    Likes Received:
    927
    Trophy Points:
    60
    #42 rayleigh_otter, Jun 13, 2019
    Last edited: Jun 13, 2019
    I'll share them with you Thomas if thats ok, they are not big enough to warrant their own topic, im happy to contribute and give you the sources and let you run with them how you want. :) I will make them safe, .reg.txt .cmd.txt etc.

    I dont have any reset options because they are built for my needs only. There arent many hkcu tweaks, mainly hklm/hkcr because hkcu tweaks are a personal thing but i will give you those too. I focus on system tweaks and light on user tweaks. I run the files from Power Run, not NSudo.

    The one tweak that i havnt started yet is bareboned scheduled tasks, ive just got the sevice disabled. To do that i disable, delete, delete from registry, delete folders and 8.1 was a hell of a lot of work :( but worth it :) Im gonna try to cut that in half and just delete from registry and delete folders, see if that works.

    Im going to skip your powershell scripts for now because i dont know powershell but i will look and see if i can do them reg or bats.
     
  3. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
    Cool,
    the fact is I had to do powershell because some task are not natively possible in batch...
    Also most of the scripts there are "utilities" more than system tweaks, which are all in the "optimize" and "personalize" projects,
    though I made some of the project's scripts available as "standalone" scripts.

    So, at the end those 2 links I shared above are not really relevant to the discussion :D (sorry)
     
  4. rayleigh_otter

    rayleigh_otter MDL Expert

    Joined:
    Aug 8, 2018
    Messages:
    1,121
    Likes Received:
    927
    Trophy Points:
    60
    #44 rayleigh_otter, Jun 13, 2019
    Last edited: Jun 13, 2019
    I thought that was the case with PS. Ive got a load already to go but i would prefer to give you a pack in its final state so im gonna do a test install so i can tweak and hunt online at the same time, should be ready by next weekend. Barebone scheduled tasks will follow after.

    Had a discussion elsewhere that windows runs so fast that somethings get skipped so i add a 1 second timeout between each line, takes a while to run things but they get applied corectly, remove if you want. :)

    Ive got an 8.1 Defender killer and will try to adapt it to ltsc. If Defender is run for anytime on LTSC its prgram data folders are about 500mb so i delete them. I like a small 30gb partition for 8.1 then install ltsc on whats left. Fettle from 8.1 and run dism++ from there so no locked files etc, getting around 6gb updated, .net3.5 enabled and fettled, no great but borderline acceptable.
     
  5. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
    mmm yes a bit :)
    There is 3 PS scripts I use in OptimizeNG which are "device manager" settings (and need to be done manually otherwise)
    DiskWriteCaching to enable write caching on all drive at once,
    PowermanagementNIC and PowermanagementUSB to disable/untick "allow the computer to turn off this device to save power" in device manager under power management tab.

    This is quite useful for initial setup configuration,
    I modded them there (changed paths and added auto elevation for ex) so they can be run separately.
     
  6. rayleigh_otter

    rayleigh_otter MDL Expert

    Joined:
    Aug 8, 2018
    Messages:
    1,121
    Likes Received:
    927
    Trophy Points:
    60
    #46 rayleigh_otter, Jun 14, 2019
    Last edited: Jun 14, 2019
    @Thomas Dubreuil Your input welcome on improvements and anything i may have missed out. I want to keep the same basic layout(compared to yours though) as it works for me and its simple for script leaners. :) I learned mine from :worthy: @TairikuOkamiand stackoverflow.

    @Ultraform :cool:
     
  7. rayleigh_otter

    rayleigh_otter MDL Expert

    Joined:
    Aug 8, 2018
    Messages:
    1,121
    Likes Received:
    927
    Trophy Points:
    60
    I am updating the tweaks for myself because i havnt been using ltsc for long, i am updating and compiling as i go along. :)
     
  8. rayleigh_otter

    rayleigh_otter MDL Expert

    Joined:
    Aug 8, 2018
    Messages:
    1,121
    Likes Received:
    927
    Trophy Points:
    60
    This project has done me a favour and gave me incentive to pull my thumb out from my fundamental and get my ltsc tweaks sorted and finalised. I slimmed my tweaks down because i wasnt using a lot of them and while the end result isnt massive i am happy with the results, ive got good results for not a lot of work, part of which was already done for w8.1. :)
     
  9. quakze

    quakze MDL Junior Member

    Joined:
    Dec 15, 2011
    Messages:
    68
    Likes Received:
    15
    Trophy Points:
    0
    I use Store for some Apps and Games, so I also need custom script without any Microsoft settings.

    I already applied the script on LTSC pc, causing all the apps and games not opening.

    Congrats for a great Script
    Thanks
     
  10. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
  11. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
  12. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
  13. rayleigh_otter

    rayleigh_otter MDL Expert

    Joined:
    Aug 8, 2018
    Messages:
    1,121
    Likes Received:
    927
    Trophy Points:
    60
    #53 rayleigh_otter, Aug 7, 2019
    Last edited: Aug 7, 2019
    :) :clap3:
     
  14. roedel

    roedel MDL Junior Member

    Joined:
    Jun 3, 2010
    Messages:
    51
    Likes Received:
    25
    Trophy Points:
    0
  15. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
    let me have a look...
    can you type this in cmd prompt please:
    wmic os get OSArchitecture,Caption,BuildNumber /value
     
  16. roedel

    roedel MDL Junior Member

    Joined:
    Jun 3, 2010
    Messages:
    51
    Likes Received:
    25
    Trophy Points:
    0
    yes:

     
  17. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
    #57 Thomas Dubreuil, Aug 23, 2019
    Last edited: Aug 23, 2019
    (OP)
    Ok perfect thanks a lot!
    Found the culprit:
    if not "%OSArchitecture%"=="64-bit" ( goto :Error_No_64bit_System )
    Didn't know it could be 64-Bit or 64-bit...so thanks for the hint, tricky one!

    I will make simple string replacement to keep only first 2 characters:
    set "OSArchitecture=%OSArchitecture:~0,2%"
    and so look for "64" value only:
    if not "%OSArchitecture%"=="64" ( goto :Error_No_64bit_System )

    I could do the architecture check another way but just adding one line=easier. :)
     
  18. CHRISTHEAD

    CHRISTHEAD MDL Novice

    Joined:
    Aug 6, 2010
    Messages:
    5
    Likes Received:
    4
    Trophy Points:
    0
    Incredible work. Is it advisable to run this on an existing Windows install, or is it intended for clean installs only?
     
  19. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Joined:
    Aug 29, 2017
    Messages:
    357
    Likes Received:
    594
    Trophy Points:
    10
    It can be ran offline or online, after a clean install or regularly, in full mode or for different tasks that can also be ran separately,
    like services optimization, reset group policy, backup services startup configuration etc.

    I'm currently working on a new version with few bug fixes and added functionalities like driver backup and more cleaning tasks.
    Unfortunately my workstation mobo died so now I'm focused on reinstalling everything, so it will have to wait for a few days...

    Bugs fixed in next version (up in a few days )
    Wifi network detection did not work
    SSD detection did not work as expected
    64 bit OS detection did not work on some editions
     
  20. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,206
    Likes Received:
    7,533
    Trophy Points:
    210
    yup bro, waiting then. thanks for you effort and Iearn here for any help