Jump to content











Photo
* * * * * 2 votes

Windows 10 Enterprise LTSB - Mother of all tweak scripts

win10 windows 10 script tweaks

  • Please log in to reply
159 replies to this topic

#1 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 30 July 2015 - 03:16 PM

*
POPULAR

I present a rather lengthy script for tweaking and modifying Windows 10 Enterprise N LTSB x64 en-US build 10240 RTM.
Most tweaks should work with other Windows 10 editions.
 
Please note that some commands will only work with build 10240.
If you're using a newer build, adjust the text in those commands to your build number.
 
As always, use at your own risk!
Backup entire registry before applying any part of the script.
 
VERSION: 1.31 [LAST VERSION - DEVELOPMENT STOPPED]
FILE FORMAT: DOCX

DATE LAST MODIFIED: 2015-10-07
CREATED BY: ERICGL
---------------------------------

 

Download Link (MEGA).

If you're using Chrome, click "download through your browser".

 

Alternative download link (Files.FM)

 

Cheers  :cheers: .

Attached Files


  • Brito, Mikorist, jimmsta and 8 others like this

#2 Guest_AnonVendetta_*

Guest_AnonVendetta_*
  • Guests

Posted 30 July 2015 - 10:36 PM

I would say that this script changes way too much to be trusted, unless you actually understand all of it. Something is bound to go wrong somewhere along the line.



#3 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 01 August 2015 - 01:17 PM

Well,
You can customize it to your liking, and comment-out/delete anything you don't like.
 
Really nothing to be worried about here.
I've been running my Win10 Enterprise LTSB x64 en-US with all the changes in this script, and as of yet - very little seems wrong or not functioning.
I believe I've built enough good credible reputation, both here on reboot.pro and on MDL.
 
With that said, I should point out that the script is not entirely complete.
I still need to add a few things that I found later on, and are being tested right now.
 
Cheers  :cheers:
  • nehal likes this

#4 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 02 August 2015 - 09:32 AM

I have updated the script today.



#5 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 04 August 2015 - 01:25 AM

@ercgl

First, thanks for this good info.

 

Second, in your OP the first two links at the very end both are .reg files but they have .reg.txt extencion so they can't be used that way, it's necesary to remove the .txt and use only .reg to run them, not a big problem but you may want to fix it.  That is one of the reasons I always unchek Hide extencion for known files.

 

Best Regards



#6 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 04 August 2015 - 08:46 AM

Script updated (2015/08/04).

 

@alacran,

No, you're wrong. They both download correctly as .REG files, at least here on my machine.

 

BTW, guys:

Be careful with the removal of the Music/Pictures/Videos folders...it seems one of the "reg delete" lines is causing the inability to rename folders.

I'm working on pinning-down which of these "reg delete" commands causes this, and remove it from my script.



#7 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 04 August 2015 - 09:29 AM

@ericgl

Strange things happen with an uploaded file (depending also on what browser is used to download it).

A good idea (actually a recommendation) is to ALWAYS compress any file attached as either .zip or .7z, this guarantees the integrity of the file and trims down bandwidth.

 

:duff:

Wonko



#8 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 04 August 2015 - 09:46 AM

Good idea, Wonko.

 

Now the REG files are attached as compressed ZIP files.



#9 broodplank

broodplank

    Newbie

  • Members
  • 15 posts
  • Location:Nijmegen
  •  
    Netherlands

Posted 04 August 2015 - 01:04 PM

Last few days I have been tweaking windows 10 and this is a very nice script I must say.

I knew most of the tweaks already sinec I'm making a windows 10 tweaktool in c# atm (and I have done like 15 respins with removed components)

but I didn't knew there were so many scheduled tasks.

 

I just ran the script in a VM with win10 enterprise. I saw some dism component removal asked for a restart, i believe it's diagtrack. you should add /NoRestart to that one.

 

The number of processes / ram used is really low.  good job on that

 

sPvtyOR.png

 

But I noticed the system became kinda unstable as well now and then.

Anyways, thanks for your work, it's greatly appreciated.



#10 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 04 August 2015 - 03:14 PM

Thanks, broodplank.

 

I've added the parameter to the DISM command.

 

BTW, I'm seeing similar performance in my VM:

 

perf.png

 

 

I'm especially proud of this part of the script:

REM *** Show super-duper hidden extensions [basically deleting the NeverShowExt (REG_SZ) values] ***
REM .LNK (File/Folder Shortcut)
REM .URL (Internet Shortcut)
REM .PIF (MS-DOS Program Shortcut)
REM .SCF (Windows Explorer Command)
REM .SHS (Shell Scrap Object)
REM .library-ms (Library folder)


reg delete "HKEY_CLASSES_ROOT\lnkfile" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\IE.AssocFile.URL" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\IE.AssocFile.WEBSITE" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\InternetShortcut" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\Microsoft.Website" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\piffile" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\SHCmdFile" /v "NeverShowExt" /f
reg delete "HKEY_CLASSES_ROOT\LibraryFolder" /v "NeverShowExt" /f


#11 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 04 August 2015 - 04:06 PM

BTW, once all the "data leakage" tweaks have been performed, it's a good idea to add the following to the hosts file:
 
 
 

#BLOCK Microsoft Telemetry and data sending
#-----------------------------------------------------------
0.0.0.0 vortex.data.microsoft.com
0.0.0.0 vortex-win.data.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com
0.0.0.0 telecommand.telemetry.microsoft.com.nsatc.net
0.0.0.0 oca.telemetry.microsoft.com
0.0.0.0 oca.telemetry.microsoft.com.nsatc.net
0.0.0.0 sqm.telemetry.microsoft.com
0.0.0.0 sqm.telemetry.microsoft.com.nsatc.net
0.0.0.0 watson.telemetry.microsoft.com
0.0.0.0 watson.telemetry.microsoft.com.nsatc.net
0.0.0.0 redir.metaservices.microsoft.com
0.0.0.0 choice.microsoft.com
0.0.0.0 choice.microsoft.com.nsatc.net
0.0.0.0 df.telemetry.microsoft.com
0.0.0.0 reports.wes.df.telemetry.microsoft.com
0.0.0.0 services.wes.df.telemetry.microsoft.com
0.0.0.0 sqm.df.telemetry.microsoft.com
0.0.0.0 telemetry.microsoft.com
0.0.0.0 watson.ppe.telemetry.microsoft.com
0.0.0.0 telemetry.appex.bing.net
0.0.0.0 telemetry.urs.microsoft.com
0.0.0.0 telemetry.appex.bing.net:443
0.0.0.0 settings-sandbox.data.microsoft.com
0.0.0.0 vortex-sandbox.data.microsoft.com

EDIT: As suggested by Wonko (and his source), I've replaced 127.0.0.1 to 0.0.0.0.

Indeed, it seems better to use 0.0.0.0:
screenshot_1.png


  • NetworkPro likes this

#12 Zoso

Zoso

    Silver Member

  • Advanced user
  • 640 posts
  •  
    Isle of Man

Posted 04 August 2015 - 04:30 PM

hi ericgl,

this is very good info!

thanks

#13 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 04 August 2015 - 04:44 PM

Just for the record (and FYI) it would be better to point to 0.0.0.0:

http://www.msfn.org/...-in-windows-10/

 

In a nutshell, 127.0.0.1 on Windows 8.1 (and possibly on 10) produces a delay while 0.0.0.0 does not:

http://winhelp2002.mvps.org/hosts.htm

 

The more general issue (that needs to be actually checked/verified) is that the good MS guys may have decided to ignore some redirections in Hosts file :ph34r:, at least this already happened in the past:

http://www.securityf...2/30/0/threaded

and of course there is the known Windows Defender issue with Hosts file (in windows 8 and later only, if I recall correctly).

https://support.micr...n-us/kb/2764944

 

:duff:

Wonko


  • NetworkPro likes this

#14 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 04 August 2015 - 04:44 PM

Just added this bit to the top of the script:

 

REM *** change all Temp directories to C:\TEMP (environment variables) ***
REM *** NOTE: When running an individual command directly in CMD, use ^%. When running a CMD script file in CMD, use %% ***
md %SYSTEMDRIVE%\TEMP
reg add "HKEY_USERS\.DEFAULT\Environment" /v "TEMP" /t REG_EXPAND_SZ /d %%SYSTEMDRIVE%%\TEMP /f
reg add "HKEY_USERS\.DEFAULT\Environment" /v "TMP" /t REG_EXPAND_SZ /d %%SYSTEMDRIVE%%\TEMP /f
reg add "HKCU\Environment" /v "TEMP" /t REG_EXPAND_SZ /d %%SYSTEMDRIVE%%\TEMP /f
reg add "HKCU\Environment" /v "TMP" /t REG_EXPAND_SZ /d %%SYSTEMDRIVE%%\TEMP /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "TEMP" /t REG_EXPAND_SZ /d %%SYSTEMDRIVE%%\TEMP /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "TMP" /t REG_EXPAND_SZ /d %%SYSTEMDRIVE%%\TEMP /f
takeown /f %USERPROFILE%\AppData\Local\Temp /r /d y
icacls %USERPROFILE%\AppData\Local\Temp /grant Administrators:F /T
rd /s /q %USERPROFILE%\AppData\Local\Temp
takeown /f %SystemRoot%\Temp /r /d y
icacls %SystemRoot%\Temp /grant Administrators:F /T
rd /s /q %SystemRoot%\Temp

EDIT: replaced %HOMEDRIVE% with %SYSTEMDRIVE%.


  • NetworkPro likes this

#15 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 04 August 2015 - 04:44 PM

Sorry, double post, please ignore.

 

:duff:

Wonko



#16 Sorcerer

Sorcerer
  • Members
  • 1 posts
  • Location:Galati, Romania
  • Interests:Smartphone, technology, travelling
  •  
    Romania

Posted 04 August 2015 - 06:27 PM

How do I apply or download the script? If I try to copy the text, the hyperlinks are not copied correctly.


Edited by Sorcerer, 04 August 2015 - 06:27 PM.


#17 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 04 August 2015 - 06:34 PM

How do I apply or download the script? If I try to copy the text, the hyperlinks are not copied correctly.

You download the provided .zip or .7z files attached to first post, then expand them into a folder on your disk and run them.

 

@ericgl

Maybe you could put the text of the script inside  [ spoiler ] [ / spoiler ] tags so that your first post appears not so loooooong

Spoiler

 

 

:duff:

Wonko


  • Sorcerer likes this

#18 aizuon

aizuon
  • Members
  • 5 posts
  •  
    United Kingdom

Posted 04 August 2015 - 08:47 PM

great job on the script!  but i cant rename folders as you pointed out. do you know how can i fix this? i've searched on google but i couldnt find a solution. please help



#19 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 04 August 2015 - 08:54 PM

@aizuon,

I'm still working on a fix for the inability to rename folders.

Will keep you updated when I find which "reg delete" caused that. 

 

@Wonko,

I'll get right to it. I'm pondering whether I should break it up to sections, or just leave it as one big chunk of code :dubbio:



#20 aizuon

aizuon
  • Members
  • 5 posts
  •  
    United Kingdom

Posted 04 August 2015 - 09:01 PM

@aizuon,

I'm still working on a fix for the inability to rename folders.

Will keep you updated when I find which "reg delete" caused that. 

 

@Wonko,

I'll get right to it. I'm pondering whether I should break it up to sections, or just leave it as one big chunk of code :dubbio:

i would be grateful if you could add the .reg of the key that i deleted

 

also many ppl on 4chan using win10 uses your scripts bcuz of botnet ofc gr8 work m8



#21 broodplank

broodplank

    Newbie

  • Members
  • 15 posts
  • Location:Nijmegen
  •  
    Netherlands

Posted 04 August 2015 - 09:05 PM

i would be grateful if you could add the .reg of the key that i deleted

 

also many ppl on 4chan using win10 uses your scripts bcuz of botnet ofc gr8 work m8

 

Indeed, I found it on 4chan as well, then did some googling and ended up here.

 

gr8 script m8 i r8 8/8


Edited by broodplank, 04 August 2015 - 09:06 PM.

  • aizuon likes this

#22 acid

acid
  • Members
  • 4 posts
  •  
    United States

Posted 04 August 2015 - 10:31 PM

Just a quick note to those using this in a domain environment, using the settings for moving the temp folders will put them on a network drive if you have profile paths specified for your user accounts. In that situation the variable %HOMEDRIVE% is the drive letter their profile is mapped to, not the C: drive.


  • ericgl likes this

#23 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 05 August 2015 - 06:35 AM

@acid,
Thanks for the heads-up. Will use %SYSTEMDRIVE% instead of %HOMEDRIVE%.

 

Script updated to v0.7:

- Added screenshot of "Customize Settings" which appears during Windows 10 setup.
 - Added option to set Windows Photo Viewer as the default for JPG, JPEG, GIF, PNG, BMP, TIFF and ICO files.

- In change all Temp directories to C:\TEMP, replaced %HOMEDRIVE% with %SYSTEMDRIVE%.

- Added another line to Remove Telemetry & Data Collection.
 



#24 plexer

plexer
  • Members
  • 5 posts
  •  
    Denmark

Posted 05 August 2015 - 07:18 AM

Great work - thanks a lot for the time and effort spent on this!  :clap:


  • ericgl likes this

#25 iycgtptyarvg

iycgtptyarvg
  • Members
  • 6 posts
  •  
    Netherlands

Posted 05 August 2015 - 07:25 AM

Great stuff!!! Thanks for the effort of collecting this.







Also tagged with one or more of these keywords: win10, windows 10, script, tweaks

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users