Skip to content

Instantly share code, notes, and snippets.

@The-Running-Dev
Last active September 9, 2016 16:04
Show Gist options
  • Save The-Running-Dev/f8ef4d95a6eae7b1e79f1db440f24f07 to your computer and use it in GitHub Desktop.
Save The-Running-Dev/f8ef4d95a6eae7b1e79f1db440f24f07 to your computer and use it in GitHub Desktop.
########################################
# Boxstarter options
# start http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/Boyan-Kostadinov/f8ef4d95a6eae7b1e79f1db440f24f07/raw/f25d3b78b8bf68d9503d949363a75d1a218acca9/BoxStarter-Setup
########################################
# Don't allow reboots
$Boxstarter.RebootOk = $true
# Is this a machine with no login password
$Boxstarter.NoPassword = $false
# Save password securely and auto-login after a reboot
$Boxstarter.AutoLogin = $true
########################################
########################################
# Window Configuration. See http://boxstarter.org/WinConfig
########################################
Write-BoxstarterMessage "Configuring Windows"
Update-ExecutionPolicy Unrestricted
Enable-RemoteDesktop
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar -DisableOpenFileExplorerToQuickAccess -DisableShowRecentFilesInQuickAccess -DisableShowFrequentFoldersInQuickAccess -EnableExpandToOpenFolder
Disable-UAC
if (Test-PendingReboot) { Invoke-Reboot }
Disable-GameBarTips
# Disable-InternetExplorerESC
Set-TaskbarOptions -Size Small -Lock -Dock Bottom -Combine Full
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment