Wilson Mar bio photo

Wilson Mar

Hello. Hire me!

Email me Calendar Skype call 310 320-7878

LinkedIn Twitter Gitter Google+ Youtube

Github Stackoverflow Pinterest

How I setup my Windows UI look and feel


Overview

Here is how I setup a Windows 10 client on my laptop.

NOTE: 64-bit programs install to C:\Program Files.

Versions of Windows 10

See https://en.wikipedia.org/wiki/Windows_10_version_history

In MSDN.com, “1511” became available 3/30/2016.

“1709” “Fall Creators”, is expected October 17, 2017

TODO: PowerShell script to automate these manual commands.

Keyboard settings

Do you get a double-quote “ instead of @ when you press shift-2?

  1. First, try pressing left ALT + shift to see if the layout changes. This is the key to swap language setttings.

  2. Click the Windows icon on the keyboard.
  3. Click Settings.
  4. Click TIME & LANGUAGE.
  5. Click Region & Language.
  6. Select United States since the default is United Kingdom.
  7. Click X to exit dialog.
  8. Try typing again.

Dark Edge Browser

PROTIP: Use a Dark theme. That uses less electricity, doesn’t use us the screen as quickly, is gentler on your eyes.

  1. Click the three dots at the upper right corner.
  2. Select Settings.
  3. 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

win10-ie-unblock-389x357-131805

  1. Uncheck “Continue to prompt when website content is blocked”.
  2. Click “Close” button.

Install Cisco VPN

This is only needed within a corporate enterprise environment.

  1. Open an internet browser for the URL supplied.
  2. If there is a certificate issue, connect anyway.
  3. Type in your credentials.
  4. Save password.
  5. Click to install the Cisco AnyConnect Secure Mobile Client.
  6. Click Run, accept license, etc. and Finish.

  7. Click the Windows key or click the omni-search box.
  8. Type VPN for Cisco AnyConnect Secure Mobile Client.
  9. PROTIP: You’ll be invoking the VPN a lot, so alt-click on it to Pin to Taskbar.
  10. In the client pop-up, enter the URL (usually with a port number).
  11. If you see an error, see the Cisco’s Troubleshooting Guide.

  12. If “Untrusted VPN Server Blocked”, click Change Setting.
  13. Uncheck “Block connections to untrusted servers”.
  14. Switch back to the dialog with the URL and try again to Connect.
  15. Type in credentials when prompted.
  16. 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):

  1. Right-click the Windows “Start” icon at the lower-left corner

    win10-start-right-227x596-44691.jpg

  2. Select one:

    • Command Prompt
    • Command Prompt (Admin)

B). Pick from menu:

  1. Click the Windows “Start” icon at the lower-left corner.

  2. If the Command Prompt appears, right-click on it to Run as Administrator.

    win10-cmd-icon-561x163-36424

C). Type program:

  1. Right-click the Windows “Start” icon at the lower-left corner

  2. Even though there is no form field, type cmd until Command Prompt appears in a list.
  3. Press Enter or click on the desired item.

While you’re there for the first time:

  1. Notice the default location is C:\Users\Administrator
  2. Type dir to list folders.

Windows package Chocolatey

Install Chocoteley

  1. Open a Command Prompt as Administrator.
  2. 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

  3. 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
    
  4. Type exit and press Enter to close the command window.

    Install Chrome

  5. Click the Windows start logo.
  6. Right-click Command and select Run as Administrator.
  7. 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

  8. PROTIP: Pin the icons to the taskbar, then remove icons from the Desktop.
  9. Enter Chrome the first time. Select the default browser dialog opion.

    Install Firefox

  10. This:

    choco install firefox -y

    Alternately, manually download installer from https://www.mozilla.org/en-US/firefox/new/?icn=tabz

    Install JDK

  11. 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”.

  12. 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

  13. This:

    choco install msysgit -y </tt>

  14. Click the Windows “start” icon.
  15. “Git Bash” should appear among the application icons.

    win10-git-menu-109x143-13317

    Additionally,

    There is SourceTree free visual Git and Hg client for Mac and Windows

    Install 7-zip

  16. 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

  17. 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

  18. Type “exit” to exit the Command Prompt.
  19. Click the Microsoft Windows “start” icon to see the list of apps recently installed.
  20. 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.
  21. Double-click on a Visual Studio 2017 icon to open it.
  22. Click “Maybe later” or Sign-in to your Microsoft account.
  23. 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

  1. Create a C:\bin folder to hold programs accessed from the Windows command line.
  2. Specify that path in Environment Variables.
  3. 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:

  1. Click on the broken certificate icon.
  2. click the Details link that appears.

  3. Click View Certificate.
  4. Click tab Details tab.
  5. Click Copy to File for the Certificate Export Wizard.
  6. Click Next.
  7. Choose Cryptogragphic Message Syntax Standad - PKCS #7 cert.
  8. Click Browse to select the folder.
  9. Type a file name (such as itw-tfs2016) for the default .p7b file extension.
  10. Click Next. Click Finish.
  11. Click OK to the successful pop-up.

  12. Use File Explorer to navigate to the file just created.
  13. Alt+click on the certificate file to choose Install Certificate.
  14. Click Next.
  15. Leave “Automatically select the cert store” and click Next.
  16. Click Finish.
  17. Click OK to “The import was successful” pop-up.

  18. Close Chrome and open it again to try the URL.

    This time, you should only need to confirm the password saved by the browser.

  19. 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

  20. click include all servers in the cer path if possible
  21. click next

Sharing VMWare Fusion

This is only for VMWare Fusion instances:

  1. Click Enable Shared Folders.
  2. Check Downloads among Mirrored Folders.
  3. Click red X to exit.
  4. Click OK to confirm and log off and on again.

Office

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.