r/gpdwin • Optimization Script + XTU Manager Creator • Jun 21 '17

Windows 10 Optimization Script For GPD WIN

NOTE: I AM NOT ACTIVELY DEVELOPING THIS SCRIPT ANYMORE AND HAVE NOT DONE SO SINCE 2017. WHAT YOU SEE HERE IS WHAT YOU GET. PLEASE DO NOT CONTACT ME ABOUT IT. THANK YOU.

Disclaimer: I'm not responsible if anything isn't working after running this script without opening it up first and reading what it does. By default, features like XBOX DVR, Windows Media Player, Sleep & Hibernation will be disabled. Again, please read the script and adjust it before running.


Hey guys,

I've bundled all kinds of Win 10 tweaks from around the web and put them into a huge Powershell script. I've also made my own and changed some things specifically for the GPD Win. It also comes with a few extras.

I've been using a less aggressive version of this for all my fresh Win10 installs to save lots of time tweaking. I've tested all new GPD Win specific tweaks and changes as well to make sure it all works as intended.

Here's a few of the things this script does:

  • Service disables
  • Service tweaks (disable UAC and Windows Update automatic restart)
  • Component uninstalls
  • Download and execute a Ninite automatic software install
  • UI tweaks like minimal menu delay and optimal settings for performance
  • Settings tweaked for maximum privacy
  • Show This PC & User Folder shortcuts on the desktop
  • Increase the size of the desktop icons
  • Remove unwanted apps (everything except the Store)
  • Disable hibernation (reclaim some storage space)
  • Disable automatic driver updates
  • Clean WinSXS folder after everything is ready to reclaim precious storage space
  • A LOT more

Be sure to go through the script and comment out anything you don't want by putting hashes (#) before the name of the tweak at the top of the script.


>>> DOWNLOAD HERE <<<

Instructions:

  • Download the script and give it a .PS1 extension.
  • Open the Start menu and type in "ISE".
  • Right click Windows Powershell ISE and select "Run As Administrator".
  • Click the yellow folder icon and open the ps1 file you saved.
  • Copy-paste this command into the blue command line at the bottom:

    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

  • Press ENTER to execute the command.
  • A messagebox will pop up asking if you want to change the execution policy, click "Yes to All".

http://i.imgur.com/I5rdrY8.png

  • Press the green play button to actually start running the script.

http://i.imgur.com/pMg4zTz.png

  • Follow the instructions. It's mostly automatic but it does ask a question now and then.

Feel free to offer suggestions to add to the script, I haven't found out yet how to tweak the power options for example. (except disabling hibernation) You're also free to modify it in any way you see fit and make it your own, just be sure to preserve the MIT license.


Changelog:

v2.0

v2.1

  • More GPD Win service tweaks
  • Even more services to disable
  • More features/components removed
  • Disable the compatibility appraiser
  • Minor cleanup
  • Enabled more default tweaks

v2.2

  • Improved the way applications get installed by Ninite, you can now easily decide what apps (not) to install

v2.2.1

  • Fixed Ninite install bug causing the script to endlessly loop (yikes!)
  • Tried to keep some reg edits more silent

v2.3

  • Added more bloatware removal (39a1d90)

v2.4

  • Fixed reboot prompt
64 Upvotes

94 comments sorted by

View all comments

Show parent comment

1

u/Xarrdroid Jun 23 '17

Awesome! Got this working latest build creators insider preview. Anyway to kill this damn Cortana process without upgrading to pro? If not I might kms this thing to get rid of it. Just a waste of resources and ram!

2

u/BlackDragonBE Optimization Script + XTU Manager Creator Jun 23 '17 edited Jun 23 '17

This script should kill Cortana (even in the Home edition AFAIK), this part does that:

Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "AllowCortana" -Type DWord -Value 0 
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "DisableWebSearch" -Type DWord -Value 1 

It's basically doing the same as described here.

Is it not working for you? If there's still a Cortana icon, it should open the normal search instead of Cortana.

EDIT: If you're talking about SearchUI.exe, that's the normal search process, there's no way of disabling that without breaking the native search functionality. Cortana is intertwined with that process though, so you might still see a reference to it, but it won't use any extra resources like before. You can read more about it here.

1

u/Xarrdroid Jun 23 '17

Will try a this and thank you for your help and hard work. I have no search option at all, fine, but in running processes, Cortana just keeps sitting there running. Even killing it out launches again. Also, I need add back the appropriate Xbox modules for streaming Xbox one (RDR). I installed the Xbox app again, but can't sign into Xbox live anymore. Do you know if I need to restore the whole Xbox package again through power shell? Or is there another way to keep from getting the game bar etc. Cheers

1

u/BlackDragonBE Optimization Script + XTU Manager Creator Jun 23 '17 edited Sep 27 '17

I'm guessing that's what I was talking about, it should just use about 40MB of ram and no CPU power at all.
As for the Xbox functionality, I'm not 100% sure as I don't use it myself, but dong the following should re-enable it after a reboot:

  • Set these services to automatic: XblAuthManager, XblGameSave, XboxNetApiSvc
  • Run the following command in (an administrator) Powershell window (you might need to apply the ExecutionPolicy again first like in the instructions above):

    Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR" -Name "AllowGameDVR" -Type DWord -Value 1
    Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_Enabled" -Type DWord -Value 1

Again, I'm not 100% sure if that re-enables it, but that should undo the script changes in regards to Xbox functionality.