based on original document from Alan Stevens
- Install using Local Account first, attach Microsoft account later
- Settings -> Update & Security
- Install all updates
- View Menu-> Options: Show Hidden Files, Protected Files, extensions
- Not needed in Parallels
- Settings -> Devices -> Mouse & touchpad, Reverse Scrolling Direction
- If no touch pad do this
- Admin Powershell
Set-ExecutionPolicy Unrestricted
- Copy folders from old machine:
- \utl
- \admin
- Add
c:\utl
to User path - Change Machine Name
- Change Network to WESTWIND
- Change Private Network Access Policy
- Turn on Network Discovery
- Turn on File and Printer Sharing
- Reboot
- This takes a while so start it and let it run
- Development folders
- To install Chocolatey, follow the instructions here.
choco feature enable -n allowGlobalConfirmation
choco feature enable -n allowEmptyChecksums
# First items to install
choco install vscode googlechrome filezilla firefox
# then run scripts from `\Admin\MachineConfig` folder
Yes this sounds silly but it'll make sure that anything you install with VS can be installed where you want it to with a re-install. Also extensions etc. can be installed with chocolatey afterwards.
- Download and install
- Just install database engine services
- Mixed mode. Add Administrators group and current user to server administrators.
- must be installed before SQL Server Management Studio
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Run
OptionalFeatures.exe
- Choose IIS and tick options
- Or use Install-IIS Powershell script (Admin scripts)
- Install git manually to select custom settings
- De-select "Windows Explorer Integration"
- Select "Use Git and optional Unix tools from the Windows Command Prompt"
- Use Admin folder scripts
- Install Chocolatey packages
- Visual FoxPro
- Nitro Pro
- Corel Draw
- QuickBooks
- ActiveBar ActiveX (Help Builder)
- Sandbar (WebStore Client)
- DevExpress Reports (WebStore Client)
- WinZip
- WinZip Self Extractor
- In an administrator prompt:
- Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
- Install-Module Get-ChildItemColor
- Install-Module PSReadLine
- Settings -> TouchPad -> Scrolling Direction (Down Motion scrolls down)
- In an admin console:
powercfg -h off
- Reboot
- Add
c:\temp
folder - Add
c:\temp\tmpfiles
- Set
TMP
andTMP
Environment Vars toc:\temp\tmpfiles
- Go to: Virus and Thread Protection Settings -> Exclusions
- Projects Folder
- Temp Folder
- Visual Studio Folder
- Resharper:
%LOCALAPPDATA%\JetBrains\Transient
git config --global user.name "Rick Strahl"
git config --global user.email "rstrahl@west-wind.com"
-
Add External Commands:
- Explorer - Ctrl-Shift-\
- ConEmu - Ctrl-Alt-\
C:\Program Files\ConEmu\ConEmu64.exe
/dir $(ItemDir) /cmd {Powershell:Admin}
-
Extensions
- Add New File
- Web Compiler
- Image Optimizer
- File Nesting
- Copy ConEmu.xml from old computer
code ~\Documents\WindowsPowerShell\Microsoft.PowerShell_Profile.ps1
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
# Import-Module posh-git
# #Add-PoshGitToProfile
# $GitPromptSettings.DefaultPromptSuffix = '`n$(''>'' * ($nestedPromptLevel + 1)) '
# $GitPromptSettings.DefaultForegroundColor = 'Yellow'
function prompt {
# Just prettify the prompt
#Write-Host -NoNewline -ForegroundColor Cyan "PS "
$dir = $(get-location).ProviderPath
Write-Host -ForegroundColor Yellow "PS $dir"
# # You may use ANSI or direct ConEmuC call
# if ($env:ConEmuBaseDir -ne $null) {
# # Write-Host -NoNewline (([char]27) + "]9;9;`"" + $dir + "`"" + ([char]27) + "\")
# & ConEmuC.exe -StoreCWD "$dir"
# }
return "> "
}