Disable all telemetry and privacy breaching settings on initial setup. (voice search, location services, etc...)
$hexified = "00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);
skype
Get-AppxPackage *Microsoft. SkypeApp* | Remove-AppxPackage
onedrive https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/remove-onedrive.ps1
show hidden files in explorer
$key = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'
Set-ItemProperty $key Hidden 1
Set-ItemProperty $key HideFileExt 0
Set-ItemProperty $key ShowSuperHidden 1
Stop-Process -processname explorer
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
install programs with chocolatey
choco install zoom vscode gnupg sharex powertoys paint.net wireshark winrar winzip batch-hex-editor slack curl Firefox Fiddler audacity audacity-lame audacity-ffmpeg vlc webtorrent-desktop gimp itunes inkscape
- install firefox nightly
- set firefox as default browser
- enable optional features in windows menu, install openssh server
- start service
Get-Service -Name ssh-agent | Set-Service -StartupType Manual
- gen keys
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- start service
start-ssh-agent
- add keys
ssh-add ~/.ssh/id_rsa
- add new pub key to github
$null >> ~.ssh/config
Host remotedev
HostName remote_dev_server_ip_address_here
User djustice
IdentityFile "C:\Users\davej\.ssh\id_rsa"
ForwardAgent yes
RemoteForward /run/user/1000/gnupg/S.gpg-agent /c/Users/davej/AppData/Roaming/gnupg/S.gpg-agent.extra
LocalForward 1080 localhost:1080
LocalForward 1111 localhost:1111
LocalForward 1112 localhost:1112
LocalForward 3030 localhost:3030
LocalForward 3031 localhost:3031
LocalForward 8080 localhost:8080
LocalForward 9000 localhost:9000
LocalForward 9010 localhost:9010
LocalForward 9292 localhost:9292
gpg --full-generate-key
selectdsa and rsa
and4096
- list keys
gpg --list-secret-keys --keyid-format LONG
- export key
gpg --armor --export keyidhere
- add key to github