How to install Windows 10

Preparation

You will need a USB-Drive with a minimum of 3GB free space.

Installation Files

Unlike previous versions of Windows, Microsoft has released a download tool.

  1. Download the tool from https://www.microsoft.com/en-us/software-download/windows10
  2. Attach the USB-Stick to your computer
  3. Start the tool and select your USB-Drive
  4. The tool will download the installation files and make the USB-Stick bootable.

Install Windows 10

Start your computer and boot from the USB-Drive During Installation you should not use “Express Settings” but instead use “customize settings” and take a close look at the different options. If you are upgrading a Windows 7 installation or Windows 10 has been previously installed on the computer Windows will not ask you for a Product-Key and does not need to be activated again.

Quick Program Setup

By using chocolatey you can quickly install most of the programs you need.

Install Chocolatey

  1. Open a cmd with Administrator Privileges (Windows Key > type “cmd” > Shift + Ctrl + Enter)
  2. Copy and Paste following script:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin 

Install your programs

  1. Visit the chocolatey site to find packages (http://www.chocolatey.org)
  2. Open a cmd with Administrator Privileges
  3. Create your own script that looks something like this:
  4. choco install -y googlechrome vlc skype 7zip

Optimizations

Remove Preinstalled Apps

If you are running Windows on a Desktop without any touch capabilities, you will probably have no use for certain features, like Cortana or those Apps in the Start menu. Some of these Apps you can remove using the control panel, however, Microsoft apps like “Mail” cannot be removed using the control panel. To remove them you need to using an elevated Powershell (Windows Key > “Powershell” > Ctrl-Shift-Enter)

To remove a package

Step 1

First List all available Packages Get-AppxPackage

Step 2

Use the name of the package, only one package should be selected Get-AppxPackage Microsoft.Windows.Photos

Step 3

Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage Note: It is not recommended to remove the Windows Store. It is rumored that you then cannot install anymore Windows updates after that.

Remove all Packages

As alternative run following command to remove all Apps (excluding the Windows Store). Get-AppxPackage -AllUsers | where-object {$_.name –notlike “\*store\*”} | Remove-AppxPackage

Note: This command may also remove components you actually would like to keep It is better to create a controlled powershell script to remove only the apps you do not want.

Disable UAC (User Account Control)

Assuming you are a power user and you know what you are doing with Windows. You can disable the User Account Control using the elevated Powershell console. With this oneliner, you can disable UAC on your computer.

Set-ItemProperty -Path HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\policies\\system -Name EnableLUA -Value 0

(Restart required)

Windows: Password Recovery

Sometimes you run into the problem that someone has forgotten their password for their home PC. As a good friend you are going to help them recover their password. Preparation

  1. Go over to http://ophcrack.sourceforge.net/ and download a Live CD with tables  (either for XP or Vista/7)
  2. Burn the CD with imgburn or create a USB-Boot disk with Universal Usb Installer

Password Recovery

  1. Start the computer by booting from the USB-stick/CD
  2. Ophcrack will launch immediately and try to crack the password by brute force
  3. If it does not work, click on the button “tables”
  4. Now click on the button “Install” and navigate to the tables directory on the CD or USB-drive (something like /media/usb-drive/tables)
  5. Enable the tables, it is going to take a while to load them into RAM
  6. Retry to crack the password.

Finishing up

Write down the password, restart the computer and log in. Change the password to something that a human being can remember.

Windows 7: Quick and optimized install (Update)

Let’s speed up my original installation by using a powershell script instead of manually configuring windows.

1. Install


1.1 Win 7 SP1 integrated

So for WinXP, you would have slipstreamed the Service Packs. But screw that we got broadband. Download an integrated Iso from: http://www.mydigitallife.info/official-windows-7-sp1-iso-from-digital-river/

1.2 USB Install

Installing from USB is usually faster than installing from a DVD.

  1. Copy all the contents of the Win7 ISO to an USB-Drive (3GB free space required).
  2. Right-click on “Computer” – > Manage and navigate to Disk Management
  3. Right-click on the Partition you copied the Win7 Files to and select “Mark Partition as Active”
  4. Plug the USB-Drive in the PC to be set up and boot from the USB-Drive.
  5. Install

Note: If you have a USB3-Port you may need additional drivers to install via USB.

1.3 Partitions

The sole purpose of Partitions is organization. However, you want to organize your files you create any number of partitions accordingly. Best Practice is to have at least 100GB of space for the Operating Install Partition so you have plenty of space to install more Programs. Note: To gain a speed advantage one must use multiple physical Hard drives and then configure the Swap Files. However, placing the Swap-file on the same physical disk will is not give any performance boost.

2. Initial Settings via Powershell


  • Open Powershell as Administrator
  • type  Set-ExecutionPolicy Unrestricted
  • Copy (and modify)  following Code into a new textfile

#Enable Windows Classic Theme
Write-Host "Enabling Classic Theme" & $env:Systemroot'\\Resources\\Ease of Access Themes\\classic.theme'
#Set Explorer Settings
Write-Host "Configuring Explorer-Settings"
$explorerKey = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'
Set-ItemProperty $explorerKey NavPaneShowAllFolders 1
Set-ItemProperty $explorerKey NavPaneExpandToCurrentFolder 1
Set-ItemProperty $explorerKey Hidden 1
Set-ItemProperty $explorerKey HideFileExt 0

#Set Taskbar Settings
Write-Host "Taskbar Settings"
Set-ItemProperty $explorerKey TaskbarSmallIcons 1
Set-ItemProperty $explorerKey TaskbarGlomLevel 1

#Disable Customer Experience Improvement Program
Set-ItemProperty 'HKLM:\SOFTWARE\Microsoft\SQMClient\Windows' CEIPEnable 0

#Desktop Items
Write-Host "Display Icons"
$desktopKey = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons'
new-item -path $desktopKey
new-item -path $desktopKey\ClassicStartMenu
new-item -path $desktopKey\NewStartPanel
new-ItemProperty -path $desktopKey\ClassicStartMenu -name '{20D04FE0-3AEA-1069-A2D8-08002B30309D}' -value 0
new-ItemProperty -path $desktopKey\ClassicStartMenu -name '{59031a47-3f72-44a7-89c5-5595fe6b30ee}' -value 0
new-ItemProperty -path $desktopKey\ClassicStartMenu -name '{645FF040-5081-101B-9F08-00AA002F954E}' -value 0

new-ItemProperty -path $desktopKey\NewStartPanel -name '{20D04FE0-3AEA-1069-A2D8-08002B30309D}' -value 0
new-ItemProperty -path $desktopKey\NewStartPanel -name '{59031a47-3f72-44a7-89c5-5595fe6b30ee}' -value 0
new-ItemProperty -path $desktopKey\NewStartPanel -name '{645FF040-5081-101B-9F08-00AA002F954E}' -value 0

#Disable Remote Assistance
Set-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Remote Assistance' fAllowToGetHelp 0

#Restart Explorer
Stop-Process -processname explorer

#Disable UAC
Write-Host "Disabling User Account Control (UAC)"
Set-ItemProperty 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' EnableLUA 0
Write-Host "System needs to be rebooted"
#Disable Services
#Windows Search
(gwmi win32_service -filter "name='WSearch'").ChangeStartMode("Disabled")

#Windows Features
DISM /Online /Disable-Feature /FeatureName:WindowsGadgetPlatform
DISM /Online /Disable-Feature /FeatureName:TabletPCOC /NoRestart
DISM /Online /Disable-Feature /FeatureName:Printing-XPSServices-Features /NoRestart
DISM /Online /Disable-Feature /FeatureName:Xps-Foundation-Xps-Viewer /NoRestart
DISM /Online /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /NoRestart
DISM /Online /Disable-Feature /FeatureName:MediaCenter /NoRestart
DISM /Online /Disable-Feature /FeatureName:OpticalMediaDisc /NoRestart
DISM /Online /Disable-Feature /FeatureName:WindowsMediaPlayer /NoRestart
  • Save as “windowsConfig.ps1” at C:\
  • In Powershell execute C:\windowsConfig.ps1 (works only with full path)
  • Useful Services Configuration Black Vipers Guide

3. Applications


3.1 Internet Explorer 9

To prevent downloads of unneeded updates, install IE9 prior to running windows update. IE9 Download

3.1 Ninite

Visit www.ninite.com you can choose from a selection of free programs and then download an automatic installer.

That’s all folks!!!

Speed Up Windows 7 How to Tweaking Windows 7 for Maximum Performance The Ultimate Guide to Speed up Windows 7

Windows 7: Quick and Optimized Install

Here are my notes on how I would set up Windows 7 as quickly as possible.

You can download the original Windows 7 Iso files from here Of course this guide is based on my personal biases and is only minimally optimized but should still help you to speed up a manual install and automate the configuration of Windows 7.

1. Install

1.1 USB Install

Installing from USB is usually faster than installing from a DVD.

  1. Copy all the contents of the Win7 ISO to an USB-Drive (3GB free space required).
  2. Right-click on Computer” – > Manage and navigate to Disk Management
  3. Right-click on the Partition you copied the Win7 Files to and select Mark Partition as Active
  4. Plug the USB-Drive in the PC to be set up and boot from the USB-Drive.
  5. Install

Note: If you have a USB3-Port you may need additional drivers to install via USB.

1.2 Partitions

The sole purpose of Partitions is organization. However, you want to organize your files you create any number of partitions accordingly. Best Practice is to have at least 100GB of space for the Operating Install Partition so you have plenty of space to install more Programs. Note: To gain a speed advantage one must use multiple physical Hard drives and then configure the Swap Files. However, placing the Swap-file on the same physical disk will is not give any performance boost.

2. Initial Settings

2.1 GodMode

To gain access to all configuration panels create a folder and rename it to:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Open the Folder and you have Quick Access to all Panels currently available

ItemAction
Action Center
Change Customer Experience Improvement Program settingsDisable
Change User Account Control SettingsNever
Administrative Tools
View local servicesWindows Search (Disable)Read: Useful Services Configuration Black Vipers Guide
Folder Options
Show or hide file extensionsShow extensions
Personalization
Enable or disable transparent glass on windowsDeactivate
Show or hide common icons on the desktopShow User Files, Show Computer
Programs and Features
Turn Windows features on or offTablet PC Components (off)Windows Gadget Platform (off)(Restart Required)
System
Activate WindowsInsert Key – Activate Windows
Adjust the appearance and performance of WindowsMostly Personal Preferences for max Performance disable all
Allow remote access to your computerDeactivate Allow Remote Assistance connections
Taskbar and Start Menu
Customize the Start menu(Personal Preference) Small Icons enables “old Windows” look and feel

2.2 Drivers

Most devices get a significant performance boost when the newest drivers are installed. The newest drivers usually can be downloaded from the hardware vendors support websites. For tweaked graphics drivers for Nvidia and ATI, you can visit Omega drivers (Not officially supported by Nvidia or ATI) Further manual tweaking can be done with RivaTuner

3. Applications

3.1 Internet Explorer 9

To prevent downloads of unneeded updates, install IE9 prior to running windows update. IE9 Download

3.1 Ninite

Visit www.ninite.com you can choose from a selection of free programs and then download an automatic installer. The free to use section only downloads the 32bit version of the programs. In some cases e.g 7-zip it is better just to download the proper version and install it manually. Current Favorite Selection

Application
Web browsersChrome
MessagingSkype Thunderbird
MediaiTunes VLC Winamp Quicktime
RuntimesFlash Flash (IE) Java
SecurityAvast Spybot
OtherDropbox Steam
UtilitiesTeamViewer ImgBurn CCleaner TeraCopy
Compression7zip
Developer ToolsPhyton FileZilla Notepad++ Eclipse

4. Clean Up

4.1 Windows Update

Run Windows Update several times to get the newest updates If Service Pack 1 was installed run in the Command Prompt:

dism /online /cleanup-image /spsuperseded

to remove unneeded backup files.

That’s all folks!!!

Speed Up Windows 7 How to Tweaking Windows 7 for Maximum Performance The Ultimate Guide to Speed up Windows 7

Windows: Remove Security Warning Message from Downloaded Files

You know what you are doing and have antivirus installed, are not downloading crap and hate useless security warnings nobody reads?

Single File

Well, no there is no easy way. Windows marks the Files with “Zone”-Information.

For every single file in the “Properties-Menu”, one must select Unblock.

Permanently Disable

To prevent the Zone Information to be added to future Downloads – Open gpedit.msc (Run as Admin) Navigate to User Configuration > Administrative Templates > Windows Components > Attachment Manager Enable “Do not preserve zone information in file attachments”

In CMD execute gpupdate /force or restart Computer.