-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
445 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Windows 10 Optimizer Batch | ||
It's just a little script to tweak Windows 10 and install often used apps like 7zip or Notepad++ with the support of chocolatey. | ||
|
||
## Windows 10 tweaks | ||
- Remove the storeage of fast-access programs and files | ||
- Remove the folder 'fast-access' from the sidebar | ||
- Explorer start with 'This PC' instead of 'fast-access' | ||
- Also [Win]+[E] start with 'This PC' | ||
|
||
## Often used apps | ||
You can edit the list by using chocolatey: https://chocolatey.org/packages | ||
- 7zip | ||
- battle.net | ||
- dropbox | ||
- filebot | ||
- geforce-experience | ||
- googlechrome | ||
- hashtab | ||
- jdk7 | ||
- jdownloader | ||
- logitechgaming | ||
- notepadplusplus | ||
- office365proplus | ||
- openvpn | ||
- paint.net | ||
- pdf24 | ||
- putty | ||
- python | ||
- quicktime | ||
- spotify | ||
- steam | ||
- teamspeak | ||
- teamviewer | ||
- telegram | ||
- virtualbox | ||
- vlc | ||
- winmerge | ||
- winscp | ||
- wireshark | ||
|
||
## Licensing | ||
This program is published under the terms of the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html) excluding a commercial/profit-oriented use. If you want to use this framework in a commercial context you have to buy an individual license. Therefore please contact the administrator of this repository. | ||
|
||
## Changelog | ||
1.0.0, 2017-09-06 | ||
- initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@echo off | ||
|
||
:: Windows 10 Optimizer Batch | ||
:: | ||
:: Written by Niranda | ||
:: Simple to use, easy to get, visit niranda.net | ||
:: | ||
:: For more information and updates visit: | ||
:: https://github.com/Niranda/Windows-10-Optimizer-Batch | ||
:: | ||
:: Licensed under GPLv3 | ||
:: | ||
:: Version 1.0.0 2017-06-09 | ||
|
||
echo. | ||
echo. | ||
echo. | ||
echo. | ||
echo ----------------- !!! ATTENTION !!! ----------------- | ||
echo. | ||
echo This script needs administrative rights to access and install all programs | ||
echo and options. At the next step this script ask for administrative rights. | ||
echo. | ||
echo Please check all the scripts if they match your needs. | ||
echo. | ||
echo If you like to go on hit any key. Otherwise simply close this window. | ||
echo. | ||
echo. | ||
pause | ||
|
||
call .\bin\Win10_optimizer_batch.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@echo off | ||
|
||
:: Windows 10 Optimizer Batch | ||
:: | ||
:: Written by Niranda | ||
:: Simple to use, easy to get, visit niranda.net | ||
:: | ||
:: For more information and updates visit: | ||
:: https://github.com/Niranda/Windows-10-Optimizer-Batch | ||
:: | ||
:: Licensed under GPLv3 | ||
|
||
echo. | ||
echo --- installing chocolatey (used to download and install applications)... | ||
:: Chocolatey installieren | ||
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | ||
|
||
echo ...Done! | ||
echo. | ||
echo --- starting the installation of your selected apps... | ||
|
||
:: Programme über Chocolatey installieren | ||
:: REMEMBER: You also have to edit the "Win10_uninstall_own_apps.bat" file! | ||
choco install office365proplus quicktime 7zip.install spotify winscp googlechrome teamspeak putty steam jdownloader telegram.install vlc battle.net winmerge notepadplusplus.install python jdk7 virtualbox paint.net dropbox teamviewer pdf24 wireshark openvpn logitechgaming geforce-experience filebot hashtab -y | ||
|
||
echo. | ||
echo. | ||
echo ...Done! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
@echo off | ||
|
||
:: Windows 10 Optimizer Batch | ||
:: | ||
:: Written by Niranda | ||
:: Simple to use, easy to get, visit niranda.net | ||
:: | ||
:: For more information and updates visit: | ||
:: https://github.com/Niranda/Windows-10-Optimizer-Batch | ||
:: | ||
:: Licensed under GPLv3 | ||
|
||
:: BatchGotAdmin (Run as Admin code starts) | ||
|
||
REM --> Check for permissions | ||
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | ||
|
||
REM --> If error flag set, we do not have admin. | ||
if '%errorlevel%' NEQ '0' ( | ||
echo Requesting administrative privileges... | ||
goto UACPrompt | ||
) else ( goto gotAdmin ) | ||
|
||
:UACPrompt | ||
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" | ||
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs" | ||
|
||
"%temp%\getadmin.vbs" | ||
exit /B | ||
|
||
:gotAdmin | ||
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" ) | ||
pushd "%CD%" | ||
CD /D "%~dp0" | ||
|
||
:: BatchGotAdmin (Run as Admin code ends) | ||
:: Your codes should start from the following line | ||
|
||
echo. | ||
echo ====================================== | ||
echo ----- Windows 10 Optimizer Batch ----- | ||
echo -------------------------------------- | ||
echo ----- By Niranda www.Niranda.net ----- | ||
echo ====================================== | ||
|
||
:START | ||
echo. | ||
echo. | ||
echo Let us optimize your Windows 10 installation! | ||
echo What do you like to do? Enter a number and hit enter! | ||
echo. | ||
echo -- OWN SELECTED APPS -- | ||
echo 1 = Install own selected apps | ||
echo 2 = Update own selected apps | ||
echo 3 = Uninstall own selected apps | ||
echo. | ||
echo -- WINDOWS 10 TWEAKS -- | ||
echo 4 = Remove fast-access folder and files | ||
echo 5 = Remove Win10 standard apps | ||
echo. | ||
echo -- OTHERS -- | ||
echo 0 = Exit this programm | ||
echo. | ||
echo. | ||
|
||
set /p x= You like to do number: | ||
IF /I "%X%"=="1" goto :ONE | ||
IF /I "%X%"=="2" goto :TWO | ||
IF /I "%X%"=="3" goto :THREE | ||
IF /I "%X%"=="4" goto :FOUR | ||
IF /I "%X%"=="5" goto :FIVE | ||
IF /I "%X%"=="0" goto :EXIT | ||
|
||
cls | ||
echo. | ||
echo This wasn't a valid option! Please choose a number between 0 and 5 - read the options you DAU!!!!111one | ||
goto START | ||
|
||
:ONE | ||
cls | ||
echo. | ||
echo. | ||
echo. | ||
echo 1 - Install own selected apps... | ||
call Win10_install_own_apps.bat | ||
goto START | ||
|
||
:TWO | ||
cls | ||
echo. | ||
echo. | ||
echo. | ||
echo 2 - Update own selected apps... | ||
call Win10_update_own_apps.bat | ||
goto START | ||
|
||
:THREE | ||
cls | ||
echo. | ||
echo. | ||
echo. | ||
echo 3 - Uninstall own selected apps... | ||
call Win10_uninstall_own_apps.bat | ||
goto START | ||
|
||
:FOUR | ||
cls | ||
echo. | ||
echo. | ||
echo. | ||
echo 4 - Remove fast-access folder and files... | ||
call Win10_remove_fast_access_last_used.bat | ||
goto START | ||
|
||
:FIVE | ||
cls | ||
echo. | ||
echo. | ||
echo. | ||
echo 5 - Remove Win10 standard apps... | ||
call Win10_remove_standard_apps.bat | ||
goto START | ||
|
||
:EXIT | ||
cls | ||
echo. | ||
echo. | ||
echo. | ||
echo 0 - Exit | ||
echo. | ||
echo To complete all changes you should restart your Windows - just to be safe. | ||
echo Safe anything BEFORE you hit 'yes'! | ||
echo. | ||
echo. | ||
set /p x= Do you like to restart now? Type 'y' for yes or 'n' for no: | ||
IF /I "%X%"=="y" goto :RESTART | ||
IF /I "%X%"=="yes" goto :RESTART | ||
IF /I "%X%"=="j" goto :RESTART | ||
IF /I "%X%"=="ja" goto :RESTART | ||
IF /I "%X%"=="n" goto :END | ||
IF /I "%X%"=="no" goto :END | ||
IF /I "%X%"=="nein" goto :END | ||
IF /I "%X%"=="nope" goto :END | ||
|
||
:RESTART | ||
cls | ||
echo. | ||
echo. | ||
echo RESTARTING WINDOWS IN 3 SECONDS! | ||
shutdown.exe /r /t 03 | ||
echo. | ||
echo. | ||
|
||
goto END | ||
|
||
:END | ||
echo. | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
echo BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE BYE | ||
|
||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@echo off | ||
|
||
:: Windows 10 Optimizer Batch | ||
:: | ||
:: Written by Niranda | ||
:: Simple to use, easy to get, visit niranda.net | ||
:: | ||
:: For more information and updates visit: | ||
:: https://github.com/Niranda/Windows-10-Optimizer-Batch | ||
:: | ||
:: Licensed under GPLv3 | ||
|
||
echo. | ||
echo --- Remove known information about last used apps and files... | ||
|
||
:: Ansicht der Häufig verwendeten Ordner und Dateien zurücksetzen | ||
del /F /Q %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*.automaticDestinations-ms | ||
|
||
echo ...Done! | ||
echo. | ||
echo --- Edit registry to disable fast-access and last used apps and files... | ||
echo 1. The Registry Editor shows a warning of editing the registry. To go on hit 'yes'. | ||
echo 2. The Registry Editor will confirm the updates, just hit 'ok'.4 | ||
|
||
Win10_remove_fast_access_last_used.reg | ||
|
||
echo ...Done! |
Binary file not shown.
Oops, something went wrong.