diff --git a/common.bat b/common.bat new file mode 100644 index 0000000..0866801 --- /dev/null +++ b/common.bat @@ -0,0 +1,26 @@ +@echo off + +PowerShell -command "irm https://community.chocolatey.org/install.ps1 | iex" + +PowerShell -command "winget" + +echo Running Shutup 10.... +oosu10.exe shutmouth.cfg /quiet + +echo Stopping and Disabling Windows Update services... +net stop wuauserv +sc config wuauserv start= disabled +net stop bits +sc config bits start= disabled +net stop dosvc +sc config dosvc start= disabled + +echo Setting region to Denmark.... +PowerShell Set-WinHomeLocation -GeoID 61 + +echo Removing stuff CTT Utility missed.... +Get-AppxPackage -alluser *Paint* | Remove-Appxpackage +Get-AppxPackage -alluser *Notepad* | Remove-Appxpackage +Get-AppxPackage -alluser *DevHome* | Remove-Appxpackage +Get-AppxPackage -alluser *YourPhone* | Remove-Appxpackage +Get-AppxPackage -alluser *WindowsStore* | Remove-Appxpackage \ No newline at end of file diff --git a/desktop.bat b/desktop.bat index 60f44d9..2a065b1 100644 --- a/desktop.bat +++ b/desktop.bat @@ -1,29 +1,13 @@ @echo off cd /D "%~dp0" +color 0a +title [Desktop] Sams Chris Titus Overlay + +echo Doing common stuff... +common.bat echo Installing apps fron winget config file.... wingetd.bat -echo Running Shutup 10.... -oosu10.exe shutmouth.cfg /quiet - -echo Stopping and Disabling Windows Update services... -net stop wuauserv -sc config wuauserv start= disabled -net stop bits -sc config bits start= disabled -net stop dosvc -sc config dosvc start= disabled - -echo Setting region to Denmark.... -PowerShell Set-WinHomeLocation -GeoID 61 - -echo Removing stuff CTT Utility missed.... -Get-AppxPackage -alluser *Paint* | Remove-Appxpackage -Get-AppxPackage -alluser *Notepad* | Remove-Appxpackage -Get-AppxPackage -alluser *DevHome* | Remove-Appxpackage -Get-AppxPackage -alluser *YourPhone* | Remove-Appxpackage -Get-AppxPackage -alluser *WindowsStore* | Remove-Appxpackage - echo Done. pause \ No newline at end of file