Skip to content

Instantly share code, notes, and snippets.

@grantcarthew
Last active October 24, 2016 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grantcarthew/8513634 to your computer and use it in GitHub Desktop.
Save grantcarthew/8513634 to your computer and use it in GitHub Desktop.
Base Image Bootstrap Script for Boxstarter.
Update-ExecutionPolicy -Policy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableExpandToOpenFolder -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess -EnableShowRecentFilesInQuickAccess -EnableShowFrequentFoldersInQuickAccess
Set-StartScreenOptions -EnableBootToDesktop
Set-TaskbarOptions -Combine Never
Enable-RemoteDesktop
Disable-InternetExplorerESC
Disable-UAC
Disable-BingSearch
Disable-GameBarTips
cinst chocolatey -y
cinst git.install -y
Install-WindowsFeature -Name Telnet-Client,Xps-Viewer
Set-Service -Name 'WSearch' -StartupType Automatic
Start-Service -Name 'WSearch'
Install-WindowsUpdate -AcceptEula -Criteria "BrowseOnly=0 OR BrowseOnly=1 AND IsAssigned=1 AND IsHidden=0 AND IsInstalled=0 AND Type='Software' OR Type='Driver'"
Rename-Computer -NewName Base2016Audit -Restart -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment