Last active
February 13, 2017 17:43
-
-
Save cygnull/9546ec8639da7849d3a4098a7ee9a8c7 to your computer and use it in GitHub Desktop.
Boxstarter Script for Initial Setup of Windows 10 PC..
This file contains hidden or 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
# Initial Setup # | |
################# | |
#The command to run, built from the raw link of this gist | |
#START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/cygnull/9546ec8639da7849d3a4098a7ee9a8c7/raw/0ad14b79d360826d83ff462eb072649578ae7d6a/Boxstarter-InitialSetup.txt | |
#As described here: http://boxstarter.org/Learn/WebLauncher | |
######################################### | |
# Set Execution Policy and Disable UAC # | |
######################################### | |
Set-ExecutionPolicy Unrestricted | |
Disable-UAC | |
################################### | |
# Install Chocolatey & Boxstarter # | |
################################### | |
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
choco install -y boxstarter | |
############################################### | |
# Disable defrag (no need when having an SSD) # | |
############################################### | |
Get-ScheduledTask -TaskName *defrag* | Disable-ScheduledTask | |
################# | |
# .NET 4.6.1 # | |
################# | |
choco install DotNet4.6.1 -y | |
if (Test-PendingReboot) { | |
Invoke-Reboot | |
} | |
########################################### | |
# Update Windows and reboot if necessary # | |
########################################### | |
Install-WindowsUpdate -AcceptEula -GetUpdatesFromMS | |
if (Test-PendingReboot) { Invoke-Reboot } | |
Disable-MicrosoftUpdate | |
####################### | |
# Essential Software # | |
####################### | |
choco install 7zip.install -y | |
choco install Firefox -y | |
choco install thunderbird -y | |
choco install -y chocolateygui | |
choco install -y keepass.install | |
choco install -y dropbox | |
choco install -y flashplayerplugin | |
choco install -y qbittorrent | |
choco install -y sysinternals | |
choco install -y WindowsSystemControlCenter | |
choco install -y curl | |
choco install -y wget | |
choco install -y malwarebytes | |
choco install -y ccleaner | |
choco install -y ccenhancer | |
choco install -y SublimeText3 | |
choco install -y SublimeText3.PackageControl | |
choco install -y jivkok.SublimeText3.Packages | |
choco install -y adb | |
choco install -y rufus.install | |
choco install -y vmwareworkstation | |
choco install -y sumatrapdf.install | |
choco install -y glasswire | |
choco install -y vlc | |
choco install -y ffmpeg | |
choco install -y spotify | |
choco install -y livestreamer-twitch-gui | |
choco install -y steam | |
#choco install plexmediaserver -y | |
choco install cccp -y | |
choco install discord -y | |
choco install boxcryptor -y | |
#choco install googlechrome -y | |
#choco install AdobeAIR -y | |
#choco install VirtualCloneDrive -y | |
#choco install googledrive -y | |
#choco install winmerge -y | |
#choco install fiddler4 -y | |
#choco install realvnc -y | |
choco install sugarsync -y | |
#### Schedule updates to applications with chocolatey | |
schtasks.exe /create /s "localhost" /ru "System" /tn "Update Chocolatey packages" /tr "%ChocolateyInstall%\bin\cup all" /sc DAILY /st 06:00 /F | |
Write-BoxstarterMessage "Set update schedule for apps is finished" | |
if (Test-PendingReboot) { Invoke-Reboot } | |
Move-LibraryDirectory "Downloads" "E:\Downloads" | |
Install-ChocolateyFileAssociation ".txt" "$env:programfiles\Sublime Text 3\sublime_text.exe" | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Set-TaskbarOptions -Size Small -Lock | |
Disable-InternetExplorerESC | |
Disable-BingSearch | |
Disable-GameBarTips | |
Disable-PSRemoting | |
Write-BoxstarterMessage "Enabling UAC, Windows Update, and Cleaning up Boxstarter junk" | |
################ | |
Update-ExecutionPolicy Unrestricted | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -acceptEula -GetUpdatesFromMS | |
#Turn UAC Back on | |
Enable-UAC | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment