Skip to content

Instantly share code, notes, and snippets.

@Honeybunch
Last active August 29, 2015 13:56
Show Gist options
  • Save Honeybunch/9316513 to your computer and use it in GitHub Desktop.
Save Honeybunch/9316513 to your computer and use it in GitHub Desktop.
@echo off
PowerShell -NoProfile -ExecutionPolicy RemoteSigned -Command "& '%~dp0\AllowPS.ps1'"
pause
Set-ExecutionPolicy RemoteSigned
#Set Registry to use small taskbar icons
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name TaskbarSmallIcons -Value 1
#Set Registry to use color 11 (dark green) for Win8 Start Screen Color
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Accent -Name ColorSet_Version3 -Value 11
#Set Registry to not hide file extentions
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -Value 0
#Set Registry to not hide folders
Set-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -Value 1
#Execute the nearby theme file
.\theme.deskthemepack
#Restart Explorer
Stop-Process -ProcessName explorer -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment