## This configuration file uses BoxStarter to configure the system
## and Chocolatey to install necessary packages

Write-Output "Starting Common Configuration and Installs"

choco feature enable --name=allowGlobalConfirmation

## System Configuration

# Set-ExplorerOptions -showFileExtensions

Write-Output "Enabling Remote Desktop"

Enable-RemoteDesktop
Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP -Enabled True

Disable-InternetExplorerESC # Turns off Internet Explorer Enhanced Security Configuration that is on by default on Server OS versions.

Disable-BingSearch # Disables the Bing Internet Search when searching from the search field in the taskbar or Start Menu

Write-Host "Hiding Taskbar Search box / button..."
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -Type DWord -Value 0

Write-Host "Hiding Task View button..."
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowTaskViewButton" -Type DWord -Value 0

Write-Output "Enabling and Running Windows Update"

Enable-MicrosoftUpdate

Write-Output "Beginning Chocolatey installs"

## Web Browsers

choco install GoogleChrome
choco install Firefox

## Common System Tools

choco install 7zip.install 
choco install vscode

# choco install rdcman

# choco install google-backup-and-sync

choco install adobereader

choco install greenshot
## This configuration file uses BoxStarter to configure the system
## and Chocolatey to install necessary packages

Write-Output "Starting Common Configuration and Installs"

choco feature enable --name=allowGlobalConfirmation

## System Configuration

# Set-ExplorerOptions -showFileExtensions

Write-Output "Enabling Remote Desktop"

Enable-RemoteDesktop
Set-NetFirewallRule -Name RemoteDesktop-UserMode-In-TCP -Enabled True

Disable-InternetExplorerESC # Turns off Internet Explorer Enhanced Security Configuration that is on by default on Server OS versions.

Disable-BingSearch # Disables the Bing Internet Search when searching from the search field in the taskbar or Start Menu

Write-Host "Hiding Taskbar Search box / button..."
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -Type DWord -Value 0

Write-Host "Hiding Task View button..."
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowTaskViewButton" -Type DWord -Value 0

Write-Output "Enabling and Running Windows Update"

Enable-MicrosoftUpdate

Write-Output "Beginning Chocolatey installs"

## Web Browsers

choco install GoogleChrome
choco install Firefox

## Common System Tools

choco install 7zip.install 
choco install vscode

# choco install rdcman

# choco install google-backup-and-sync

choco install adobereader

choco install greenshot

choco install f.lux
Add f.lux because it was killing my eyes
Add f.lux because it was killing my eyes
