How I setup my Windows UI look and feel
Overview
Here is how to setup a Windows 10 client.
TODO: PowerShell script to automate these manual commands.
NOTE: 64-bit programs install to “C:\Program Files” on 64-bit machines.
Older 32-bit programs install to “C:\Program Files (x86)”.
Apps on a 32-bit computer cannot use all 4 GB (RAM) memory installed because of memory used by video cards, network cards, sound cards, and other devices.
No machine?
There are now several ways to do complicated work on a cheap Chromebook laptop.
Even if you have a top-of-the-line laptop, use SaaS (Software-as-a-Service) offerings to minimize backup from local drives and other disk space maintenance toil.
You can run Python without installing Python and all that goes with it) by using Google’s Colab at
https://colab.research.google.com/
where you can run even the largest of Python programs as Jupyter notebooks.
See my wilsonmar.github.io/jupyter
Use AWS Workspaces
Quickly spin up server instances in the cloud using Amazon’s Workspaces.
-
Login to the console:
-
If you don’t have an account that’s less than a year old so you can use free small instances, click “Create a new AWS account” to use an email not used before.
-
Define user.
-
Click the region to select “Oregon”, which is the only region supporting Workspaces in the US.
-
Click Services at the top black menu bar to type enough of “Workspaces” to select it.
-
Click “Get Started Now”.
-
Click the blue “Launch” under “Quick Setup” (Advanced only applies to people who work with Active Directory)
https://us-west-2.console.aws.amazon.com/workspaces/home?region=us-west-2#
-
For Bundles select “Standard with Windows 10” because it’s Free Tier Elgible.
-
Fill out username, names, email, etc. and click “Launch WorkSpaces”.
- Click “View the Workspaces Console”.
-
Click the refresh icon or press control+R while you wait (about 20 minutes) for the Status to go from “PENDING” to “AVAILABLE”.
-
assign desktop applications to your Windows WorkSpaces users using Amazon WorkSpaces Application Manager (WAM).
While you’re waiting
- While the server is coming up, highlight and copy the Registration code
- Open the Amazon Workspaces app
- Mouse to the top of the screen for Workspaces > Options > Manage Registrations.
-
Paste the Registration Code in the form
After the server instance becomes available:
-
Click the black arrow to the left of the Workspace ID to expand it
- In your email client, open the email with subject “Your Amazon WorkSpace”.
-
Click the long link for the pop-up in browser:
- Generate a password, paste it in and click “Update User”. Save the Login somewhere.
- Switch to your Workspaces local client instead of clicking Download.
- Mouse to the top of the screen for Workspaces > Options > Manage Registrations.
- Paste the Registration Code in the form
- Click Continue to login.
-
Input the user name and password and Sign In.
If the button is gray and can’t be clicked, exit the program and invoke it again.
-
Click “Yes” to Remember Me.
- ??? Save the .rpd file. Rename it.
-
Double-click on the .rdp file to open it
WorkSpaces appears
-
Say “No” to Network.
TODO: image here
- Start Camtasia screen recording.
- Invoke Mozilla Firefox. Wait for “installing updates”.
-
Triple-click on the URL to specify https://wilsonmar.github.io/windows
PowerShell
- Click Windows icon at the bottom of the screen.
- Cursor over the list of Programs and scroll down to the bottom of the programs list.
- Click on “Windows PowerShell” to expand the list.
- Right-click on “Windows PowerShell” to select “Run as Administrator”.
- Click “Yes” to “make changes to your device”.
-
When the PowerShell screen appears, expand it to full screen.
Make font larger
-
Click on the blue icon at the top of “Administrator: Windows PowerShell” to select Properties from the menu.
- Click the Font tab.
-
Click 18 instead of the default 12 point Size. Click OK.
- Click Colors tab.
-
Click the black color at the left of the list.
Install Chocolatey package manager
- Go to https://chocolatey.org/install#installing-chocolatey
-
Highlight and copy command from website for PowerShell:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))
-
Click on the PowerShell window and right-click to select Paste.
-
When done, refresh the environment for the PowerShell session:
refreshenv
-
clear screen.
Install Git package
-
Install Git client:
choco install git -y
-
clear screen.
Use Git Bash
1, Highlight and copy command from the git-basics website
https://wilsonmar.githbub.io/git-basics#gitbash
- At the lower-left corner of the screen, click the Windows icon for a menu.
-
Click “Git Bash”.
- Click the icon to select Options menu.
- Click “Text”.
- Click Font 12 (point).
-
Click Save to exit dialog.
- Click to expand screen full screen.
-
Paste
-
When done, refresh the environment for the PowerShell session:
refreshenv
- clear screen
Versions of Windows 10
See https://en.wikipedia.org/wiki/Windows_10_version_history and https://www.microsoft.com/en-us/itpro/windows-10/release-information
Keyboard settings
Do you get a double-quote “ instead of @ when you press shift-2?
-
First, try pressing left ALT + shift to see if the layout changes. This is the key to swap language setttings.
- Click the Windows icon on the keyboard.
- Click Settings.
- Click TIME & LANGUAGE.
- Click Region & Language.
- Select United States since the default is United Kingdom.
- Click X to exit dialog.
- Try typing again.
Dark Edge Browser
PROTIP: Use a Dark theme. That uses less electricity, doesn’t burn up screen, and is gentler on your eyes.
- Click the three dots at the upper right corner.
- Select Settings.
- Select Dark theme.
Networking
When a new Windows desktop is established, there is this dialog:
PROTIP: If you click “Recommended”, you’ll have to click “Add” many times. For example, go to Google.com and you’ll need to add several URLS:
- https://www.google.com
- https://apis.google.com
- https://ssl.google-analytics.com
- https://2542116.fls.doubleclick.net
- https://www.googleadservices.com
- Uncheck “Continue to prompt when website content is blocked”.
- Click “Close” button.
Install Cisco VPN
This is only needed within a corporate enterprise environment.
- Open an internet browser for the URL supplied.
- If there is a certificate issue, connect anyway.
- Type in your credentials.
- Save password.
- Click to install the Cisco AnyConnect Secure Mobile Client.
-
Click Run, accept license, etc. and Finish.
- Click the Windows key or click the omni-search box.
- Type VPN for Cisco AnyConnect Secure Mobile Client.
- PROTIP: You’ll be invoking the VPN a lot, so alt-click on it to Pin to Taskbar.
- In the client pop-up, enter the URL (usually with a port number).
-
If you see an error, see the Cisco’s Troubleshooting Guide.
- If “Untrusted VPN Server Blocked”, click Change Setting.
- Uncheck “Block connections to untrusted servers”.
- Switch back to the dialog with the URL and try again to Connect.
- Type in credentials when prompted.
- Close the download page.
Open Command Window
There are several ways to open a Command Window on Windows 10 or Windows 2016.
A). PROTIP: This is the easiest (to me):
-
Right-click the Windows “Start” icon at the lower-left corner
-
Select one:
- Command Prompt
- Command Prompt (Admin)
B). Pick from menu:
-
Click the Windows “Start” icon at the lower-left corner.
-
If the Command Prompt appears, right-click on it to Run as Administrator.
C). Type program:
-
Right-click the Windows “Start” icon at the lower-left corner
- Even though there is no form field, type cmd until Command Prompt appears in a list.
- Press Enter or click on the desired item.
While you’re there for the first time:
- Notice the default location is
C:\Users\Administrator
- Type
dir
to list folders.
Windows package Chocolatey
Install Chocoteley
- Open a Command Prompt as Administrator.
-
Copy this text and right-click on the command window:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
This is from the Chocolatey website at https://chocolatey.org
-
Press Enter to execute the line. The response should end with:
You can call choco from anywhere, command line or powershell by typing choco. Run choco /? for a list of functions. You may need to shut down and restart powershell and/or consoles first prior to using choco. Ensuring chocolatey commands are on the path Ensuring chocolatey.nupkg is in the lib folder
-
Type exit and press Enter to close the command window.
Install Chrome
- Click the Windows start logo.
- Right-click Command and select Run as Administrator.
-
Copy (or retype) this command:
choco install googlechrome -y
The expected response is:
The install of googlechrome was successful.
Alternately, download the Chrome browser installer from: https://www.google.com/chrome/browser/desktop/index.html
- PROTIP: Pin the icons to the taskbar, then remove icons from the Desktop.
-
Enter Chrome the first time. Select the default browser dialog opion.
Install Firefox
-
This:
choco install firefox -y
Alternately, manually download installer from https://www.mozilla.org/en-US/firefox/new/?icn=tabz
Install JDK
-
This:
choco install jdk8 -y
At time of wirting, the message was “Downloading from http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-windows-x64.exe”.
-
Exit and invoke cmd again to verify:
java -version
Sample response at time of writing:
java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Install Git for Windows
-
This:
choco install msysgit -y
- Click the Windows “start” icon.
-
“Git Bash” should appear among the application icons.
Additionally,
There is SourceTree free visual Git and Hg client for Mac and Windows
Install 7-zip
-
Install 7zip (instead of from http://7-zip.org/download.html)
choco install 7zip -y
PROTIP: After downloading .iso, I use 7-zip to expand the file into a regular folder.
Install Visual Studio
-
Install from https://chocolatey.org/packages?q=Visual+Studio
Specifically: https://chocolatey.org/packages/VisualStudio2017Community
choco install visualstudio2017community -y
NOTE: https://chocolatey.org/packages/VisualStudio2017Professional
- Type “exit” to exit the Command Prompt.
- Click the Microsoft Windows “start” icon to see the list of apps recently installed.
- If you will be using Visual Studio a lot, drag “Visual Studio 2017” and drop it on the Task Bar at the bottom of the screen.
- Double-click on a Visual Studio 2017 icon to open it.
- Click “Maybe later” or Sign-in to your Microsoft account.
-
The first time, select a theme and click “Start Visual Studio”.
Install Other Developer tools
Developoment:
- Python
- Ruby
- Node
Text editors:
- Notepad++
- Sublime Text
- Eclipse
File storage:
- Microsoft OneDrive
- Box.com
- Dropbox.com
Bin folder
- Create a C:\bin folder to hold programs accessed from the Windows command line.
- Specify that path in Environment Variables.
-
Put files in that folder (from cloud Google Driver, etc.)
- Putty for SSH into Linux machines
- WinSCP for exchanging files with Linux machines
- Windows Powertools
- zip.exe (WinZip licensed version)
- curl.exe (HTTP command line)
Invalid client-side certificate
If a website has a certificate warning such as this:
NOTE: This may be due to several root causes:
- Time and date settings incorrect on either the client or server.
- Anti-virus program (Kaspersky and BitDefender) is blocking the connection.
- SSL certificate name mismatch error.
- SSL certificate used is self-signed, is not issued by a trusted certificate authority (CA).
- SSL certificate is untrusted.
Firefox ignore add-on
https://addons.mozilla.org/en-US/firefox/addon/skip-cert-error/
Save certificate in Chrome
To avoid needing to click ADVANCED:
- Click on the broken certificate icon.
-
click the Details link that appears.
- Click View Certificate.
- Click tab Details tab.
- Click Copy to File for the Certificate Export Wizard.
- Click Next.
- Choose Cryptogragphic Message Syntax Standad - PKCS #7 cert.
- Click Browse to select the folder.
- Type a file name (such as itw-tfs2016) for the default .p7b file extension.
- Click Next. Click Finish.
-
Click OK to the successful pop-up.
- Use File Explorer to navigate to the file just created.
- Alt+click on the certificate file to choose Install Certificate.
- Click Next.
- Leave “Automatically select the cert store” and click Next.
- Click Finish.
-
Click OK to “The import was successful” pop-up.
-
Close Chrome and open it again to try the URL.
This time, you should only need to confirm the password saved by the browser.
-
You may have to export it as a der encoded binary x.509 instead and then when you import it bring it into the local machine.
Add client-side certificate in Chrome
- click include all servers in the cer path if possible
- click next
Sharing VMWare Fusion
This is only for VMWare Fusion instances:
- Click Enable Shared Folders.
- Check Downloads among Mirrored Folders.
- Click red X to exit.
- Click OK to confirm and log off and on again.
Office
- Office Professional Plus (x86 and x64) - DVD (English) 09/22/2015 from direct download from MSDN.
Communications
These are not needed if the machine is within a virtual box.
- Skype
- Slack
PowerShell Scripts
Windows Privacy
Set Windows 10 privacy settings by running a PowerShell script from https://github.com/MichiMunich/Windows10-Privacy/blob/master/scripts/Windows10_Privacy.ps1
Bash Scripts
In 2017, Microsoft enabled in Windows Bash Shell scripts previously only on Linux and MacOS.