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 laptop


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

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

After downloading .iso, I use 7-zip to expand the file into a regular folder.

Install Cisco VPN

  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.

Operating System 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.

Desktop settings

Sharing

This is only for VMWare 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.

Edge Browser settings

  1. Click the three dots at the upper right corner.
  2. Select Settings.
  3. PROTIP: Select Dark theme. That uses less electricity, doesn’t use us the screen as quickly, is gentler on your eyes.

Chrome browser programs

  1. Firefox from https://www.mozilla.org/en-US/firefox/new/?icn=tabz
  2. Chrome from https://www.google.com/chrome/browser/desktop/index.html?hl=en

    PROTIP: Pin the icons to the taskbar, then remove icons from the Desktop.

  3. Enter Chrome the first time. Select the default browser dialog opion.

Windows package Chocolatey

  1. Chocolatey from https://chocolatey.org/
  2. Copy text @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
  3. Click the Windows logo.
  4. Type command
  5. Alt-click Command and select Run as Administrator.
  6. Paste (press Ctrl+V) and press Enter.

Install these using Chocolatey when Run as Administrator:

  1. cinst 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”.

  2. cinist 7zip -y (instead of from http://7-zip.org/download.html)

  3. Box.com
  4. Dropbox.com
  5. Microsoft OneDrive
  6. Amazon

  7. Type exit and press Enter.

Utilities

Bin folder on Environment Variable Path

  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:

  4. Putty for SSH into Linux machines
  5. WinSCP
  6. Windows Powertools

Communications

These are not needed if the machine is within a virtual box.

  1. Skype
  2. Slack

Install Visual Studio

Visual Studio 2015 = version 14.0

  1. Since March 30, 2016, in MSDN Subscriptions we want to download Visual Studio 2015 Web Installer (x86 and x64)

    Enterprise has testing tools over the Professional edition.

    “with Update 2” means cumulative including Update 1.

    The Web Installer is a smaller exe.

    https://msdn.microsoft.com/subscriptions/json/GetDownloadRequest?brand=MSDN&locale=en-us&fileId=67806&activexDisabled=true&akamaiDL=false

  2. Uncheck. These can be added later.
  3. Wait for the Acquiring and Applying to finish. May take several hours.

  4. Press Esc or provide email address tied to your license.
  5. Wait for “Preparing for first use”.

  6. Click Open from Source Control from the Start list at the left.

  7. Click Manage connections under the Team Explorer - Connect that opens up.
  8. Click Connect to Team Project when that pops up.
  9. Click Servers, then Add.
  10. Select HTTPS.

  11. If you get “TF31002 unable to connect”, click on the Cisco icon to verify that you’re connected.

    Microsoft’s article listing possible problems

    This may occur if you’re not a member of a TFS security group, and need to be added to one.

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

  1. click include all servers in the cer path if possible
  2. click next

Developer

Install using Chocolatey:

  1. cinst msysgit -y (Git client with command line)

Install otherwise:

  1. Python
  2. Ruby

  3. cinist node

  4. Sublime Text
  5. Eclipse

  6. Command-line tools