-
Notifications
You must be signed in to change notification settings - Fork 0
/
WinSettings.ps1
27 lines (23 loc) · 1.2 KB
/
WinSettings.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
##########################################################################################
# Execute this script by starting the BoxStarter prompt and executing
# Install-BoxstarterPackage C:\tmp\BoxStarter.txt
# * Note: You must reference it by absolute path instead of relative path
##########################################################################################
# Set core system settings
Invoke-Expression $PSScriptRoot\Helpers\Disable-UAC.PS1
Invoke-Expression $PSScriptRoot\Helpers\Disable-InternetExplorerESC.PS1
# Set desired user settings
Import-Module $PSScriptRoot\Helpers\Set-WindowsExplorerOptions.ps1
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Import-Module $PSScriptRoot\Helpers\Set-TaskbarOptions.ps1
Set-TaskbarOptions -Size Small -Lock -Dock Bottom -Combine Never
# App launcher bar changes
Get-AppxPackage | Remove-AppxPackage
Invoke-Expression $PSScriptRoot\Helpers\Disable-BingSearch.ps1
# Make some folders that are handy
if(!(Test-Path -Path C:\Temp\ )){
New-Item -ItemType directory -Path C:\Temp\
}
if(!(Test-Path -Path C:\Share\ )){
New-Item -ItemType directory -Path C:\Share\
}