-
Notifications
You must be signed in to change notification settings - Fork 6
/
Changelog
184 lines (168 loc) · 15.5 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
-06-08-2019 : Optimize NextGen v4.1.0
- Now fully customizable, adding arguments for options, allowing to bypass or add some tasks.
- New Shortcut script that allow to easily create shortcut with options arguments
- Added Help menu. Launch help from main menus or via commandline typing Optimize_NextGen_MDL.exe /?
- New mode: Custom mode, unlike fast mode that runs with pre-set options, it will run only with the options you set.
Use shortcut script to set this mode and options, or read Help.
- You can set as many arguments as you like, but note that some arguments are made inactive by others, or depending on the Mode you choose.
Everything is explained in Help Menu
- Removed all "policies" registry tweaks, Group Policy is manages it all.
- LGPO now also adds registry keys and values before importing policy file.
- Importing Group Policy settings is now made by LGPO, instead of ugly delete/robocopy.
HUGE advantage is LGPO merges/adds Group Policy settings, instead of replacing them. I just realized that.
That means I don't have to create a complete policy file for every configuration as before.
Like one with Store, one with Firefox, one no store no firefox, no store but firefox etc. That was crazy.
Means also the script code for Group Policy task got simplified.
- So, separated .pol files and .txt parsed GP settings, and it's much more easy to maintain: I only need to merge chosen settings.
For example Server .pol has only 2 more settings than Windows 10, no need to make a full policy file for it.
Same applies for Store, Firefox etc.
- Added some tweaks (Thanks to rayleigh_otter@MDL)
- New Task: .NET Framework web applications peformance tuning. It will tweak .NET web application as described here:
http://docs.frozenmountain.com/websync4/index.html#class=websync-performance-tuning
- New Task: Backup Services and/or Group Policy settings.
Services are backed-up as .bat and .reg (reg file allows to save delayed start value).
GPO backup is performed by robocopy as well as LGPO.exe, GP security settings are also backed-up.
- Now shows the options set/chosen when you run services optimization and Group Policy task.
- Now launches about 5 seconds faster. Resizing window buffersize through powershell was slooooow.
Now using a small C++ utility just made for that.
- Overall faster, replaced all duplicate commands by the appropriate for /f loop and syntax.
- Fixed multi_sz reg add commands.
- Fixed some bugs, now all commands are applied.
- New Firefox Policy Template, customized to add more functions: fully disable recommended extensions.
- New screenshots, check here: https://github.com/Thdub/Optimize_NextGen/releases/download/v4.1.0/Optimize.NextGen.Screenshots.html
-18-07-2019 : Optimize NextGen v3.9.7
- Fixed File and Printer sharing option: only Network Discovery was turned ON when enabling File and Printer Sharing option in services optimization.
- Improved syntax: added some double quotes, always better/safer.
- Updated User Policy file with (forgotten) Office telemetry settings.
-18-07-2019 : Optimize NextGen v3.9.6
- Fixed services optimization (services with strange characters or space), now it fully works.
- Fixed services startup configuration backup: mirror copy (robocopy /MIR) would delete precedent backups (change introduced in v.3.9.5)
-17-07-2019 : Optimize NextGen v3.9.5
- Major code improvment (learning every day...)
- Optional Microsoft Store and games settings :
Since some people use the Store, and even add Store to LTSC (still, wanting performances and privacy ?!?) I decided to add this as an option (instead of sending customized versions)
This was not the purpose of the script and I clearly stated for who/what it is targeted, but...yeah (some people won't read anyway)
It will query for Microsoft.StorePurchaseApp, and if detected/installed ask the user if he wants to apply or bypass store and apps settings.
Made it clear : after the prompt, added (Choose NO if you use the store)
Choosing YES will block store, store apps and games, and disable Microsoft Account creation (You can still logon with a previously created Microsoft Account though)
If the user chooses to bypass store settings, it will then ask if he wants to apply or bypass games settings.
Clear also : added (choose NO if you play games)
Choosing NO will keep gamebar, leave xboxsave scheduled task enabled etc. while YES will set all "game related" tweaks.
- Added Game Explorer deactivation (and of course restoration, in restore menu) : gameux.dll injects into games at startup and connects to MS servers.
It just renames .dll as .dll.bak to avoid leaking infos to ms servers.
Note: if you set this option, you will then see an (harmless) error in event viewer log:
Error setting traits on Provider {8444a4fb-d8d3-4f38-84f8-89960a1ef12f}, haven't found better solution for now.
Note2: If you previously chose to bypass games settings, this option is not proposed.
- Added more privacy settings (Thanks to some fellow MDL members and Blackbird dev).
- New services startup configuration backup: Using now a customized vbs script which will save startup configuration as .bat and .reg file.
.reg file provides delayed start detection, and on top of that backup task is (a lot) faster.
(Thanks to Ramesh Srinivasan for the original script)
- Setting indexing options is also faster, and custom path indexing made - I hope - bulletproof (if you hit cancel or enter path twice for example).
- Keyboard improvments: Keyboard speed (enjoy fast keyboard!), and numlock set ON at startup (never understood why it wasn't the case by default).
- Added clear event viewer log option.
- Firefox Policy Template updated to v1.8 (Thanks to Michael Kaply)
https://github.com/mozilla/policy-templates/releases
- Added Scheduled Tasks script (if you want to disable scheduled tasks outside main script)
- Updated Registry Tweak script with latest tweaks.
Note: This is the script provided to (re)apply tweaks outside main script.
Haven't had time yet to update "Restore Tweaks" script, it's a bit long, sorry.
Neither had to update "remove registry tweaks" part in the main script.
But few are missing, since most of the settings are set by GPO.
- TRIM command will only run if system drive is detected as a SSD.
In previous version it would not do anything anyway if choose to run TRIM command while system drive isn't a SSD.
Added command makes the script a bit slower, but didn't seem logical to propose this option for users with HDD.
- Added info in Services configuration/File and Printer Sharing Enable/Disable choice ( Press D if you don't have home network and/or don't use network printer).
- Added infos about defaults settings in Fast Mode.
Note that in fast mode settings are geared towards maximum performances.
- Small edits in backed up powershell scripts: Log path changed to script folder.
Note: These are the scripts provided in backup folder if you want to launch the tasks outside main script.
- Added Launcher for Write Caching script, because it needs to be launched with arguments (for drives and computer).
- Some small cosmetic changes, cursor/colors etc...
- Small bug fixes (found quite a few glitches, but happily all harmless...)
-08-07-2019 : Optimize NextGen v3.8.6
- Cleared duplicates/redundant settings
- Updated "Disable scheduled tasks" (a lot where added).
-07-07-2019 : Optimize NextGen v3.8.5
- Added more privacy settings (in miscellaneous section for now).
-11-06-2019 : Optimize NextGen v3.8.2
- Added event viewer logs clearing to end cleaning task.
-08-06-2019 : Optimize NextGen v3.8
- Added DeviceCleanup cmdline tool: https://www.uwe-sieber.de/misc_tools_e.html#devicecleanup
Each once attached device leaves an entry in the Windows device management.
By means of the Windows device manager you can delete one by one only.
With this tool you can delete multiple or all non-present devices.
-08-06-2019 : Optimize NextGen v3.7
- Modified Microsoft account policy (security setting) to: "Users can't add Microsoft accounts", to avoid people using microsoft account being
locked out.
- Added option to set Group Policy again or to reset Group Policy after registry tweak removing (Restore menu):
Some important registry settings are redundantly included as Group Policy settings. If you launched full/fast optimization or Group Policy single task before, the tweaks you just removed are still stored as GPO, which means that while tweaks were removed, a future "GpUpdate" command would re-add them.
In this case (only), it's better to launch Group Policy task again with these only the registry tweaks removed, or to reset Group Policy totally.
So, I made 4 new policy files without those registry settings and added option to set again, reset Group Policy totally, or leave like this.
-Minor cosmetic changes
-05-06-2019: Optimize NextGen v3.6
- Firefox Template updated to v1.7, changelog here: https://github.com/mozilla/policy-templates/releases
.adml (policy definitions) are now available in different languages (de, en, es, it, sp) and will be imported according to your OS language.
- Removed some Firefox policies (locked values) and few personal settings I had forgotten to remove, like https://google.com/ncr Home Page.
- Added /offline switch for offline scenarios: deployment/post-install script, logon/logoff script...
Usage: Optimize_NextGen_MDL.exe /offline, or Optimize_NextGen_MDL.bat /offline (if you extracted .bat from SFX archive).
You can also use the shortcuts creation script provided, for easier launch.
- Small fixes:
- In Miscellaneous section, UI and keyboard was set to EN-US with French Layout (my own settings, sorry...in a 2000+lines scripts it's hard to think of everything)
- Deleted the whole keyboard part for now, including NUMLOCK at startup ("InitialKeyboardIndicators"= 2), "KeyboardDelay" and "KeyboardSpeed"
- One robocopy command wasn't hidden ( >nul missing)
- Added User Name to "user accounts to be trusted for delegation" (security settings). Just a precaution, Authenticated Users and Administrator already had delegation rights (in previous script versions). Note: This setting is mandatory on Windows Server if you want to be able to change/update User Policy, you need at least Authenticated User or Administrator (without s).
-20-05-2019: Optimize NextGen v3.5
- Compressed everything in one simple SFX file ("auto extract" .exe), easier to store.
- Now accepting switches.
Switches added: /fast /full /secret
/fast=fast mode (no backup or choices)
/full=full mode (every optimization with choices)
/secret=fast mode with hidden console, except restart countdown and prompt at the end.
Note: If you prefer to run .bat instead, just open/extract .exe with 7zip or winrar.
.bat script also accepts switches, same functionalities, with just a cosmetic difference: shell/console "changes" are apparent.
- Added a script to quickly create .exe shortcuts with all switches.
- Added (and modified a bit) Indexing options setting, cf here: https://github.com/Thdub/Set_Indexing_Options
-16-04-2019: Optimize NextGen v3.0
- Compatibility with other Windows 10 editions (services optimization feature not available yet)
- Separate Restore and Optimize menus
- New feature: Enable write caching on all disks. Normally one needs to do it manually in device manager for each drive.
- Now ask if the user wants to enable or disable file and printer sharing required services (disabled by default in Fast mode).
- At the beginning scans if Wlan Service exists, and then if any Wifi is connected, to disable (or ask to disable) Wlan service during later services optimization.
- New "custom policy set", with 2 new policies: Enable or disable storage sense, Remove power button from login screen (hide or force allow/show, which I needed personally)
- Some Group Policy settings added
-16-02-2019: Optimize NextGen v2.6
- Added few "privacy" Group Policy settings
- Fixed bug introduced in v2.5 while running TRIM command (forgot to "escape" parenthesis in the script)
-21-01-2019 : Optimize Next Gen v2.5
- New Fast option: Full optimization with no prompts nor backups.
Similar to Optimize NextGen v.1 but with the added new functions.
Note: TRIM is excluded from fast optimization (you don't need to trim that often).
- New Separate Options in the Main Menu : Telemetry only, Privacy only, TRIM (cf main menu screenshot)
- Added HID selective suspend setting, to disable/untick "Allow the computer to turn off this device to save power" for HID Devices under Power Management tab in Device Manager:
- Added Memory Compression and PageCombining, only for Windows Server (cf spoiler screenshots).
- Fixed a missing double quote. Not that important, it was just making one of the restore functions exit at the end of the process, instead of pause/going to start menu.
-17-01-2019 : Optimize Next Gen v2, complete re-write.
- Now includes a Main Menu to apply full optimization or only parts of the script (cf spoiler screenshot in MDL forum thread).
- Merged Server and LTSC in one unique .bat: Windows edition is detected inside the script.
- Added Power Management Settings in "Performances settings task".
- Services backup is now (much) faster.
- Included NSudo to apply complete services optimization.
- Added Trim (as an Option), only for system drive. Note: if your C:\ drive isn't a SSD, command will not proceed. So, don't worry if you pressed yes by mistake, it won't run HDD defrag...
- Firefox Policies and Template are now optional (requested by PsychedelicShaman ).
- Background apps, Camera and Microphone are now set to "User is in control" in Group Policy (thanks to PsychedelicShaman ).
- Few registry tweaks added (like Shutdown Event Tracer and DisableCAD for Server).
- Resetting Group Policy Security Settings is now optional. Note: if you choose to reset, don't worry, Group Policy Security Settings and Security database are also saved (cf spoiler notes).
- Added few security settings (rights delegation and password policy).
Note : Strong password policy is ON by default on Windows Server, not verified yet in LTSC.
- Backup folder with settings and scripts is now saved in script folder (instead of Desktop).
- Rewrote all included scripts, and added some more. Note: "Restore Group Policy from backup" and "Optimize Group Policy" scripts obviously requires to keep the same folder structure.
- Added nice colors and title to tittle bar (cf screenshot). ANSI Escape sequences (supported since Threshold 2 Update) was fun in the beginning, but rapidely ended up a nightmare to have it set perfect in script...
Check MSDN page for reference abour cursor position and colors:
https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
- Added Powershell command to resize batch window without resizing buffer height.
- Added Ultimate Performance PowerScheme setting in Power Management, to set it/or create Powerscheme if missing (and restore default GUID).
There is a annoying bug in windows, if you ever change Powerscheme through powercfg /S command, Ultimate Performance PowerScheme vanishes.
You can easily recreate it with this command: powercfg -duplicatescheme 9a42b02-d5df-448d-aa00-03f14749eb61, but it then creates a new GUID in registry...
Too ugly! Had to fix that...You'll have Ultimate Performance Powerschem WITH default/original GUID in registry.
-24-12-2018 : Minor code changes, mostly the NSudo existence/path query (also case insensitive now) for complete services optimization.
-22-12-2018 : Initial release